Solid state equipment has operational characteristics differing from those of
electromechanical equipment. Safety Guidelines for the Application,
Installation and Maintenance of Solid State Controls, publication SGI-1.1,
available from your local Rockwell Automation sales office or online at
http://www.literature.rockwellautomation.com), describes some important
differences between solid state equipment and hard-wired electromechanical
devices. Because of this difference, and also because of the wide variety of
uses for solid state equipment, all persons responsible for applying this
equipment must satisfy themselves that each intended application of this
equipment is acceptable.
In no event will Rockwell Automation, Inc. be responsible or liable for
indirect or consequential damages resulting from the use or application of
this equipment.
The examples and diagrams in this manual are included solely for illustrative
purposes. Because of the many variables and requirements associated with
any particular installation, Rockwell Automation, Inc. cannot assume
responsibility or liability for actual use based on the examples and diagrams.
No patent liability is assumed by Rockwell Automation, Inc. with respect to
use of information, circuits, equipment, or software described in this manual.
Reproduction of the contents of this manual, in whole or in part, without
written permission of Rockwell Automation, Inc. is prohibited.
Throughout this manual, when necessary we use notes to make you aware of
safety considerations.
WARNING
IMPORTANT
ATTENTION
SHOCK HAZARD
BURN HAZARD
Identifies information about practices or circumstances
that can cause an explosion in a hazardous environment,
which may lead to personal injury or death, property
damage, or economic loss.
Identifies information that is critical for successful
application and understanding of the product.
Identifies information about practices or circumstances
that can lead to personal injury or death, property
damage, or economic loss. Attentions help you:
• identify a hazard.
• avoid a hazard.
• recognize the consequence.
Labels may be located on or inside the equipment (for
example, drive or motor) to alert people that dangerous
voltage may be present.
Labels may be located on or inside the equipment (for
example, drive or motor) to alert people that surfaces may
be dangerous temperatures.
Summary of Changes
The information below summarizes the changes to this manual since
the last printing.
To help you find new and updated information in this release of the
manual, we have included change bars as shown to the right of this
paragraph.
ForSee page
Updated list of related publicationsP-2
Updated memory module location on circuit board2-2
Availability of 1747-M3 and 1747-M4 memory modules3-4
Updated battery location on circuit board3-1, C-2
Revised JW1 jumper illustration3-2
Revised JW2 jumper illustration3-3
Revised JW3 jumper illustration3-4
Revised JW4 jumper illustration3-5
SLC, SLC 500, Allen-Bradley, and Rockwell Automation are trademarks of Rockwell Automation, Inc.
Trademarks not belonging to Rockwell Automation are property of their respective companies.
Publication 1746-UM004B-EN-P - December 2005
2 Summary of Changes
Notes:
Publication 1746-UM004B-EN-P - December 2005
Module and Development
Software Overview
Table of Contents
Preface
Who Should Use This Manual . . . . . . . . . . . . . . . . . . . . . . P-1
Read this preface to familiarize yourself with the rest of the manual.
This preface covers the following topics.
• Who should use this manual
• The purpose of this manual
• How to use this manual
• Terms and abbreviations
• Conventions used in this manual
Who Should Use This
Manual
Purpose of This Manual
Use this manual if you are responsible for designing, installing,
programming, or troubleshooting control systems that use SLC 500
programmable controllers.
You should have a basic understanding of electrical circuitry and
familiarity with relay logic. If you do not, obtain the proper training
before using this product.
This manual is a reference guide for the design and installation of the
SLC 500 BASIC and BASIC-T modules. It describes the procedures for
installing and using the modules.
ChapterTitleContents
PrefaceDescribes the purpose, background, and scope of this
manual. Also lists related publications.
1Module and
Development
Software Overview
2Component SelectionExplains and illustrates how to select memory modules,
Explains the hardware and software features.
network configurations, and modems for your
application.
3Install and Wire your
Module
4Programming
Overview
Appendix ASpecificationsPresents the modules’ specifications.
Appendix BWorksheetsDescribes how to set the module for proper functioning.
Appendix CLithium Battery
Replacement,
Handling, and
Disposal
1Publication 1746-UM004B-EN-P - December 2005
Provides installation procedures and wiring guidelines.
Provides information needed to program your module.
Provides important information for the replacement,
handling, and disposal of lithium batteries.
2 Preface
Related Documentation
The following documents contain additional information regarding
Rockwell Automation products.
ForReadPublication Number
A BASIC language reference manual that describes BASIC
commands, CALLS, and functions
A programming manual with detailed instructions on installing and
using BASIC development software to program the BASIC and
BASIC-T module.
An overview of the SLC 500 family of productsSLC 500 System Overview1747-SO001
A description of how to install and use a Modular SLC 500
processor
A reference manual that contains status file data and instruction
set information for SLC 500 controllers
A description of how to install and use a module that acts as a
bridge between DH485 networks and devices requiring DF1
protocol.
In-depth information on grounding and wiring Allen-Bradley
programmable controllers
A glossary of industrial automation terms and abbreviationsAllen-Bradley Industrial Automation
An article on wire sizes and types for grounding electrical
equipment
BASIC Language Reference Manual1746-RM001
BASIC Development Software
Programming Manual
Modular Hardware Style Installation
and Operation Manual
SLC 500 Instruction Set Reference
Manual
DH485/RS-232C Interface Module
User’s Manual
Allen-Bradley Programmable
Controller Grounding and Wiring
Guidelines
Glossary
National Electric CodePublished by the National
1746-PM001
1747-UM011
1747-RM001
1747-UM005
1770-4.1
AG-7.1
Fire Protection Association
of Boston, MA
How to Use This Manual
Publication 1746-UM004B-EN-P - December 2005
If you would like a manual, you can:
• download a free electronic version from the internet at
www.literature.rockwellautomation.com.
• purchase a printed manual by contacting your local distributor
or Rockwell Automation representative.
To use this manual effectively, use the worksheets provided in
Appendix B. The worksheets can help you document your application
and settings and also facilitate the flow of information to other
individuals in your organization for implementation.
Preface 3
Terms and Abbreviations
Conventions Used in This
Manual
The following terms and abbreviations are specific to this product. For
a complete listing of Allen-Bradley terminology, refer to the
Allen-Bradley Industrial Automation Glossary, publication ICCG-7.1.
• Module - SLC 500 BASIC and BASIC-T modules (catalog
numbers 1746-BAS and 1746-BAS-T)
• BASIC development software - BASIC Development Software
(catalog number 1747-PBASE)
• DH485 - network communication protocol
• EPROM - Erasable Programmable Read Only Memory
• MTOP - system control value that holds the last valid memory
address
• RS-232/423 - serial communication interface
• RS-422 - differential communication interface
• RS-485 - network communication interface
• SLC 500 - SLC 500 fixed and modular controller
The following conventions are used throughout this manual.
• Bulleted lists such as this one provide information, not
procedural steps.
• Numbered lists provide sequential steps or hierarchical
information.
• Bold type is used for emphasis.
• Text in this font indicates words or phrases you should type.
Publication 1746-UM004B-EN-P - December 2005
4 Preface
Publication 1746-UM004B-EN-P - December 2005
Chapter
1
Module and Development Software Overview
This chapter introduces you to the SLC 500 BASIC and BASIC-T
modules and the BASIC development software. After reading this
chapter you should be familiar with the:
• module components and features.
• BASIC development software features.
• typical configurations of the module.
• module hardware specifications.
• module-related products.
Overview
The module and the development software provide the following
benefits.
• Easy data collection from user devices
• Integrated program debugging environment
• Operator interface capabilities
• Flexible program and data storage options
• High-level math
• Clock/calendar
• High-level programming environment
• Extensive online help system
• Easy access to editor functions through user interface
• Advanced text editor windows
TIP
The 1746-BAS-T module is a higher-speed version of
the 1746-BAS module with identical hardware
features. The modules can be interchanged, except
that the 1746-BAS-T module uses different (optional)
memory modules. Due to the high speed of the
1746-BAS-T module, existing programs written for
the 1746-BAS module may require adjustment for
identical operation using the faster 1746-BAS-T
module.
1Publication 1746-UM004B-EN-P - December 2005
1-2 Module and Development Software Overview
BASIC and BASIC-T
Modules
The modules are single-slot modules that reside in a SLC 500 fixed or
modular controller chassis. Use the module as
:
• a foreign device interface.
• an operator interface.
Figure 1.1 Module with Door Open
BASIC
5
4
3
2
1
5
4
3
2
1
PR T1
PR T2
9
8
7
6
9
8
7
6
BASIC-T
5
4
3
2
1
5
4
3
2
1
PR T1
PR T2
9
8
7
6
9
8
7
6
DH485
DH485
Hardware Features
The module provides the following hardware features.
• 24 KB of battery backed RAM for storage of user programs and
data
• Capacitive backup of RAM during battery change
• Socket for a standard 1747-M1, M2, M3, or M4 memory module
(1746-BAS module) for nonvolatile storage of user programs
• Socket for a 1771-DBMEM1 or -DBMEM2 memory module
(1746-BAS-T module) for nonvolatile storage of user programs
• Battery-backed, 24-hour clock/calendar
• Free-running clock with 5 ms resolution
• Two isolated 9-pin D-shell serial ports (PRT1 and PRT2) that
provide RS-232/423, RS-422, and RS-485 communication with
I/O devices
• One PRT2 port provides DF1 full-duplex or half-duplex slave
protocol for SCADA applications
• One RJ-45 port (DH485) that provides communication over the
DH485 network
• Multiple LED indicators for operator interface
• SLC 500 backplane interface
Publication 1746-UM004B-EN-P - December 2005
Module and Development Software Overview 1-3
Software Features
The module provides the following software features.
• BASIC programming with the Intel BASIC-52 language and
enhancements
• SLC 500 backplane data read and write support including image
table transfers and M0 and M1 file transfers
• Execution of programs from memory modules
• String manipulation support
• DH485 network support
• DF1 protocol support
• Full set of trigonometric function instructions
• Floating point calculations and conversion
• Extensive call libraries
Module Communication Ports
There are three communication ports on the front of the module. The
location, name, and pin numbers of these ports are listed on the
inside of the module door. They are:
• PRT1 - Used to interface the module with user devices. This port
is a serial port that accommodates RS-232/423, RS-422, and
RS-485 communication modes. Port PRT1 is capable of operating
full-duplex at 300, 600, 1200, 2400, 4800, 9600, and 19200 Kbps.
The default settings are 1200 Kbps, RS-232/423 communications.
• PRT2 - Used to interface the module with user devices or a
modem using DF1 protocol. This port is a serial port that
accommodates RS-232/423, RS-422, and RS-485 communication
modes. Port PRT2 is capable of operating full-duplex at 300, 600,
1200, 2400, 4800, 9600, and 19200 Kbps.
• DH485 - Used to interface the module with the DH485 network.
This port is not isolated and cannot directly drive the DH485
network. You must use a 1747-AIC link coupler to link port
DH485 with the DH485 network.
IMPORTANT
When DF1 protocol is selected on port PRT2, DH485
communications are disabled.
Publication 1746-UM004B-EN-P - December 2005
1-4 Module and Development Software Overview
Module LED Indicators
There are eight LED indicators on the front of the module. These LED
indicators are used for module diagnostics and operator interface.
Figure 1.2 Module LEDs
BASIC
ACT
485
PR T1
PR T2
FAULT
BA LOW
LED1
LED2
LEDColorStatusIndication
ACTGreenONThe module is receiving power from the backplane and is
executing BASIC code.
BlinkingThe module is in Command mode.
OFFThe module is not receiving power from the backplane. A
fault condition exists.
485GreenONPort DH485 on the module is active for communication.
OFFPort DH485 on the module is not active for communication.
PRT1GreenBlinkingPort PRT1 on the module is transmitting or receiving signals.
OFFPort PRT1 on the module is not transmitting or receiving
signals.
PRT2GreenBlinkingPort PRT2 on the module is transmitting or receiving signals.
Publication 1746-UM004B-EN-P - December 2005
OFFPort PRT2 on the module is not transmitting or receiving
signals.
FAULTRedONA system problem was detected during background
diagnostics. Contact your local Allen-Bradley representative.
OFFNo system problems are detected during background
diagnostics.
BA LOWRedONThe voltage of the battery that backs up RAM is low. A new
battery is needed.
OFFThe voltage of the battery that backs up RAM is at an
acceptable level.
LED1AmberONUser definable. LED activated through the user program.
OFFUser definable. LED deactivated through the user program.
LED2AmberONUser definable. LED activated through the user program.
OFFUser definable. LED deactivated through the user program.
Module and Development Software Overview 1-5
BASIC Development
Software (1747-PBASE)
The BASIC development software provides the user with a structured
and efficient means to create BASIC programs for the module. This
software is loaded into a an MS-DOS compatible personal computer. It
uses the personal computer to facilitate editing, compiling
(translating), uploading, and downloading of BASIC programs.
The BASIC development software has a menu-driven, window-type
environment that offers:
• pull-down menus to access all editor functions.
• function key access to frequently used functions.
• multiple window editing.
• cut and paste support between windows.
• search and replace support.
• search between files support.
• built-in calculator that can paste results into your program.
• ASCII look-up table.
• line draw editor to create operator interface images without
having to enter ASCII characters.
• keystroke macros.
• undo and redo functions.
• extensive help messages for each menu, menu option, and for
keywords embedded in the menu text.
• capability to create user-defined macro libraries.
• sophisticated debug tools including watch windows, single-step
operation, and go to cursor breakpoint operation.
• syntax checked translations to native BASIC to reduce debug
time.
• BASIC translator that steps through the BASIC program and
identifies errors.
• ASCII terminal mode.
• hex file transfer support.
The development software enables you to program the module from a
personal computer connected to either the module’s DH485 or PRT1
ports. The software allows direct access to the module through
terminal emulation over an RS-232/423 or DH485 network.
Refer to the BASIC Development Software Programming Manual,
publication 1746-PM001, for additional information on the software.
Publication 1746-UM004B-EN-P - December 2005
1-6 Module and Development Software Overview
Typical Configurations
The typical configuration of the SLC system that incorporates your
BASIC or BASIC-T module depends on whether the module is:
• integrated with a SLC 500 fixed or modular controller.
• programmed directly with an ASCII terminal or programmed
using a personal computer with the BASIC development
software, 1747-PBASE.
• communicating with a DH485 network or with an external
source through a modem using DF1 protocol.
Module Integration
The module is a single-slot module that is inserted into a slot in the
expansion chassis of your SLC 500 fixed controller or an open slot in
the 1746 I/O chassis of your SLC 500 modular controller. The module
may be inserted in any slot of the 1746 I/O chassis except the first slot
of the first chassis, which is reserved for the SLC modular processor.
Typical SLC fixed and modular configurations are shown in the
following figures.
Publication 1746-UM004B-EN-P - December 2005
Figure 1.3 Typical Configurations
SLC 500 Fixed Controller
Module and Development Software Overview 1-7
BASIC
Slot
Filler
or
BASIC-T
Module
Power SupplySLC 500
Modular
Processor
Input
Module
BASIC
or
BASIC-T
Module
Output
Module
Module Programming Interface
Your module can be programmed using an ASCII terminal with ASCII
terminal emulation software. You can also use a personal computer
with the BASIC development software (catalog number 1747-PBASE).
Use an ASCII terminal to enter a BASIC program one line at a time to
the module. Use a personal computer with the BASIC development
software to create a BASIC program that is then downloaded to your
module. Typical programming interface configurations include:
• ASCII terminal interface - Figure 1.4.
• BASIC development software interface (RS-232) - Figure 1.5.
• BASIC development software interface (DH485) - Figure 1.6.
Publication 1746-UM004B-EN-P - December 2005
1-8 Module and Development Software Overview
ASCII Terminal Interface
Use an ASCII terminal to enter a BASIC program one line at a time to
your module through port PRT1. The ASCII terminal connected to the
module must be an industrial terminal, workstation, or personal
computer (without the BASIC development software) that
communicates in alphanumeric mode. An ASCII terminal can also be
used to display charts or graphs generated by the BASIC program.
Figure 1.4 shows a typical ASCII terminal interface.
Figure 1.4 Module ASCII Terminal Interface
Null Modem
Cable
ASCII Terminal or Personal
Computer Running ASCII
Terminal Emulation Software
SLC 500 Controller with BASIC or BASIC-T Module
In this configuration, the RS232 port on the back of your industrial
terminal or personal computer is connected to port PRT1 on your
module. Port PRT1 must be configured as the program port.
See Chapter 3 for additional information on port configuration.
BASIC Development Software Interface (RS232)
Use a personal computer with the BASIC development software
(PBASE) to create a BASIC program that is then downloaded to your
module. PBASE provides an efficient means to edit, compile
(translate), upload, and download BASIC programs. Refer to the
BASIC Development Software Programming Manual, publication
1746-PM001, for additional information on this software.
Publication 1746-UM004B-EN-P - December 2005
Module and Development Software Overview 1-9
Figure 1.5 BASIC Development Software Interface (RS-232)
Null Modem
Cable
Personal Computer with BASIC
Development Software
SLC 500 Controller with BASIC or BASIC-T Module
In this configuration, the serial port on the personal computer is
connected to port PRT1 on the module. The personal computer
communicates with the module through terminal emulation over an
RS-232 interface. Port PRT1 must be configured as the program port.
See Chapter 3 for additional information on port configuration.
IMPORTANT
When using the BASIC development software to
interface with the RS-232 port of the module, PBASE
must be configured for RS-232 communication
through the configuration and terminal selection
menus. Refer to the BASIC Development Software
Programming Manual, publication 1746-PM001, for
additional information.
BASIC Development Software Interface (DH485)
In this configuration, the serial port on the personal computer
interfaced with port DH485 on the module through a 1747-PIC
interface/converter. Port DH485 must be configured as the program
port with DH485 protocol.
See Chapter 3 for additional information on port configuration.
Figure 1.6 BASIC Development software Interface (DH485)
Interface/Converter
RS-232 to RS-485
Catalog Number 1747-PIC
ASCII Terminal or Personal
Computer Running ASCII
Terminal Emulation Software
SLC 500 Controller
with BASIC or
BASIC-T Module
Publication 1746-UM004B-EN-P - December 2005
1-10 Module and Development Software Overview
The 1747-PIC interface/converter converts the RS-232 signals from the
personal computer RS-232 serial port to RS-485 format.
IMPORTANT
When using the BASIC development software to
interface with port DH485 of the module, PBASE
must be configured for DH485 communication
through the configuration and terminal selection
menus. Refer to the BASIC Development Software
Programming Manual, publication 1746-PM001, for
additional information.
Module Network Configurations
Your module may communicate with a DH485 network or it can
communicate with a remote device through a modem using the DF1
protocol. When DF1 protocol is used on PRT2, port DH485 is
disabled.
Typical communication configurations are shown in the following
figures.
• DH485 network configurations - Figure 1.7 and Figure 1.8
• DF1 protocol configuration - Figure 1.8
ATTENTION
Do not place the module on an active DH485
network until the node address and communication
rate of the module are configured. Refer to the
BASIC Language Reference Manual, publication
1746-RM001, for additional information on setting the
module node address and communication rate.
Figure 1.7 shows the module interfaced with a DH485 network
through a 1747-AIC isolated link coupler.
The link coupler also provides an interface to the DH485 network for
a personal computer with the BASIC Development Software.
Publication 1746-UM004B-EN-P - December 2005
Module and Development Software Overview 1-11
Figure 1.7 DH485 Network Configuration
SLC 500
Controller
Communication
(Belden #9842)
Personal Computer with BASIC
Development Software
DH485
Cable
Interface/Converter
RS-232 to RS-485
Catalog Number 1747-PIC
1747-C11 Cable
SLC 500 Controller
with BASIC or
BASIC-T Module
1747-C11 Cable
1747-C10 Cable
The 1747-PIC interface/converter converts the RS-232 signals from the
personal computer RS-232 serial port to RS-485 format. The 1747-AIC
link coupler links the converted signals with the DH485 network and
port DH485 on the module. Port DH485 must be configured as the
program port in order to communicate with PBASE software via the
DH485 network.
See Chapter 3 for additional information on port configuration.
IMPORTANT
Each module requires a link coupler port to interface
it with the DH485 network.
When using the BASIC development software to
interface with the module, the BASIC development
software must be configured for DH485
communication through the configuration and
terminal selection menus. Refer to the BASIC
Development Software Programming Manual,
publication 1746-PM001, for additional information.
Publication 1746-UM004B-EN-P - December 2005
1-12 Module and Development Software Overview
SLC 500
Controller with
BASIC or
BASIC-T Module
Figure 1.8 shows the module using DF1 to control communications
with a modem.
In this configuration, the module is interfaced with a DH485 network
through a peer-to-peer communication interface with full-duplex, DF1
protocol.
The 1747-KE module can be replaced by the 1770-KF3 DH485 communication interface module. The KF3 is a standalone version of the KE module.
Interface/Converter
RS-232 to RS-485
Catalog Number
1747-PIC
Link Coupler
1747-AIC
1747-C13 Cable
1747-C11 Cable
Link Coupler
1747-AIC
1747-C11 Cable
SLC 500
Controller
with 1747-KE
Module
SLC 500
Controller
The modems in this configuration may be dial-up. If the modems are
dial-up, the BASIC program may initiate dial-up and then switch port
PRT2 to DF1 protocol when connection is made to the 1747-KE
DH485 communication interface module. Port PRT2 on your module
must be configured as having DF1 protocol.
(1)
Publication 1746-UM004B-EN-P - December 2005
See Chapter 3 for additional information on port configuration.
The 1747-C13 cable acts only as a communication link and does not
carry 24V dc power. The 1747-C10 or 1747-C11 cable carries 24V dc
Module and Development Software Overview 1-13
power from the processor to the link coupler. (The 1747-C10 cable
and 1747-C11 cable are interchangeable.)
IMPORTANT
By configuring JW4 for DF1 communication on
PRT2, DH485 communications are disabled.
Publication 1746-UM004B-EN-P - December 2005
1-14 Module and Development Software Overview
Publication 1746-UM004B-EN-P - December 2005
Chapter
Component Selection
After reading this chapter, you should understand the:
• module memory requirements for BASIC programming and be
able to select the memory modules necessary for your
application.
• concepts of connecting your module to the DH485 network and
be able to select the components necessary for your application.
• concepts of connecting a modem to the module and be able to
select the necessary components for your application.
2
Memory Requirements for
BASIC Programming
The module uses the following types of memory modules during
BASIC programming.
• A 32 KB battery backed RAM of which 24 KB is reserved to store
BASIC programs and protected variables
• An optional 8 or 32 KB memory module to store BASIC
programs
IMPORTANT
Maximum user program storage space is 56 KB.
Battery backed RAM provides 24 KB and the
optional memory module provides up to 32 KB.
1Publication 1746-UM004B-EN-P - December 2005
Loading...
+ 63 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.