Modicon Compact PLC Manual PDF
Modicon Compact PLC Manual PDF
User Guide
31000400 04
Version 4.0
Table of Contents
Safety Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
About the Book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Chapter 1
Compact Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
At a Glance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
The 984 Family of PLCs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Special Features of the Compacts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
The A984-120/130 PLCs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
The A984-131/141 & E984-241/251 PLCs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
A984-145, E984-245/255 Controllers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
The E984-258 Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
E984-265/275/285 Controllers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
EEPROM Auxiliary Memory Capability (A984-1xx/E984-24x/251/255 Only) . . . 39
Editing Logic Loaded from EEPROM Card (A984-1xx, E984-24x/251/255 Only) 42
Program Storage using FLASH RAM & PCMCIA (E984-258/265/275/285 Only) 44
Chapter 2
Software Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
At a Glance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Panel Software Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
The Compact Instruction Set. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Chapter 3
Communication Capabilities . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
At a Glance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Modbus Communications A984 & E984-241/251 . . . . . . . . . . . . . . . . . . . . . . . .
Modbus Communications E984-258/265/275/285 . . . . . . . . . . . . . . . . . . . . . . .
Generic Modbus Communication Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Modbus Plus Communications A984-145, E984-245/255. . . . . . . . . . . . . . . . . .
Modbus Plus Communications E984-265/275/285 . . . . . . . . . . . . . . . . . . . . . . .
Modbus Plus LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Generic Modbus Plus Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Modbus Plus Capabilities for Compact . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Bridge Mode Between Modbus and Modbus Plus . . . . . . . . . . . . . . . . . . . . . . .
Modbus Plus Address Routing Schemes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Direct, Explicit, and Implicit Attaches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
69
70
72
79
80
84
86
87
88
91
94
97
3
Chapter 4
Chapter 5
Chapter 6
Appendices
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
At a Glance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
Appendix A
Appendix B
Appendix C
CE Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
Requirements for CE Compliance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
Appendix D
Appendix E
184
186
187
190
Appendix F
Appendix G
Index
199
200
202
206
207
209
210
211
217
218
219
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221
Safety Information
Important Information
NOTICE
Read these instructions carefully and look at the equipment to become familiar with
the device before trying to install, operate, or maintain it. The following special
messages may appear throughout this documentation or on the equipment to warn
of potential hazards or to call attention to information that clarifies or simplifies a
procedure.
This is the safety alert symbol. It is used to alert you to potential personal
injury hazards. Obey all safety messages that follow this symbol to avoid possible
injury or death.
DANGER
DANGER indicates an imminently hazardous situation, which, if not avoided,
will result in death or serious injury.
WARNING
WARNING indicates a potentially hazardous situation, which, if not avoided,
can result in death or serious injury.
CAUTION
CAUTION indicates a potentially hazardous situation, which, if not avoided,
can result in minor or moderate injury or in property damage.
PLEASE NOTE
Electrical equipment should be serviced only by qualified personnel. No responsibility is assumed by Schneider Electric for any consequences arising out of the use
of this material. This document is not intended as an instruction manual for untrained
persons.
2001 Schneider Electric All Rights Reserved
At a Glance
Document Scope
This manual presents information about the A & E Series Compact PLCs including:
hardware, software support, communication capabilities, planning and installation,
wiring and cabling, system specifications, CE requirements, power supplies, getting
started, accessories, health status, and trouble shooting and maintenance.
Validity Note
Related
Documents
Title of Documentation
Reference Number
890USE10900
890USE11500
371SPU68001
Product Related
Warnings
All pertinent state, regional, and local safety regulations must be observed when
installing and using this product. For reasons of safety and to assure compliance
with documented system data, repairs to components should be performed only by
the manufacturer.
User Comments
We welcome your comments about this document. You can reach us by e-mail at
TECHCOMM@modicon.com
10
Compact Hardware
1
At a Glance
Introduction
The information in this chapter introduces the Compact Controller and describes
the common architecture shared by the 984 Controllers. If the Compact Controller
is new to you, please refer to Getting Started, p. 145).
Whats in this
Chapter?
Page
12
14
24
27
31
33
E984-265/275/285 Controllers
36
39
42
44
11
Hardware
12
Hardware
EXEC ROM
RAM Memory
from
Application
Sensing
Devices
Input
Modules
State RAM
User Logic
Discrete Outs
Discrete Ins
Register Ins
Register Outs
Ladder Logic
Networks &
Segments
I/O Processor
Communications Processor
Peripheral
(Host) Devices
Programming
Output
Modules
to
Application
Switching
Devices
Other Nodes
on a Network
The Compact Controllers may be configured, I/O Mapped, and programmed with the
following software:
l Concept panel software
l Full-feature Modsoft panel software
l Modsoft Lite depending upon the model
l ProWORX software
Refer to Software Support, p. 49 for more information.
13
Hardware
14
Hardware
l The E984-275 CPU with two Modbus communication ports and a Modbus Plus
network interface, 1 Meg FLASH RAM based system executive, 512K SRAM,
16K words of user memory, 32K words-State RAM, 48K words total, 128K words
of configurable SDA 6X registers, 25Mhz CPU operation, and PCMCIA release
2.1 type II socket supported.
l The E984-285 CPU with two Modbus communication ports and a Modbus Plus
network interface, 1Meg FLASH RAM based system executive, 1024K SRAM,
32K words of user memory, 64K words-State RAM, 96K words total, 128K words
of configurable SDA 6X registers, 25Mhz CPU operation, PCMCIA release 2.1
type II socket supported and operating temperature -40 ... +70 degrees C.
Note: E984-258/265/275/285 models are available with conformal coating. The
conformal coating models are E984-258C, E984-265C, E984-275C, and E984285C.
Note: The E984-258C meets Railway standard EN 50 155 because it has yellow
LEDs, extended operating temperature, conformal coating and is capable of
operation with no battery in addition to other requirements.
Performance
l Four Compact E984 models (E984-258/265/275/285) solve logic at the rate of 0.2
... 0.6 ms/K for 1K of binary ladder logic.
15
Hardware
Memory
l User memory is the amount of memory available for your user logic program (one
word comprises 16 bits).
l State RAM memory is used to hold register and discrete inputs and outputs and
internal data storage. State RAM is allocated to the four different reference types
(0xxxx, 1xxxx, 3xxxx, and 4xxxx). (See System Capacity, p. 18).
l Memory Partition Option with Concept 2.1. When using the E984-258/265/275/
285 PLC with Concept 2.1 or higher you may partition the total SRAM memory.
The five IEC languages in Concept share the same memory space as the 984LL
language and 16-bit Loadables. When you enable the IEC usable memory size
in Concept, you allocate a specific amount of memory to IEC thus limiting the
amount of memory for 984LL and loadables
This is the Allocation Table.
PLC Model
SRAM Size
-258/265/275 512K
68 k bytes
220 k bytes
-285
68 k bytes
620 k bytes
1 Meg
16
Hardware
Specific Items
Memory Allocations
17K bytes
6K bytes
AGA flow
GD92 Loadable
52K bytes
IEC
ST
Subtotal IEC
space needed
97K bytes
984LL space
needed
Total memory
space used
139K bytes
Memory space
remaining
984LL
For this example, you should set the IEC memory size to 97. The figures for other
PLC models (E984-258/265/285) will vary due to internal reserved memory
allocations.
17
Hardware
System Capacity
Total
State
RAM
120
1.5k
2k
130
4k
2k
131
4k
2k
141
8k
2k
145
8k
2k
241
8k
2k
245
8k
2k
251
16k (24K
Extended
Memory)
2k
256 max.
(any mis)
(0x, 1x)
discrete
I/O points
plus
register I/
O up to a
total of
32 words
In/
32words
Out
(3x,4x)
255
16k (24K
Extended
Memory)
2k
258
256 In
256 Out
(words)
0x=65504
1x=16
3x=8893
4x=9968
0x=16
1x=65504
3x=8893
4x=9968
0x=16
1x=16
3x=32224
4x=1
0x=16
1x=16
3x=16
4x=28640
2 Modbus
265
8k (128K
16k*
configurabl
e SDA 6x**)
128
In128
Out
(words)
0x=65504
1x=16
3x=2048
4x=1823
0x=16
1x=65504
3x=2048
4x=1823
0x=16
1x=16
3x=15840
4x=1
0x=16
1x=16
3x=16
4x=14076
2 Modbus
1Modbus Plus
275
256
In256
Out
(words)
0x=65504
1x=16
3x=8893
4x=9968
0x=16
1x=65504
3x=8893
4x=9968
0x=16
1x=16
3x=32224
4x=1
0x=16
1x=16
3x=16
4x=28640
2 Modbus
1 Modbus Plus
PCMCIA
285
512
In512
Out
(words)
0x=65504
1x=16
3x=23454
4x=26028
0x=16
1x=65504
3x=23454
4x=26028
0x=16
1x=16
3x=64992
4x=1
0x=16
1x=16
3x=16
4x=57766
2 Modbus
1 Modbus Plus
PCMCIA
0x=2032
1x=16
3x=16
4x=16
Max. 1xxxx
type State
RAM
Max. 3xxxx
type State
RAM
Max. 4xxxx
type State
RAM
Comm Ports/
PCMCIA
0x=16
1x=2032
3x=16
4x=16
0x=16
1x=16
3x=1904
4x=16
0x=16
1x=16
3x=16
4x=1904
1 Modbus
1 Modbus
2 Modbus
2 Modbus
1 Modbus
Modbus Plus
2 Modbus
1 Modbus
1Modbus Plus
2 Modbus
1 Modbus
1Modbus Plus
*The available state RAM for the E984-258/265/275/285 models are always 512 words less than these stated values.
**Allocating the SDA (Secured Data Area) reduces your available user memory.
18
Hardware
Note: For the A984-120/13x/14x and E984-24x/251/255 models. The listed values
(in the table). See System Capacity, p. 18 for discrete (0xxxx, 1xxxx) and register
(3xxxx, 4xxxx) types represent maximum allowable. To maximize one type you
minimize the other three types. Other than these limits the allocation between data
types is flexible. This type of trade off between reference types does NOT apply to
the E984-258/265/275/285 models. Furthermore, due to the large memory size
you will not reach the maximum limits.
Note: Maximum I/O module count is 18 for all Compact PLC models.
Space Allocation
Formula for Data
Types
The maximum of each data type expressed in System Capacity, p. 18, or the E984258/265/275/285 PLCs fit into the total configured memory space according to the
following formula: A+B+C+D+E+F <= 65024 words for 64k State RAM or 32256
words for 32k State RAM or 15872 words for 16k State RAM (and the combined mix
of configured #0x +#1x <= 65536 or 32768 or 16384) Where: A =Number of (0x/
16) * 3 to include History and Disable bits B=Number of (1x/16) * 3 to include History
and Disable bits C=0 if starting 3x on a 16 word boundary, otherwise add the
required difference D=Number of 3x data types E=0 if starting 4x on a 16 word
boundary, otherwise add the required difference F=Number of 4x +(2*((#4x+15(/16))
to include Up/Down counter history
The Compact executive firmware has two areas of memory which are referred to in
this manual as executive and user memory. The executive is contained in NonVolatile ROM (flash in the E984s memory that can be updated with new features in
the field if required), and the user memory is stored in battery backed RAM which
may also be backed up to internal FLASH for the E984-258/265/275/285 models or
to the PCMCIA memory card for the E984-275/285 models. (See Customer Service
& Technical Assistance, p. 219 regarding upgrading the NV FLASH Memory in the
field).
EEPROM
Auxiliary
Memory UploadDownload
Capabilities
(A984-1xx, E98424x/251/255
Only)
19
Hardware
The E984-275/285 CPUs support PCMCIA release 2.1 type II socket. The CPU
provides routines for accessing the PCMCIA card. Drivers are included to support
additional memory via AMD compatible memory cards. The card may be used to
store your application or as dynamic storage for data. You may write and read your
applications to either FLASH or PCMCIA card. You may use the PCMCIA card for
data logging from the user program via the DLOG instruction. (See Program Storage
using FLASH RAM & PCMCIA (E984-258/265/275/285 Only), p. 44).
Transferring
MEEP
Applications to
PCMCIA Cards
PLC Login
Password
Protection
(E984-258/265/
275/285 Only)
This feature allows you to prevent unauthorized writes to the PLC via Modbus
commands. The password must be at least 1 character and may be up to 16
characters long. Valid characters are: a ... z, A ... Z, 0 ... 9. Spaces are NOT allowed
and the password is case sensitive. The default is no password. The PLC MUST be
stopped before entering a password. Checking the box labeled PLC level password
protection enables this option. The password is entered in two steps. First you enter
your password into a Concept dialog box to gain access to the PLC. Second, from
the main Concept menu select Online, Online Control Panel, then Set PLCPassword... The Change PLC-Password dialog box appears. Enter your password.
Then confirm with OK. To deactivate the password feature, enter the old password
and press OK. This prompts a confirm to remove.
The following figure shows the Change PLC Login Password screen.
Change PLC Password
OK
20
Cancel
Help
Hardware
When downloading a new executive to your PLC you MUST disable the PLC
password (via Concept) unless the PLC is stopped in a stop with error state. Under
this condition the Concept executive loader works. When a login password is lost,
you can gain access by using the following procedure: Push the Memory Protection
switch up to the Mem Prot position. Remove the Lithium battery from the PLC. Cycle
the power to the PLC. This procedure erases the battery-backup RAM without
loading the PLCs program from FLASH. Thus, returning the PLC to its initial,
unconfigured state with NO login password.
CTS/RTS
Communication
Delays for
Communication
Port 1
(E984-258/265/
275/285 Only)
This feature allows you to set time delays for CTS or RTS independently for
Communication port 1 of your Compact PLC. The CTS delay sets the amount of time
between when the PLC receives CTS and when a Modbus slave response is
transmitted. The RTS delay is the amount of time the PLC waits to drop RTS after a
Modbus slave response is transmitted. This feature allows modem communications
with radios that require longer time frames. The delay time range is 0... 500ms using
10ms units. From the main Concept menu select Configure, then RTU Extension.
The RTU-Specific Parameters dialog box appears. Enter the time delays your
require. Then confirm with OK.
This is the CTS/RTS screen.
RTU Specific Parameters
Additional COM1-Delay
OK
RTS-Delay (x10 ms):
CTS-Delay (x10 ms):
Cancel
21
Hardware
Secured Data
Area (SDA)
(E984-258/265/
275/285 Only)
This feature allows you to configure an area in RAM that is secured from being
overwritten. Secured Data Area (SDA) is a block of the Compact PLCs RAM that is
set aside as 6x data space. The SDA can only be written to by specific functions that
require secured data storage (Gas Flow Calculation Audit Trails, etc.). General
purpose Modbus commands, built-ins, and loadables can NOT write to the SDA.
Modbus Read (function 20) is able to read from the SDA, Modbus Write (function
21) is NOT able to write to the SDA. The SDA size range is 0 ... 128K words using
ONLY 1K word blocks. From the main Concept menu, select Configure, then RTU
Extension. The RTU-Specific Parameters dialog box appears. Enter the size you
require. Then confirm with OK. Refer to the applicable user manual for the specific
function for the required SDA size. For example, for Gas Flow, refer to the Starling
Associates Gas Flow Loadable Function Block User Guide (890 USE 137 00).
This feature allows you to synchronize your PLCs Time-Of-Day (TOD) clock time
signal from GPS (Global Positioning System) satellites. This feature provides
accurate time stamping of logged data, and the synchronization of different PLCs
because the time synchronization is dependent on the scan of the PLC, the
accuracy is +/-10ms. Connect the 470 GPS 001 00 GPS Receiver to the PLCs
Interrupt Connections located on the front of your PLC. Refer to the User Information
shipped with the GPS module (Part Number 708874.21) and below. To see when
the time synchronize is present or not refer to bit 13 of word 1 (CPU-Status) of the
STAT Block. (See Word 182 - Health Status, p. 207). A 1 indicates you have a valid
signal and the TOD has been updated, a 0 indicates you are NOT receiving a time
signal. Connecting the GPS module to your PLC is very easy.
This is how to wire up the GPS module.
470 GPS 001 00 Receiver
1
E984-258/265/275/285
IN
M
+24Vdc
PLC Interrupt
Connection
GND
22
Hardware
The Compact Controllers work with Modicons A120 Series of low-cost I/O modules.
A120 modules are available in densities of four, eight, and sixteen discrete I/O
points; eight analog input channels; and two, four, and eight analog output channels.
In addition, speciality modules for positioning, servo control, simulators and filler
modules are available. Each module uses a standardized pair of screw-type terminal
blocks that facilitate easy access and easy field wiring; because the terminal blocks
are standardized and removable, they allow you to make module changes without
disturbing connections. A tool (AS-0TBP-000) to facilitate the removal of terminal
blocks is shipped with each Compact Controller.
Detailed descriptions of available A120 modules are found in the A120 Series I/O
Modules User Guide (890 USE 109 00 formerly GM-A984-IOS). To be sure that your
documentation is up to date, check with Modicon Customer Support or your area
distributor for the current revision level of this document.
Power Supplies
The A984s, E984-24x/25x, and the E984-258/265/275/285 CPUs use a +24 Vdc
source, and have a built-in power converter to provide 5 Vdc to the bus.
l 2.5 A is available across the I/O bus for all modules in A984s, E984-24x/251/255
systems.
l 2.5 A is available across the I/O bus for all modules in E984-258/285 systems.
l 3.0 A is available across the I/O bus for all modules in E984-265/275 systems.
Five optional power supplies are available: a P120-000 (115/230 Vac input), a P120125 (125 Vdc input), a P120-250 (240 Vac input), a PRTU-252 (240 Vac input), and
a PRTU-258 (240 Vac input) that provide +24 Vdc to the CPU.These external power
supplies may be used with any of the Compacts. See P120-000 Power Supply,
p. 178 for detailed specifications.
23
Hardware
These two models have identically designed front panels, with one Modbus
communications interface, an EEPROM auxiliary memory socket, two slide switches
for memory protection and communication parameter selection, four LED indicators,
and a terminal strip for 24 Vdc power.
l The A984-120 (Compact Controller comes with 1 Modbus communication port,
2K state RAM, 1.5K words of user memory, 8Mhz CPU, and operating
temperature 0 ... 60 degrees C).
l The A984-130 (Compact Controller comes with 1 Modbus communication port,
2K state RAM, 4.0K words of user memory, 8Mhz CPU, and operating
temperature 0 ... 60 degrees C).
This is the front panel.
A984-120/130 PLC
Lithium Battery
EEPROM Socket
24 Vdc
M
o
d
b
u
s
Slide Switches
24
mem
prot
Memory Protect
Slide Switch
def
mem
Communication
Parameter
Slide Switch
ready
run
bat low
Modbus
LEDS
Two slide switches are located on the front panel of the controller directly above
LEDs, a memory protect switch and a communication parameter switch.
Hardware
Memory Protect
The memory protect switch is the top switch; it serves two purposes:
l If on, it prevents a programming panel from overwriting the configuration or user
logic
l If off, it allows configuration and user logic changes. It also determines whether
or not the controller should read the configuration and user logic from an
EEPROM auxiliary memory card inserted in the EEPROM socket. This occurs
only at power-up.
This is the mem prot switch.
mem prot
ON
OFF
Communication
Parameter
25
Hardware
LED Indicators
The following table lists the LED indicators and their meaning.
LED Indicator
Meaning
Ready (amber)
Run (green)
Controller has started and is solving logic. If memory checksum fails this
light will blink 3 times for.5 seconds followed by a rest period of 2.5
seconds then the pattern repeats. The controller has detected a STOP
ERROR CODE and may require either restarting, reloading of the user
logic, or reloading of the executive firmware. If the controller attempts to
read the EEPROM card but fails, it terminates the power-up sequence
and flashes the RUN LED on the front panel continually until you cycle
power. Four flashes per second indicates that a checksum error was
detected; one flash per second indicates that the user logic program is
larger than the available memory.
Battery Low (red) Battery needs replacing-14 day hold-up from initial indication
Modbus (green)
Note: A green power OK LED exists on the power supply board inside the
controller. It is located below the top surface of the unit, and is visible when the unit
is viewed from the top.
26
Hardware
These four models have identically designed front panels, with two Modbus
communications interfaces, an EEPROM auxiliary memory socket, two slide
switches for memory protection and communication parameter selection, five LED
indicators, and a terminal strip for 24 Vdc power.
l The A984-131 (Compact Controller comes with 2 Modbus communication ports,
4.0K words of user memory, 2K state RAM, 8Mhz CPU, and operating
temperature 0 ... 60 degrees C).
l The A984-141 (Compact Controller comes with 2 Modbus communication ports,
8.0K words of user memory, 2K state RAM, 8Mhz CPU, and operating
temperature 0 ... 60 degrees C).
l The E984-241 (Compact Controller comes with 2 Modbus communication ports,
FLASH RAM based system executive, 8.0K words of user memory, 2K state
RAM, 16Mhz CPU, and operating temperature 0 ... 60 degrees C).
l The E984-251 (Compact Controller comes with 2 Modbus communication ports,
FLASH RAM based system executive, 16.0K words of user memory, 24K of
(6xxxx) extended data register storage, 2K state RAM, 16Mhz CPU, and
operating temperature 0 ... 60 degrees C).
27
Hardware
Lithium Battery
EEPROM Socket
P
O
R
T
2
24 Vdc
P
O
R
T
1
Slide Switches
28
mem
prot
Memory Protect
Slide Switch
def
mem
Communication
Parameter Slide
Switch
ready
run
bat low
port 1
port 2
LEDs
Two slide switches are located on the front panel of the controller directly above
LEDs, a memory protect switch, and a communication parameter switch.
Hardware
Memory Protect
The memory protect switch is the top switch; it serves two purposes:
l If on, it prevents a programming panel from overwriting the configuration or user
logic
l If off, it allows configuration and user logic changes. It also determines whether
or not the controller should read the configuration and user logic from an
EEPROM auxiliary memory card inserted in the EEPROM socket. This occurs
only at power-up.
This is the mem prot switch.
mem prot
ON
OFF
Communication
Parameter
The communication parameter switch (the bottom slide switch) is used to specify
whether you want to use the default communication parameters on Modbus port 1
or the previously configured and saved communication parameters. (See MODBUS
Port Parameters (2-Position Slide Switch), p. 71.)
29
Hardware
LED Indicators
The following table lists the LED indicators and their meaning.
LED Indicators
Meaning
Ready (amber)
Run (green)
Controller has started and is solving logic. If memory checksum fails this
light will blink three times for.five seconds followed by a rest period of 2.5
seconds; then the pattern repeats. The controller has detected a STOP
ERROR CODE and may require either restarting, reloading of the user
logic, or reloading of the executive firmware. If the controller attempts to
read the EEPROM card and fails, it terminates the power-up sequence
and flashes the RUN LED on the front panel continually until you cycle
power. Four flashes per second indicates that a checksum error was
detected; one flash per second indicates that the user logic program is
larger than the available memory.
Battery Low (red) Battery needs replacing-14 day hold-up from initial indication
Port 1 (green)
Port 2 (green)
Note: A green power OK LED exists on the power supply board inside the
controller. It is located below the top surface of the unit. It is visible if the unit is
viewed from the top.
30
Hardware
These models have identically designed front panels, with two communications
interfaces, an EEPROM auxiliary memory socket, two slide switches for memory
protection and communication parameter selection, five LED indicators, and a
terminal strip for 24 Vdc power.
l The A984-145 (Compact Controller comes with 1 Modbus communication port, 1
Modbus Plus port, 8.0K words of user memory, 2K state RAM, 8Mhz CPU, and
operating temperature 0 ... 60 degrees C).
l The E984-245 (Compact Controller comes with 1 Modbus communication port, 1
Modbus Plus port, FLASH RAM based system executive, 8.0K words of user
memory, 2K state RAM, 16Mhz CPU, and operating temperature 0 ... 60 degrees
C).
l The E984-255 (Compact Controller comes with 1 Modbus communication port, 1
Modbus Plus port, FLASH RAM based system executive, 16.0K words of user
memory, 24K of (6xxxx) extended data register storage, 2K state RAM, 16Mhz
CPU, and operating temperature 0 ... 60 degrees C).
This is the front panel.
A984-145 & E984-245/255 PLCs
Modbus Plus
Addressing
DIP Switch
Lithium Battery
EEPROM Socket
24 Vdc
M
B
P
l
u
s
M
o
d
b
u
s
mem
prot
Memory Protect
Slide Switch
def
mem
Communication
Parameter Slide
Switch
ready
run
bat low
Modbus
MB Plus
LEDs
31
Hardware
Slide Switches
The communication parameter slide switch is used to select a bridge mode between
a Modbus master device and Modbus Plus. (For a detailed description of bridge
mode functionality and other Modbus Plus capabilities provided with the A984-145,
E984-245/255 Controller, see Bridge Mode Between Modbus and Modbus Plus,
p. 91. (See 9-Pin Port/Cable Pin-Outs, p. 70 for 9-pin cable pin-outs.)
Modbus Plus
6-Position DIP
Switch
These three models have identical MB Plus DIP Switches. (See 6-Position DIP
Switch -Node Addressing, p. 80.)
Modbus Plus
LED
Other than the bottom indicator, LEDs on these three models have the same
function as those on the E984-241/251. (Port 1 is labeled Modbus). (See LED
Indicators, p. 30.) The MB Plus LED is a green indicator that shows the type of
communications activity on the Modbus Plus port on A984-145, E984-245/255
Controllers.
A specific flash pattern indicates the nature of the Modbus Plus communication
activity. (See Modbus Plus LEDs A984-145, E984-245/255/265/275/285, p. 216 and
Modbus Plus LEDs, p. 86.)
32
Hardware
This model has two Modbus communications interfaces (RJ45), two three position
slide switches for communication parameter selection, five LED indicators, and a
terminal strip for 24 Vdc power.
l The E984-258 (TSX Compact Controller comes with 2 Modbus communication
ports, 1Meg FLASH RAM based system executive, 512K SRAM, 16K words user
memory, 32K words State Ram, 48K words total, 128K words of configurable
SDA 6X registers, 25Mhz CPU, and operating temperature -40 ... +70 degrees C)
and the Run, Ready, Modbus 1 and Modbus 2 LEDs are yellow.
This is the front panel.
E984-258 PLC
E984-258C
has no
battery
Memory protect
slide switch
Communication
parameter
slide switch
LEDs
PLC interrupt
connection
33
Hardware
Slide Switches
Two three-position slide switches are located on the front of the CPU. The top
switch is used for memory protection when in the top position and no memory
protection in the middle and bottom position. The three-position slide switch on the
bottom is used to select the communication parameter settings for Modbus (RJ45)
port one. Three options are available. (See MODBUS Port Parameters (3-Position
Slide Switch), p. 76). For RJ45 cable pin-outs, see Connector Pinouts (RJ45 to 25Pin, p. 75).
Note: The E984-258 does not support a PCMCIA card.
PLC Interrupt
Connection
34
One two-position connection is located on the front of the CPU. It is used to connect
to the 470 GPS 001 00 Receiver for the time synchronization of the PLCs TOD clock.
(See Time Synchronization of the TOD (E984-258/265/275/285 Only), p. 22).
Hardware
LED Indicators
Meaning
ready (yellow)
run (yellow)
Controller has started and is solving logic. (See LED Error Codes,
p. 211) for the RUN LED error codes
Modbus 1 (yellow)
Modbus 2 (yellow)
Note: The E984-258C meets Railway standard EN 50 155 because it has yellow
LEDs, extended operating temperature, conformal coating and can operate with no
battery in addition to other requirements. Since no battery comes with the 258C,
the Battery Low LED is always ON. You may purchase and install a battery based
upon your needs. Simply replace the battery dummy (part number AS-BDUM-001)
with a battery and the Battery Low LED turns OFF.
CAUTION
No battery.
When NO battery is present you MUST save your ladder logic
(application) to internal FLASH before power is cycled. If you do not
save it to FLASH, your ladder logic (application) will be lost.
Failure to observe this precaution can result in injury or
equipment damage.
35
Hardware
E984-265/275/285 Controllers
E984-265/275/
285 Front Panel
36
These three models have identically designed front panels, with three
communications interfaces, two three position slide switches for memory protection,
communication parameter selection, seven LED indicators, and a terminal strip for
24 Vdc power.
l The E984-265 (TSX Compact Controller comes with 1Meg FLASH RAM, 256K
SRAM, 8K words user memory, 16K words State Ram, 24K words total, 128K
words of configurable SDA 6X registers, 2 Modbus ports, and 1 Modbus Plus
port).
l The E984-275 (TSX Compact Controller comes with 1Meg FLASH RAM, 512K
SRAM, 16K words user memory, 32K words State Ram, 48K words total, 128K
words of configurable SDA 6X registers, 2 Modbus ports, 1 Modbus Plus port,
and PCMCIA auxiliary memory socket).
l The E984-285 (TSX Compact Controller comes with 1Meg FLASH RAM, 1024K
SRAM, 32K words user memory, 64K words State Ram, 96K words total, 128K
words of configurable SDA 6X registers, 2 Modbus ports, 1 Modbus Plus port,
and PCMCIA auxiliary memory socket).
Hardware
Lithium
battery
Modbus plus
addressing
rotary switches
PCMCI LED
PLC interrupt
connection
Slide Switches
Two three-position slide switches are located on the front of the CPU. The top switch
is used as follows: for memory protection if in the top position; for no memory
protection in the middle position; and for swapping PCMCIA card (pull-PC 275/285
only) in the bottom position. The three-position slide switch on the bottom is used to
select the communication parameter settings for Modbus (RJ45) port 1. Three
options are available. See MODBUS Port Parameters (3-Position Slide Switch), p. 76.
For RJ45 cable pin-outs, (see RJ45 Port/Cable Pin-Outs, p. 72.)
Rotary Switches
Two rotary switches are used for setting Modbus Plus node and Modbus port
addresses. (See 10-Position Rotary Switches -Node Addressing, p. 84.)
37
Hardware
PLC Interrupt
Connection
One two-position connection is located on the front of the CPU. It is used to connect
to the 470 GPS 001 00 Receiver for the time synchronization of the PLCs TOD
clock.(See Time Synchronization of the TOD (E984-258/265/275/285 Only), p. 22.)
LED Indicators
The following table shows the LED indicators and their purpose.
38
LED Indicator
Meaning
Ready (green)
Run (green)
Controller has started and is solving logic. (See LED Error Codes,
p. 211 for the RUN LED error codes.)
Modbus 1 (green)
PC (green)
For details about Modbus Plus LED, see Modbus Plus LEDs, p. 86
and LED Error Codes, p. 211.
Hardware
Adhesive
Pull-Tab
M
B
P
l
u
s
m
me
pro
dy
re a
39
Hardware
CAUTION
Do not insert EPROM card if controller is ON.
An EEPROM card must be inserted into or removed from the socket
only when the controller is OFF. Insertion or removal while the controller
is powered up can damage the EEPROM card.
Failure to observe this precaution can result in injury or
equipment damage.
Writing to
EEPROM
Auxiliary
Memory
Using either Modsoft or Modsoft Lite programming software, you may write the
configuration and user logic to the EEPROM card. Users of the A984 Compact
controller may also predefine controller startup RUN state conditions and save 4X
registers. You may write to the EEPROM card while the controller is running and
while Modbus activity is occurring. However, no activity that writes to user memory
is allowed while writing to EEPROM is occurring.
Note: It is recommended that the Compact be in STOP Mode.
After inserting a blank EEPROM card into the controller, ensure that the memory
protect switch is in the ON position before turning power back on. If the switch is in
the OFF position, the controller will attempt to read a blank card at power up.
To write to an EEPROM card, you must be ON LINE or in Combine mode in
Modsoft. Under PLC OPS menu select Save to FLASH/EEPROM. If earlier
software versions are used, after download the controllers will start (or not start)
based on the last power-down state; 4X registers are not saved; and state RAM is
cleared if the controller powers up from Dim Awareness. If your user logic requires
specific information in state RAM, it must be initialized by the user logic.
Using any version of panel software, the 0984 series (ONLY) Compact controllers
saves the configuration and user logic but not the 4X register data. State RAM is
not cleared, and if your user logic requires specific information in state RAM, it must
be initialized by the user logic. Also, after download, the controller will come up in
its previous operating mode (RUN or STOPPED).
The write procedure verifies that an EEPROM card is actually present in the socket
and that the card has enough memory to store all the system data. It then
computes the checksum and verifies that the data has been written successfully. If
any errors occur in the writing process, an error message pops up on the screen;
if no errors are encountered, a message pops up to inform you that the EEPROM
write procedure has been accomplished.
40
Hardware
Reading
EEPROM System
Data
Data are read from an EEPROM card as part of the power-up sequence. If the
controller determines that a card is present in the socket, it checks the state of the
memory protect slide switch.
l If the switch is OFF, the controller tries to read the data
l If the switch is ON, the controller ignores the presence of the card.
If the controller attempts to read the EEPROM card but fails, it terminates the powerup sequence and flashes the RUN LED on the front panel continually until you cycle
power.
l Four flashes per second indicates that a checksum error was detected
l One flash per second indicates that the user logic program is larger than the
available memory.
If the controller successfully reads data from the EEPROM card, it sets a flag in
system memory that prohibits any further writing to memory locations.
Memory locations may be written to after power is turned off, the EEPROM card
removed, and power turned on.
The EEPROM card will bring controllers up in the appropriate operating mode (RUN
or STOPPED). In A984-1xx, E984-24x/25x controllers, the mode may be selected
at EEPROM Write time. In 0984 controllers without a functioning battery, the
EEPROM card will always bring the controller up in STOPPED mode, and you will
need a DAP or programming panel to get it into RUN mode.
In both the A984-1xx and 0984, 0X and 1X references are enabled when the
controller is set to RUN mode after EEPROM download. 0Xs are cleared when the
controller goes to RUN mode and 1Xs are updated on the first scan. In A984
controllers, 4X references are zeroed if not saved to EEPROM. The document
packed with the EEPROM card (GI-MEEP-RMF) contains an illustration of user logic
that may be used to zero out the 4X registers in 0984 controllers.
EEPROM
Memory Program
Migration
Where controller memory limitations are not exceeded, the rules governing
EEPROM memory program migration are:
l EEPROM programs from 0984 controllers can be loaded into A984-1xx
controllers.
l EEPROM programs from A984-1xx, E984-24x/25x controllers cannot be loaded
into 0984 controllers because the 0984 controllers do not acknowledge 4x
registers and return an error.
l A984-1xx, and E984-24x/25x controller EEPROM programs may be exchanged.
Note: The only other restriction may be due to the memory size of the individual
controller.
41
Hardware
Editing
Procedure If
Controller Has a
Battery
42
Action
Insert the EEPROM card with the desired logic into the slot in the controller, then
power up the unit. The controller should come up in OPTIMIZED mode with the
EEPROM logic and configuration data loaded.
Either remove the EEPROM card or turn ON (=) the memory protect slide switch.
You must be ON LINE when using Modsoft. Choose either Select Program or
Direct to PLC. Check your Communications Parameters. Now you should be
in the ladder logic area where you can edit the EEPROM-loaded logic.
Hardware
Editing
Procedure If
Controller Has
No Battery
Action
Insert the EEPROM card with the desired logic into the slot in the controller, then
power up the unit. The controller should come up in OPTIMIZED mode with the
EEPROM logic and configuration data loaded.
Using Transfer in your panel software, upload the logic program to the
programming panel.
Either remove the EEPROM card or turn ON (=) the memory protect slide switch.
Using Transfer, download the program from the panel back to the controller.
You must be ON LINE when using Modsoft. Choose either Select Program or
Direct to PLC. Check your Communications Parameters. Now you should be
in the ladder logic area where you can edit the EEPROM-loaded logic.
43
Hardware
Writing to
PCMCIA/Internal
FLASH RAM
Auxiliary
Memory
44
Hardware
Storing to the
PCMCIA or
Internal FLASH
Card
Save to FLASH stores information to the PCMCIA or internal FLASH card. The
following table describes the options that are available from the Save to Flash
screen. When the save to FLASH is performed, the configuration, IEC and 984 LL
are all stored to the PCMCIA card or internal FLASH depending on your selection.
Option
Description
Internal
Number of 4x Registers
to Save
Clear FLASH
Note: Five PCMCIA card pull-tabs (individual part number 042710748) ship with
these PLCs for better card extraction. Additional pull-tabs may be purchased in
quantities of fives (part number 042710786). (See PLC Accessories, p. 194 for
recommended PCMCIA cards.)
45
Hardware
PCMCIA
Operations and
PLC Power Up
PLC
MEM
Switch
Concept
Dialog
Result
Off
If Dialog box
was checked, it
starts after
download.
Application NOT
present
Not
configured
Off
Not applicable
Application NOT
present
Not
configured
On
Not Applicable
Off
If Dialog box
was checked, it
starts after
download.
Application NOT
present
Configured
Off
Not Applicable
Application NOT
present
Configured
On
Not Applicable
Note: If your application is stored in both internal FLASH and the PCMCIA card
and the battery backed RAM is lost on power-up, the PLC first checks the internal
FLASH, then the PCMCIA card.
46
Hardware
PCMCIA LED
Error Conditions
If any the error conditions listed in the following table occurs, the loading of an
application to the PLCs memory is terminated, and the PC LED (PCMCIA) blinks
indicating the specific error detected.
Note: Remember that only the E984-275/285 have a PC LED (PCMCIA).
These are the PC LED (PCMCIA)-Error Conditions (E984-275/285):
# of Flashes PC LED (PCMCIA)
PCMCIA Card
Insertion
1 Flash
2 Flashes
Invalid checksum
3 Flashes
4 Flashes
Model mismatch
5 Flashes
The PCMCIA cards are keyed. Ensure that the top of the PCMCIA card is aligned
with the top of the PLC PCMCIA slot.
The following figure shows the correct PCMCIA alignment.
TOP of PCMCIA card is keyed.
47
Hardware
48
Software Support
2
At a Glance
Introduction
This chapter describes the software packages that support the Compact family. All
of the elements of the Compact PLC instruction set are listed.
Whats in this
Chapter?
Topic
Page
50
53
49
Software
The Compact Controllers may be configured, I/O Mapped, and programmed using
Concept panel software, full-feature Modsoft panel software, or Modsoft Lite
(depending upon the model).
All of these software packages can be installed on the Modicon P230, an IBM-AT,
or a compatible computer. The programming and configuration editors used for
Compact are similar to those used for other 984s; special I/O Map screens have
been designed for A120 I/O modules.
Concept
(E984-258/265/
275/285 Only)
50
Software
Modsoft Lite
(A984-1xx, E98424x/251/255
Only)
Description
Configurator
I/O Map
Programmer
Transfer
Loads programs from disk to controller, records 984 memory to disk, and
compares programs on disk and in memory
Generates hard copy of user logic program and prints user comments
Environment
Defines default configurations for the panel software (e.g., printer setup, file
locations, and so forth
For a detailed description of Modsoft lite and its operations, see the Modsoft Lite
Programmer User Manual (GM-MSLT-001).
Modsoft FullFeature (A9841xx, E984-24x/
251/255 Only)
51
Software
Sequential
Function
Charting
52
Software
Resident in the executive firmware of the Compact Controller is a set of six ladder
logic programming elements and several ladder logic programming instructions that
depend on the controller model.
MSTR and CKSM are never available together. All compacts (A984-145, E984-245/
255) that use Modbus Plus use MSTR. All others use CKSM. Compact models
E984-251/255 use XMRD and XMWT. Therefore, all compacts except E984-245/
255 have 36 functions and the E984-245/255 Compacts have 38 functions.
Meaning
-| |-
-|\|-
-|=|-
-|O|-
-( )-
A normal coil
-(L)-
For more information about these instructions, see the Modicon Ladder Logic Block
Library User Guide (840 USE 101 00).
53
Software
The three tables that follow list, in detail, all of the ladder logic programming
instructions used by Compact.
The following table describes the Counters, Timers, (Two Nodes); Calculations, and
Other Math (Three Nodes) instructions in the Compact Instruction set.
Instruction
Description
Calculations
(Three-Nodes)
Other Math
(Three-Nodes)
54
T1.0
T0.1
T.01
T1MS
ADD
SUB
MUL
DIV
AD16
SU16
MU16
DV16
ITOF
FTOI
BCD
Software
The following table describes the DX Moves (Three Nodes), DX Matrix (Three
Nodes), and Skip Node (One Node) instructions in the Compact Instruction set.
Instruction
Description
DX Moves
R"T
(Three-Nodes) T"R
T"T
BLKM
TBLK
BLKT
FIN
FOUT
SRCH
IBKR
IBKW
TEST
STAT
XMWT
XMRD
DIOH
55
Software
Instruction
DX Matrix
(Three-Nodes)
Skip-Node
(One-Node)
56
Description
AND
OR
XOR
COMP
CMPR
NOBT
NCBT
SBIT
RBIT
NBIT
MBIT
SENS
BROT
CKSM
SCIF
IMIO
SKIP
SKPC
SKPR
Software
The following table describes Process Control Function Library (PCFL) (ThreeNodes) and the Ladder Logic Subroutine Instructions in the Compact Instruction
set.
Instruction
Description
Scales raw analog input into engineering units for calculations. E984-258/265/275/285
only
Ladder Logic
Subroutine
Instructions
(Two-Nodes)
AVER
CALC
EQN
A formatted equation calculator used for equations that have four or fewer variables but
does not fit into the CALC format. E984-258/265/275/285 only
DELAY
INTEG
LIMIT
Limits the input to a range between a specified high and low value. E984-258/265/275/
285 only
LLAG
MODE
Sets up a manual or automatic station for enabling and disabling data transfers to the
next block. E984-258/265/275/285 only
ONOFF
Controls the output signal between fully ON and fully OFF conditions so that you can
manually force the output ON or OFF. E984-258/265/275/285 only
PID
RAMP
RATE
Calculates the rate of change over the last two input values. E984-258/265/275/285
only
SEL
Compares up to four inputs and makes a selection based upon either the highest,
lowest, or average value. E984-258/265/275/285 only
PI
KPID
RATIO
TOTAL
JSR
57
Software
Instruction
Description
(Two-Nodes)
(One-Node)
LAB
RET
PID Instruction
(Three-Nodes)
PID2
Enhanced Math
(Three-Nodes)
EMTH
Performs 38 math operations, including floating point math operations and extra integer
math operations such as square root
Ladder Logic
Interrupt
Instructions
(Two-Nodes)
ITMR
Defines an interval timer that generates interrupts into the ladder logic scan. E984-258/
265/275/285 only
(One-Node)
ID
Protects data in both the normal (scheduled) ladder logic and the (unscheduled)
interrupt handling subroutine logic. E984-258/265/275/285 only
(One-Node)
IMIO
Permits access of specified I/O modules from within ladder logic that differs from the
normal I/O processing procedure. E984-258/265/275/285 only
(One-Node)
IE
Protects data in both the normal (scheduled) ladder logic and the (unscheduled)
interrupt handling subroutine logic. E984-258/265/275/285 only
(Three-Nodes)
BMDI
Protects data in both the normal (scheduled) ladder logic and the (unscheduled)
interrupt handling subroutine logic. E984-258/265/275/285 only
Modbus Plus
Networking
Instruction
(Three-Nodes)
MSTR
Application
Specific (ThreeNodes)
SAVE
Saves a block of 4x registers to state RAM where they are protected from unauthorized
modification. E984-258/265/275/285 only
LOAD
Loads a block of 4x registers (previously SAVEd) from state RAM where they are
protected from unauthorized modification. E984-258/265/275/285 only
58
Software
Compact
Loadable
Software
Instructions
FNxx
DRUM
Simplifies implementation of sequential step-oriented logic.
and ICMP Modicon part number SW-AP98-SxA.
EARS
HLTH
Gxxx
XMIT
For more information about these instructions, see the Modicon Ladder Logic Block
Library User Guide (840 USE 101 00) or the manual that describes the respective
loadable.
Note: For every 10 bytes of.EXE that are loaded, you lose one node of ladder logic
if you are using an A984-1xx, E984-24x/251/255 PLC model, or an E984-258/265/
275/285 PLC model.
59
Software
XMWT AND
XMRD Function
Blocks (E984251/255 Only)
The Extended Memory function blocks XMWT and XMRD function as described in
the Modicon Ladder Logic Block Library User Guide (840 USE 101 00) with two
exceptions, as noted below. The functions are available from the panel DX selection
when E984-251/255 is configured
l The bottom input is ignored because the E984-251/255 can not detect memory
errors as it reads or writes to the extended memory.
l The status word bits 14 and 15 are not used because the memory does not have
parity and the extended memory is not separated from the remainder of the
Controller memory.
XMWT Block: The top node refers to the address of the first reference to get for
transfer to the 6X area. The middle node and Reference Data shows the 6X
register control block associated with Extended Memory transfers.
The following figure shows the XMWT block.
1 = Enable
400100
1 = Active
1 = Does not
clear offset
400400
XMWT
1 = Error
#00001
1 = Complete
Reference Data:
400100 Source_add
400401 Status
400402 File_Number
400403 Start 6X
400404 Count
400405 Nmbr_done
400406 Max_reg
60
0 Dec
1 Dec
9999 Dec (Max 9999)
9999 Dec (Max 9999)
0 Dec (Keeps running total of
transfers
9999 Dec (Max 9999)
Software
The extended memory Modbus read and write functions are described in the
Modbus Protocol Reference Guide (PI-MBUS-300) as Read/Write General
Reference function codes 20 and 21. The only difference in the E984-251/255 extra
register implementation is the size of the extended memory, which changes the
number of files and the number of registers.
The following table show the E984-251/255 extra register implementation.
Type
E984-251
E984-255
State RAM
2K words
2K words
Extended Memory
24K words
24K words
Number of Files
3 files
3 files
4K words
4K words
Note: Incrementing the pointer beyond 9999 results in an error. However, if the
count is larger, the function block accesses the next file.
61
Software
SAVE Instruction
Block
(E984-258/265/
275/285 Only)
The SAVE block saves a block of 4x registers to state RAM. State RAM protects the
registers from unauthorized modification.
l The size is three nodes
l The PLC compatibility is PC-E984-258, PC-E984-265, PC-E984-275, and PCE984-285.
l The opcode is 54 hex
The following figure shows the block structure of the SAVE block.
Start SAVE
operation
4xxxx
1, 2, 3, 4
SAVE is active
SAVE
#0512
l Inputs
l
l
l
62
SAVE has one control input that starts the operation and it should remain ON until
the operation has completed successfully or an error has occurred.
Outputs
SAVE may produce two possible outputs. The outputs from the top node goes
ON while a SAVE operation is in progress. The output from the middle node goes
ON when previously saved data has not been accessed using the LOAD
instruction. This prevents inadvertent overwriting of data in the SAVE buffer.
Top Node Content
The top node specifies a block of 4x registers to be saved to state RAM. The 4x
register entered here defines the beginning register of the block.
Middle Node Content
The middle node defines the specific buffer, within state RAM, where the block of
data is to be saved. Four 512 word buffers are allowed. Each buffer is defined by
placing its corresponding value in the middle node, that is, the value 1 represents
the first buffer, value 2 represents the second buffer and so on. The legal values
are 1, 2, 3, and 4. When the PLC is started all four buffers are zeroed. Therefore,
you may not SAVE data to the same buffer without first transferring data in the
buffer to 4x registers by using the LOAD instruction. When this is attempted the
middle output goes ON. In other words, once a buffer is used, it may not be used
again until the data has been removed.
Bottom Node Content
The bottom node contains the number of holding registers to be saved. The range
is 1 ... 512.
Software
LOAD
Instruction Block
(E984-258/265/
275/285 Only)
The LOAD block loads a block of 4x registers (previously saved) from state RAM
where they are protected from unauthorized modification.
l The size is three nodes high
l The PLC compatibility is PC-E984-258, PC-E984-265, PC-E984-275, and PCE984-285.
l The opcode is 55 hex
The following figure shows the block structure of the LOAD block.
Start LOAD
operation
4xxxx
LOAD is active
1, 2, 3, 4
Nothing SAVED
LOAD
#0512
l Inputs
l
l
l
LOAD has one control input that starts the operation and it should remain ON until
the operation has completed successfully or an error has occurred.
Outputs
LOAD may produce three possible outputs. The outputs from the top node goes
ON while a LOAD operation is in progress. The output from the middle node goes
ON when a LOAD is requested from a buffer where no data has been saved.
Therefore, no LOAD is allowed. This prevents inadvertent overwriting of data in
state RAM. The output from the bottom node goes ON when a LOAD request is
not equal to the registers that were saved.
Top Node Content
The top node specifies a block of 4x registers to be loaded from state RAM. The
4x register entered here defines the beginning register of the block.
Middle Node Content
The middle node defines the specific buffer where the block of data is to be
loaded. Four 512 word buffers are allowed. Each buffer is defines by placing its
corresponding value in the middle node, that is, the value 1 represents the first
buffer, value 2 represents the second buffer and so on. The legal values are 1, 2,
3, and 4. When the PLC is started all four buffers are zeroed. Therefore, you may
not LOAD data from the same buffer without first saving it. When this is attempted
the middle output goes ON. In other words, once a buffer is used, it may not be
used again until the data has been removed.
Bottom Node Content
The bottom node contains the number of words to be loaded. The range is 1...
512.
63
Software
Description of
the DLOG
Instruction Block
(E984-275/285
Only)
The DLOG (data logging) block allows state RAM data to be recorded into the
memory of a PCMCIA card using ladder logic.
Note: Each segment in the PCMCIA card MUST be erased before any locations,
in the segment, are written, this is necessary because the PCMCIA driver does not
allow 0 bits in the card to be changed to 1 bits via a write command. Only an erase
can make this change.
The DLOG (data logging) block has the following characteristics:
l The size is three nodes high
l The PLC compatibility is PC-E984-275, and PC-E984-285.
l The opcode is 56 hex
64
Software
Representation
control
block
Terminate active
DLOG operation
data
area
DLOG
Operation is active
DLOG Error
Operation successful
length
The following list provides detailed information about inputs to, outputs from, sand
the node content of DLOG.
l Inputs
DLOG has two possible control inputs:
l The top input should remain ON until the operation has completed
successfully or an error occurs.
l The middle input stops the active operation of the instruction block.
Note that data format and its frequency of writing is determined by your
application. Note also that the DLOG block operates only with AMD flash cards.
For information about Compact Accessories for PCMCIA cards, refer to Compact
Accessories, p. 193.
l Outputs
DLOG can produce three possible outputs:
l The outputs from the top node goes ON while a DLOG operation is in
progress.
l The output from the middle node goes ON if DLOG detects an error during a
DLOG operation.
l The output from the bottom node goes ON if DLOG operation is successfully
completed.
l Top Node Content
65
Software
The following table defines the 4x registers in the DLOG control block.
Register Function
Description
Content
4x
Error Status
4x+1
DLOG Function
4x+2
PCMCIA Card
Block Identifier
4x+3
PCMCIA Card
Byte Address
within the Block
Identified
4x+4
4x Register
Counter
1 ... 100*
*Note: No Read or Write can be > 65,536 words. Therefore, your PCMCIA Card Address
within the Block Identified (4x+3) plus your 4x Register Counter (4x+4) MUST NOT exceed
65,536 words.
66
Software
Relocating Logic
from One 984 to
Another
The only constraints on logic relocation are that the program in the source controller
must generate logic that implements only instruction and/or function blocks
acceptable to the target controller. Also, the size of the source logic program must
not exceed the memory limits of the target controller.
For a detailed description of relocating 984 logic and its operations, see the Modsoft
Programmer User Manual (890 USE 115 00).
67
Software
68
Communication Capabilities
3
At a Glance
Introduction
Whats in this
Chapter?
Page
70
72
79
80
84
86
87
88
91
94
97
99
69
Communication Capabiliites
Modbus Protocol
Features
70
The A984-1xx and E984-241/251 CPUs are equipped with a nine-pin RS-232C
connector that supports Modicons proprietary Modbus communication protocol.
l For connection to a 25-pin XT-type panel, use a Modicon W951 (null modem)
cable or the cable shown in the figure that follows.
l For connection to a 9-pin AT-type panel, use a Modicon AS-W952-01 2 cable.
The W952 cable is 12 ft long.
The following figure shows the Modbus port pinouts (Controller to 9-Pin and 25Pin Panel Connections)
Quantum
IBM-XT
Quantum
IBM-AT
9-Pin Female
CD
1
9-Pin Male
1 SHIELD
RX
RX
TX
RX
TX
TX
RX
TX
DTR
DTR
RTS
DTR
GROUND5
5 GROUND
CTS
GROUND
DSR
DSR
DSR
RTS
RTS
GROUND 7
RTS
CTS
CTS
NC
CTS
NC
DTR
20
NC
DSR
25-Pin Female
SHIELD 1
9-Pin Male
1 SHIELD
The Modbus protocol can be used for programming or for data transfer; the
controller responds to transactions initiated by a host device connected to the
controllers communication processor at a Modbus port. Modbus facilitates
communication with host devices, such as a programming panel or a P965 Data
Access Panel, and it also supports a multi-controller (master-slave) communications
networking strategy. The P965 does not support the E984-258/265/275/285 PLCs.
Communication Capabiliites
MODBUS Port
Parameters
(2-Position Slide
Switch)
Use the communication parameter slide switch on the front panel of the controller to
specify Modbus port parameters as follows.
l In the default position ( = ), port one automatically adopts these parameters:
9600 baud, EVEN parity, RTU mode.
l In the mem position ( O ) the port assumes the parameters that you have
specified in the configurator editor in panel software.
l Use of this switch in the context of Modbus Plus communications is discussed in
Modbus Plus Communications E984-265/275/285, p. 84
The first time that you connect a programming panel to start the controller, your
panel device must use the following Modbus port parameters: 9600 baud, EVEN
parity, RTU mode, 1 stop bit, Modbus port address 1.
The following figure shows the Modbus port switch.
default
mem
Note: Port 2 of the A984-1xx, and E984-24x/251/255 models does not support the
following Modbus port parameters.
l ASCII 7 data bits - 1 stop - no parity= 9 bits (illegal)
l RTU 8 data bits - 2 stop - parity = 12 bits (illegal)
71
Communication Capabiliites
The E984-258/265/275/285 CPUs are equipped with two RS-232 ports using eightpin RJ45 (phone jack-type) connectors that support Modicons proprietary Modbus
communication protocol.
l For connection to a 9-pin AT-type panel, use a Modicon 110XCA20300 adapter.
l For connection to a 25-pin XT-type panel, use a Modicon 110XCA20400 adapter.
Physical
Connector
(RJ45 to 9-Pin)
The following figure shows the physical layout of the RJ45 to 9-pin connector.
110XCA20300
9-Pin Female Adapter
Pin 1
Pin 9
Front View
50.8mm
(2 in)
Side View
72
Communication Capabiliites
Connector
Pinouts
(RJ45 to 9-Pin)
The following table describes the connector pinouts of the RJ45 to 9-pin
connector.
Signal Name
Pinout
+5VDC
(150ma Limit)
TXD
RXD
DSR
GND
Signal
Name
DCD
Yes
RXD
Yes
TXD
Yes
DTR
Yes
GND
6 Connected to
Pins 2 and 4
DSR
*CTS
7 Jumpered
7 Jumpered
RTS
*RTS
6 Jumpered
8 Jumpered
CTS
RI
Chassis
Ground
Yes
73
Communication Capabiliites
Physical
Connector
(RJ45 to 25-Pin)
The following figure shows the physical layout of the RJ45 to 25-pin connector
pinouts.
110XCA20400
25-Pin Female Adapter
Pin 1
Pin 25
Front View
74
39.6 mm
(1.56 in)
Side View
Communication Capabiliites
Connector
Pinouts
(RJ45 to 25-Pin)
The following table describes the connector pinouts of the RJ45 to 25-pin.
Signal Name
Pinout
+5VDC
1
(150ma Limit)
Signal
Name
RXD
Yes
TXD
TXD
Yes
RXD
*CTS
7 Jumpered
4 Jumpered
DTS
*RTS
6 Jumpered
5 Jumpered
CTS
6 Connected to
pins 2 and 20
DSR
GND
Yes
GND
DCD
DSR
Yes
20
DTR
Chassis
Ground
Yes
Chassis
Ground
Note: If Pin 1 of either Modbus port 1 or port 2 of the E984-258 or -258C PLC is
shorted to GND, excessive current draw above 150 ma can cause the power
supply and PLC to shut down.
75
Communication Capabiliites
MODBUS Port
Parameters
(3-Position Slide
Switch)
Two three-position slide switches are located on the front of the E984-258/265/275/
285 PLCs. The three-position slide switch on the bottom is used to select the
communication parameter settings for Modbus (RJ45) port one. The top switch is
used for memory protection in the top position, no memory protection in the middle
position, and swapping PCMCIA card (pull-PC 275/285 only) in the bottom position.
When you connect a programming panel to start the controller for the first time, your
panel device must use the following Modbus port parameters: 9600 baud, EVEN
parity, RTU mode, Modbus port address 1.
The following figure shows the switch positions for the various 275/285 and 258/265
models.
275/285
258/265
mem prot
off
pull-PC
mem prot
off
ASCII
ASCII
RTU
RTU
mem
mem
76
Communication Capabiliites
3-Position Slide
Switch Setting
Options
Value
Baud
2,400
Parity
Even
Data Bits
Stop Bits
Device Address
Setting the slide switch to the middle position assigns remote terminal unit (RTU)
functionality to port 1.
The following table shows the values of the communication port parameters if the
slide switch is set to the middle position (RTU functionality). The values are fixed;
you cannot change them.
Parameter
Fixed Value
Baud
9,600
Parity
Even
Data Bits
Stop Bits
Device Address
77
Communication Capabiliites
Setting the slide switch to the bottom position enables you to use software to
configure the values of the communication port parameters.
The following table lists the communication port parameters that you can configure
if the slide switch is set to the bottom position (using software). The table includes
the valid values for the parameters.
Parameter
Baud
CTS/RTS
Communication
Delays for
Communication
Port 1
78
1,200
9,600
600
7,200
300
4,800
150
3,600
134.5
2,400
110
2,000
75
1,800
50
Parity
Enable/Disable Odd/Even
Data Bits
7/8
Stop Bits
1/2
Device Address
1 ... 247
Your application may require the use of time delays. (For more information, see
CTS/RTS Communication Delays for Communication Port 1 (E984-258/265/275/
285 Only), p. 21).
Communication Capabiliites
Modbus can operate in two communication modes: ASCII (the ANSI standard for
inter-device communications) and RTU.
How to Specify
Modbus Port
Parameters
For the A984 and E984-241/251, refer to MODBUS Port Parameters (2-Position
Slide Switch), p. 71. For the E984-258/265/275/285, refer to MODBUS Port
Parameters (3-Position Slide Switch), p. 76. Use of this switch in the context of
Modbus Plus communications is discussed in Communication Parameters Slide
Switch -Bridge Mode, p. 83.
Setting Up a
Communications
Network Over
Modbus
79
Communication Capabiliites
Each node on a Modbus Plus network must be assigned a unique address in the
range 1 ... 64 using switches 1 ... 6 on the addressing DIP switch on the top front of
the A984-145, E984-245/255 bezel.
6-Position DIP
Switch-Node
Addressing
Switches Shown in
OFF Position
R = OFF
L = ON
L
The following table shows the actual Modbus Plus Node Address Settings for the
A984-145, E984-245/255 PLC switches.
Address
Switch Positions
1
80
Communication Capabiliites
Address
Switch Positions
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
81
Communication Capabiliites
82
Address
Switch Positions
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
Communication Capabiliites
Communication
Parameters Slide
Switch-Bridge
Mode
Bridge mode allows you to access nodes on a Modbus Plus network from a Modbus
master device (connected to the standard Modbus port). To set the Modbus Plus
bridge mode for port 1 of the A984-145, and E984-245/255 Controllers, set the slide
switch to default position, the controllers bridge mode is automatically enabled.
When in the memory position (MEM), bridge mode can be enabled or disabled in the
Modbus port parameter settings of the controllers configuration table. When bridge
mode is enabled the port always uses the Modbus Plus address setting.
83
Communication Capabiliites
Each node on a Modbus Plus network must have a unique address from 1-64 using
the two rotary switches on the front of the E984-265/275/285 bezel.
Two rotary switches are used for setting Modbus Plus node and Modbus port 1
addresses. SW1 (the top switch) sets the upper digit (tens) of the address; SW2 (the
bottom switch) sets the lower digit (ones) of the address.
The following figure shows the correct setting for example address 11.
SW1 (Top)
3
4
6
9
3
4
SW2 (Bottom)
The following table lists the SW1 and SW2 address settings.
Node Address
SW1 X10
SW2 X1
1 ... 9
1 ... 9
10 ... 19
0 ... 9
20 ... 29
0 ... 9
30 ... 39
0 ... 9
40 ... 49
0 ... 9
50 ... 59
0 ... 9
60 ... 64
0 ... 4
Note: If "0" or an address greater than 64 is selected, the Modbus Plus LED
remains on steady to indicate that an invalid address was selected.
84
Communication Capabiliites
Communication
Parameters Slide
Switch-Bridge
Mode
Bridge mode allows you to access nodes on a Modbus Plus network from a Modbus
master device (connected to the standard Modbus port). To set the Modbus Plus
bridge mode for port 1 of the E984-265/275/285 Controllers, set the slide switch to
either the ASCII or RTU position.
In the memory position (MEM), bridge mode is enabled (or disabled) by the Modbus
port parameter setting in the Controller configuration table. If bridge mode is
enabled, the port always uses the Modbus Plus address.
85
Communication Capabiliites
The MB Plus LED is a green indicator that shows the type of communications activity
on the Modbus Plus port on A984-145, E984-245/255/265/275/285 Controllers. A
specific flash pattern indicates the nature of the Modbus Plus communication
activity:
The following table lists the LEDs flash patterns and their meanings.
LED Flash Patters
Description
The normal operating state for a Modbus Plus node. The node is
successfully receiving and passing the token. All nodes on the
network should be flashing this pattern.
The node is offline after just being powered up, or after hearing a
message from another node with the same address (duplicate
addresses are not allowed). In this state, the node monitors the
network and builds a table of active nodes and token-holding
nodes. It remains in this state for five seconds, then attempts to go
to its normal operating state.
The node is hearing the token being passed among other nodes,
but is never receiving the token. Check the network link for an
open or short circuit, or defective termination.
Three flashes, then OFF The node is not hearing any other nodes. It is periodically
for 1.7 seconds
claiming the token, but finding no other node to which to pass it.
Check the network link for an open or short circuit, or for a
defective termination.
86
The node has heard a valid message from another node that is
using the same address as this node. The node remains offline in
this state as long as it continues to hear the duplicate address. If
the duplicate address is not heard for five seconds, the node then
changes to the pattern of one flash every second.
On steady
Communication Capabiliites
87
Communication Capabiliites
Modbus Plus is a local area network designed for industrial control applications. It
enables the A984-145, E984-245/255/265/275/285 Controllers to become a node
on the network and to communicate with other 984 controllers, host computers, and
special bridge and multiplexer devices. A network may comprise one or more
communication sections. One section can support up to 32 nodes. Up to 64 nodes
can exist on a network.
The following figure shows the maximum linear configuration.
32 Nodes/
Section Max
End
Node
RR85
Repeater
RR85
Repeater
RR85
Repeater
End
Node
88
Communication Capabiliites
Multiple Modbus Plus networks can be interconnected using a BP85 Bridge Plus
device.
The following figure shows multiple networks linked by Bridge Plus.
Network A (Up to 64 Nodes)
Node 5
Node
Node 6
Node 8
Node
Node
Node 7
BP85
Node 4
Node
Node 5
Node 6
Node
= Terminating Connector
= Inline Connector
Each node within a network must have a unique address number in the range 1 ...
64. The node address of a 984 chassis mount controller is specified using a set of
DIP switches provided on the top front of the A984-145, E984-245/255 models. The
E984-265/275/285 uses the rotary switches.
Modbus Plus uses a proprietary protocol that delivers high performance intercommunication capabilities at a data transfer rate of 1 Mbit/s. The network medium is
twisted-pair shielded cable, laid out in a sequential multidrop path directly between
successive nodes.
Modbus Plus
Token Rotation
Each node on a Modbus Plus network functions as a peer on a logical ring, gaining
access to the network upon receipt of a token frame. The token is a bit grouping that
is passed in a rotating address sequence from one node to the next. While an
individual node holds the token, it may initiate data read/write and statistical
transactions with other nodes; when the node passes its token, it may write to a
global database that is maintained by all nodes on the network. Use of this global
database allows rapid updating of alarms, setpoints, and other data.
89
Communication Capabiliites
A984-145 (or any programmable controller with Modbus Plus capability) may initiate
network communication using a ladder logic function called MSTR. MSTR allows
you to specify the type of communications transaction you want to carry out and to
define the routing path over which you wish the transaction to take place.
The MSTR block is part of the standard A984-145, E984-245/255/265/275/285
instruction set, contained in the system executive. Modbus Plus transactions can be
accessed from the FFB communication library in the IEC program sections of
Concept for the E984-258/265/275/285.
Note: To have a good understanding of the Modbus Plus theory of operations, to
be able to plan the layout of the total network, and to meet all the requirements of
the network cable installation, refer to the Modicon Modbus Plus Network Planning
and Installation Guide (890 USE 100 00). Also, you may wish to refer to Modbus
Protocol Reference Guide (PI-MBUS-300). For a full description of the MSTR
function block, refer to the Modicon Ladder Logic Block Library User Guide (840
USE 101 00).
Point to point data can be transacted while a node holds the token and during its
token pass with Modbus Plus Peer Cop. Up to 500 words (16bits each) can be
directed to specific data references in node devices prior to release of the token
frame, and up to 32 words can be globally broadcast to all nodes as part of the token
frame.
Note: In order to thoroughly understand Peer Cop theory of operations, to be able
to plan the layout of the total network, and to meet all the requirements of the
network cable installation, refer to the Modicon Modbus Plus Network Planning and
Installation Guide (890 USE 100 00).
90
Communication Capabiliites
Settings for
Modbus Mode
For Modbus mode, set the switch to the mem position for the A984-145, E984-245/
255, and E984-/265/275/285 Controllers, and use the configuration editor to assign
the values for the Modbus port parameters.
Note: The Modbus Plus hardware address is always used in bridge mode.
If a software setting is used to enable bridge mode, all of the memory port
parameter settings are set by software except for the address parameter.
Settings for
Bridge Mode
Bridge mode allows you to access nodes on a Modbus Plus network from a Modbus
master device (connected to the Modbus port).
Set Modbus Plus bridge mode, as follows:
l For the E984-245/255 and A984-145 Controllers, set the slide switch to default
position, the controllers bridge mode is automatically enabled.
l For the E984-265/275/285 Controllers, set the slide switch to either ASCII or RTU
position, the controllers bridge mode is automatically enabled. (See MODBUS
Port Parameters (3-Position Slide Switch), p. 76 for information about configuring
port parameters.)
Modbus Port
Parameter
Settings
The Modbus port parameters are set to 9600 baud, RTU mode (8 data bits and 1
stop bit), and even parity, the same default conditions as the -120 and -130
Controllers.
Unique to the A984-145, E984-245/255, E984-265/275/285, however, is the default
port address. Instead of defaulting to Modbus port address 1, it defaults to the
Modbus Plus port address set by the DIP switch at the top of the (A984-145, E984245/255 PLCs) or by the rotary switches at the top of the (E984-265/275/285 PLCs).
91
Communication Capabiliites
Modbus Master
Device
Connections
If a Modbus master device is connected to the Modbus port while the A984-145,
E984-245/255/265/275/285 is in bridge mode, the master device can be attached to
the local controller or to any other node on Modbus Plus.
l If you attach to the local controller, messages from the Modbus master are sent
directly to the local A984-145, E984-245/255/265/275/285 without being routed
over a Modbus Plus communication path.
l If you attach to any other node on the network, the message is routed through the
Modbus Plus port to the destination device.
If you are connecting a Modbus master device to a node on Modbus Plus, always
use the Modbus Plus address of the target node.
l If you are attaching to the local Compact PLC in bridge mode, the master
automatically attaches to the Modbus Plus node address, which can only be set
by hardware -- either with the DIP switch (A984-145, E984-245/255) or with the
rotary switches (E984-265/275/285) on the local controller.
l If you want to attach to any other Modbus Plus node, the Modbus master device
must specify that node by Modbus Plus address.
CAUTION
Failure to enter correct Modbus Plus address for controller.
If you are accustomed to using Modbus master devices (such as
programming panels) with Modicon programmable controllers in unnetworked environments, you may be used to attaching to the local
controller by addressing it as device #1-the default device address in
the configurator editor. Be aware that in a Modbus Plus network
environment you must know the Modbus Plus address of the controller
(or any other nodal device) with which you want to communicate, and
you must specify that address correctly in the attach procedure. If you
want to attach to a node on Modbus Plus but do not know its network
address, get this information from your network supervisor before
proceeding.
Failure to observe this precaution can result in injury or
equipment damage.
Note: When a Modbus port is used in bridge mode, it must be connected to a single
Modbus master device. That is, the bridge cannot be used as a connection for a
Modbus Slave device network.
92
Communication Capabiliites
Addressing
Ranges on
Modbus Plus
A single Modbus Plus network can have up to 64 addressable nodes, each with a
unique address in the range 1 ... 64. (See Modbus Plus Communications A984-145,
E984-245/255, p. 80 for more information about address settings). The Modbus
master device connected to the Modbus port can attach to any node using direct
attach address routing, simply by specifying the correct address in the range 1 ... 64.
Multiple networks can be joined via BP85 Bridge Plus devices, and nodes across
multiple networks can be addressed. An addressing capability outside the 1 ... 64
range is required.
In Modbus Plus, an explicit and an implicit attach address routing strategy are
available for this purpose. These routing techniques are described in Modbus Plus
Address Routing Schemes, p. 94.
93
Communication Capabiliites
94
Modbus devices use addresses of one byte in the range 1 ... 255. Modbus Plus
devices are addressed in the range 1 ... 64, with five consecutive routing bytes
contained in each message. When a Modbus message is received at the Modbus
port on the A984-145, E984-245/255/265/275/285 Controllers, the single-byte
address contained in the message is converted into a five-byte routing path for
Modbus Plus. The five bytes of routing are imbedded in a Modbus Plus message
frame as it is sent from the originating node.
Communication Capabiliites
Destination
Device
Requirements
The structure of the Modbus Plus routing address is determined by the type of
device at the destination node:
l If you are initiating a transaction with another 984 controller, the last (rightmost)
nonzero byte in the routing scheme is the destination node address
l If you are initiating a transaction with a network adapter in a non-controller nodee.g., an SA85-the next to the last nonzero byte is the destination node address,
and the last nonzero byte is the task # (range: 1 ... 8)
l If you are initiating a transaction with a single slave on a Bridge MUX port, the
next to the last nonzero byte is the Bridge MUX node address, and the last
nonzero byte is the desired MUX port # (range: 1 ... 4)
l If you are initiating a transaction with a slave device on a Modbus network
connected to a Bridge MUX, the second from the last nonzero byte is the node
address of the MUX, the next to the last nonzero byte is the desired MUX port #
(range: 1 ... 4), and the last nonzero byte is the desired Modbus slave address
(range: 1 ... 247)
Any leading nonzero bytes ahead of the address bytes described above are
Bridge Plus node addresses.
Assume, for example, that your routing path is to a controller two networks
removed from the originating 984. The message is routed first to a BP85 Bridge
Plus at node address 25. The bridge forwards the message to node 20, a BP85
Bridge Plus device on the second network. Node 20 forwards the message to the
destination controller node address 12 on the third network. The zero-content
bytes in the fourth and fifth routing bytes specify that no further routing is required
beyond the third byte:
The following figure shows an example of a message frame routing path.
Modbus Plus Message Frame
Routing
Bytes
Start
PLC
25 20 12 0
End
0
NODE 12
Routing Address 1
Routing Address 2
Routing Address 3
Routing Address 4
Routing Address 5
95
Communication Capabiliites
96
Communication Capabiliites
The manner in which Modbus Plus converts a Modbus message using bridge mode
is determined by the range of the Modbus address (1 ... 255):
This shows the address location and the various attach states.
255
Implicit Attach
Address
80
79
70
69
65
64
Explicit Attach
Address
Reserved
Direct Attach
Address
1
0
Reserved
If the address range in the Modbus message is between 1 ... 64, the message is
routed to the corresponding Modbus Plus node address on the local network. This
routing procedure is called direct attach address. Direct attach address routing
implies that a nonzero value exists in only routing address 1 in the Modbus Plus
message frame; it does not allow you to send the incoming Modbus message
beyond the local network.
97
Communication Capabiliites
Note: After the controllers Modbus Plus node address is entered while in bridge
mode, then you will be attached to that controller.
If the address range in the Modbus message is between 70 ... 79, the controller
initiates an explicit attach address procedure which compares the Modbus address
to an address table stored in the controller, immediately following the configured
4xxxx real time clock. Up to 10 addresses in the range 70 ... 79 become pointers
to the table, which contains up to 10 stored routing paths for Modbus Plus. Each
routing path is five bytes in length. The routing path pointed to by each address is
applied to the corresponding message.
Explicit attach address routing implies that nonzero values may exist in any or all
routing addresses in the Modbus Plus message frame; it allows you to send
incoming Modbus messages through as many as four BP85 Bridge Plus devices
across as many as five Modbus Plus networks.
If the address range in the Modbus message is between 80 ... 255, the controller
initiates an implicit attach address procedure which divides the address by 10 and
uses the quotient and remainder as the first and second bytes, respectively, in a
routing path. Implicit attach address routing implies that there may be nonzero
values in routing addresses 1 and 2 in the Modbus Plus message frame; it allows
you to send incoming Modbus messages through one BP85 Bridge Plus device
across up to two Modbus Plus networks.
98
Communication Capabiliites
Four Types of
Communication
Paths
99
Communication Capabiliites
100
Hardware Planning
4
At a Glance
Introduction
Use the information in this chapter to correctly plan your compact system hardware
layout.
Whats in this
Chapter?
Page
102
104
106
108
101
Hardware Planning
Compact Controllers and their associated A120 I/O modules reside in backplane
housings that are installed on DIN EN 50 022 carrier rails. A DIN rail can be attached
to a flat mounting surface or hung on an EIA rack or in NEMA cabinet.
The DIN rail also provides the functional ground point for the Compact system.
This is a DIN EN 50 022 Carrier Rail.
35 mm
102
Hardware Planning
Space
Requirements
for Mounting DIN
Rail
A DIN rail mounting surface must be at least 225 mm (8.86 in) long for a single
backplane; four full-length backplanes require a 920 mm (36.2 in) DIN rail.
The following figure shows the minimum and maximum width requirements for
installation
125 mm
(4.92 in)
920 mm
(36.2 in)
215 mm
(8.46 in)
10 mm
.39 in)
Primary
Backplane
Secondary
Backplane
Secondary
Backplane
A DIN rail may be installed in an enclosed cabinet built to the following dimensions:
This shows the depth requirements.
1 MINIMUM
100
mm
3.9 in
200
mm
7.8 in
130 mm
5.07 in
130 mm
5.07 in
130 mm
5.07 in
103
Hardware Planning
A Compact Controller and its associated A120 I/O modules are installed in DTA
backplanes which mount on the DIN rail. Three backplanes are available: the
primary DTA 200, and two optional secondary DTA 201 and DTA 202 backplanes.
At a minimum, your drop must have a DTA 200 primary backplane. The Compact
Controller will reside in the two leftmost slots in the DTA 200 backplane, it plugs into
a 30-pin power supply connector and two 30-receptacle connectors. Three
additional 30-receptacle slots available for A120 I/O modules or option modules
such as the P120 ac-to-dc Power Supply or A120 simulator modules. Only one DTA
200 backplane is used in a drop.
This shows the DTA 200 primary backplane.
Ground-Contact
Through-Holes
30-Receptacle
I/O Bus
Connectors
Power Supply
Connector
Bus Extension
Connector
Securing
Clips
Additional
Fastening Screws
Optional plastic
spacer strip
provided with DTA
housing for 15 mm
DIN rail mounting
The DTA 200 is 213.4 mm wide x 142 mm high x 31 mm deep, and drops onto a DIN
EN 50 022 carrier rail, two clips at the bottom of the backplane secure the unit to the
DIN rail. On the right side of the DTA 200 backplane is a 30-pin I/O bus extension
connector that allows you to connect a secondary (DTA 201 or DTA 202) backplane.
Six through-holes provide spaces through which mounted units may make contact
with functional ground on the DIN rail.
104
Hardware Planning
Two-Slot and
Five-Slot
Secondary
Backplanes
The DTA 201 five-slot backplane is 213.4 mm wide x 142 mm high x 31 mm deep.
It has a 30-pin bus extension connector on its right side, allowing you to add another
extension backplane to the drop. As many as three DTA 201 backplanes may be
used in a drop, and they may be used in either a linear drop layout (along one
common DIN rail) or in a stacked drop layout (two DIN rails, one over the other).
The DTA 202 two-slot backplane 91.5 mm wide x 142 mm high x 31 mm deep. Its
backplane does not have a bus extension connector on its right side, and, if it is
used, it must be the last backplane in the drop. If you plan to use a DTA 202
backplane, remember that only one may be used in the drop, and it may be used
only in a linear drop layout.(That is, not in a stacked drop layout.)
105
Hardware Planning
Linear Layouts
The leftmost backplane on the DIN rail must be the DTA 200 primary backplane. Up
to three secondary backplanes may be interconnected to the right of the primary
backplane. You may use:
l One DTA 202 secondary backplane with the DTA 200
l As many as three DTA 201 secondary backplanes together with the DTA 200
l One or two DTA 201 secondary backplanes together with one DTA 202
secondary backplane with the DTA 200
If you use a DTA 202 backplane in your drop, it must be the last (rightmost)
backplane in the drop.
106
Hardware Planning
DTA 200
DTA 200
DTA 201
DTA 200
DTA 201
DTA 200
DTA 201
DTA 201
DTA 200
DTA 201
DTA 201
DTA 200
DTA 202
DTA 201
DTA 202
DTA 201
DTA 202
DTA 201
107
Hardware Planning
Backplanes in a drop may also be stacked on two DIN rails and connected by a BXT
201 (30-pin female-to-female connectors) bus extension cable, or a BXT 203 (30pin female-to-male connectors) bus extension cable. There may be either one or two
racks on each DIN rail. (See Using a BXT 201 Cable (30-Pin Female-to-Female
Connectors), p. 108 if using a BXT 201 cable; see Using a BXT 203 Cable (30-Pin
Female-to-Male Connectors), p. 111 if using a BXT 203 cable.)
Note: The BXT 201 cable connectors are polarized and must be connected
properly-the A connector must be attached to the top backplane, and the B
connector must be attached to the bottom backplane.
108
Hardware Planning
l CASE 1: A single DTA 200 backplane over two DTA 201 backplanes; the BXT
201 runs from rack 1 to rack 3.
Case 1.
DTA 200 (Rack 1)
A
BXT 201
DTA 201 (Rack 2)
l CASE 2: A DTA 200 backplane and one DTA 201 backplane over two DTA 201
backplanes; the BXT 201 runs from rack 2 to rack 4.
Case 2.
DTA 200 (Rack 1)
BXT 201
B
In case 1, the drop is traffic copped as three consecutive racks (rack 1 ... rack 3); in
case 2, the drop is traffic copped as four consecutive racks (rack 1 ... rack 4).
109
Hardware Planning
Variations on the
Stacked Drop
Layouts
You can vary the two stack topologies to accommodate a one-over-one or two-overone layout:
l Variation on Case 1: A single DTA 200 backplane over one DTA 201 backplane,
in this case, the traffic cop skips rack 2 and defines modules in racks 1 and 3.
Variation on case 1.
DTA 200 (Rack 1)
BXT 201
B
l Variation on Case 2: A DTA 200 backplane and one DTA 201 backplane over one
DTA 201 backplane, in this case, the traffic cop skips rack 3 and defines modules
in racks 1, 2, and 4.
Variation on case 2.
DTA 200 (Rack 1)
A
DTA 201 (Rack 4)
BXT 201
B
110
Hardware Planning
l Case 1: A single DTA 200 backplane over one DTA 201 backplane, in this case,
the traffic cop defines modules in racks 1 and 2.A single DTA 200 backplane over
one DTA 201 backplane, in this case, the traffic cop defines modules in racks 1
and 2.
This shows case 1.
l Case 2: A DTA 200 backplane and one DTA 201 backplane over one DTA 201
backplane, in this case, the traffic cop defines modules in racks 1, 2, and 3.
This shows case 2.
111
Hardware Planning
l Case 3: A DTA 200 backplane over one DTA 201 backplane, in this case, the
traffic cop defines modules in racks 1, 2, and 3.
This shows case 3.
DTA 200 (Rack 1)
BXT 203
DTA 201 (Rack 2)
112
Hardware Installation
5
At a Glance
Introduction
Whats in this
Chapter?
Topic
Page
114
116
119
121
123
125
127
131
113
Hardware Installation
Action
Place the top clip on the back of the DTA backplane over the top of the DIN carrier
rail and drop the unit into place.
Refer to the following graphic.
1
If the DIN rail is mounted on a wall, the backplane will fall flush against the mounting
surface, as shown in (A) below. If you are using a 15 mm DIN rail, remember to insert
the mounting brace on the lower backside of the backplane before mounting it, as
shown in (B) below.
Refer to the following graphic.
Backplane
Mounting Brace
(A)
114
(B)
Hardware Installation
Step
Action
Push up the securing clips on the bottom of the backplane to clamp the unit onto the
DIN rail.
Refer to the following graphic.
115
Hardware Installation
The DTA 200 primary backplane must be rack 1 (the leftmost rack) on the DIN rail.
One and only one DTA 200 must be used in each Compact Controller installation.
Up to three secondary backplanes may be mounted to the right of the DTA 200
primary backplane on a common DIN rail.
Interlocking
Adjacent
Backplanes
Action
Mount a secondary backplane flush against the DTA 200 primary backplane on the DIN rail.
Release the two 30-pin bus connector latches on the primary backplane, and remove the protective cover.
Plug the 30-receptacle bus cable connector on the secondary backplane into the 30-pin bus connector on the
primary backplane.
Refer to the following graphic.
DTA 200
DTA 201
116
Hardware Installation
Action
Loosen the screws that secure the ground strap on the secondary backplane and the 0 V system reference
connector on the primary backplane:
Refer to the following graphic.
O V System
Reference
Connector
O V Ground
Strap
Slide the ground strap left, then secure the ground connection across the backplanes by tightening the two
screws:
Refer to the following graphic.
One or two more (a maximum total of three) secondary housings can be grounded together side by side in
this manner.
117
Hardware Installation
WARNING
Connector warning
If you use a DTA 202 secondary backplane which does not have a 30pin bus connector on it, it must be the last (rightmost) backplane in the
linear drop layout. A DTA 202 cannot be used in a stacked drop layout.
Failure to observe this precaution can result in severe injury or
equipment damage.
118
Hardware Installation
If you are installing a stacked configuration (two rows of backplanes installed one
over the other on two parallel DIN rails), you may connect the last (rightmost)
backplane in the top row to the last (rightmost) backplane in the bottom row using a
BXT 201 bu
The BXT 201 bus extension cable is 500 mm (19.7 in) long; it may be run either from
rack 1 in the top row to rack 3 in the bottom row or from rack 2 in the top row to rack
4 in the bottom row. (See Planning a Stacked Drop Layout , p. 108.) A stacked
installation may use DTA 201 secondary backplanes in conjunction with a DTA 200
primary backplane; DTA 202 secondary backplanes cannot be used.
Both ends of the BXT 201 cable are 30-receptacle bus connectors that mate with the
30-pin connectors on the right sides of the two backplanes. A ground strap on each
end of the cable should also be connected to the system reference connectors on
the two backplanes.
The following figure shows the connection for the BXT 201 cable.
119
Hardware Installation
Note: The BXT 201 cable connectors are polarized and must be connected
properly to the backplanes-the only visible distinction between the two connectors
are the labels A and B. The A connector must be attached to the top backplane,
and the B connector must be attached to the bottom backplane.
Two strain relief cleats are provided with the BXT 201 cable. They can be attached
to the top and bottom DIN rails in the following manner:
The following figure shows how to install the strain relief cleats.
120
(a)
(b)
(c)
(d)
Hardware Installation
If you are installing a stacked configuration, two rows of backplanes installed one
over the other on two parallel DIN rails, you may connect the last (rightmost)
backplane in the top row to the first (leftmost) backplane in the bottom row using a
BXT 203 bus
This cable is 700 mm (27.5 in) long; it may be run either from rack 1 in the top row
to rack 2 in the bottom row or from rack 2 in the top row to rack 3 in the bottom row
or from rack 1 in the top row to rack 2 in the bottom row. (See Using a BXT 203 Cable
(30-Pin Female-to-Male Connectors), p. 111.) A stacked installation may use DTA
201 secondary backplanes in conjunction with a DTA 200 primary backplane; DTA
202 secondary backplanes cannot be used.
Both ends of the BXT 203 cable are 30-receptacle bus connectors that mate with the
30-pin connectors on the right side of one backplane to the left side of the other
backplane. A ground strap on each end of the cable should also be connected to the
system reference connectors on the two backplanes.
This shows the ground strap connection.
121
Hardware Installation
Note: The BXT 203 cable can be installed only one way, because it consists of one
30-pin female connector and one 30-pin male connector.
Two strain relief cleats are provided with the BXT 203 cable. They can be attached
to the top and bottom DIN rails as shown in the following figure.
122
(a)
(b)
(c)
(d)
Hardware Installation
The Compact Controllers and the A120 I/O modules are designed for easy
installation. The controller is installed in the first slot in a primary backplane, and I/O
modules may be installed in any other slots in a primary or secondary backplane.
Attach the module to a hook at the top of the DTA backplane and drop it into the
housing. The 20-pin bus connector on the back of the module mates with the 20receptacle connector on the backplane, and the metal spring-loaded wire on the
back of the module passes through a hole in the backplane to make ground contact
with the DIN rail. Tighten the screw at the bottom of the module to fasten it to the
backplane.
This shows the two connection points.
1
CAUTION
We recommend that you use solid wire for all terminal
connections.
Neat and proper workmanship methods by qualified personnel must be
employed when making connections to all system modules. Take extra
precautions if you are using stranded wire, ensure that loose or
projecting strands do not short circuit or ground other terminals.
Failure to observe this precaution can result in injury or
equipment damage.
123
Hardware Installation
If all of the modules are installed in the backplane and the module connections are
appropriately wired, place the cover over the assembly.
The cover provides a clear pocket over each I/O slot where you can insert the label
that comes with each module (as shown in the following figure). The LEDs on the
modules remain clearly visible.
124
Hardware Installation
A front and profile view of a Compact rack installation are shown in the following
figures.
This shows the front view of the Compact rack installation.
213 mm
(8.4 in)
142 mm
(5.6 in)
8 mm (0.3 in)
125
Hardware Installation
7.5 mm
(0.3 in)
126
127 mm
(5 in)
Hardware Installation
The Compact Controllers and some of the A120 I/O modules require an external
power source.
Power
Requirements
for a Compact
All the Compact Controllers require a 24 Vdc power source to operate. (Detailed
information appears in the note in this block.) Modicon offers the optional P120-000,
P120-125, P120-250, PRTU-252, and PRTU-258 Power Supplies. These are
designed in the A120 I/O module form factor, so that they can be inserted into any
available slot in a DTA backplane. (For details about the P120s, see Appendix A120
Power Supplies, p. 177.)
Note: It is not recommended that a single power supply be used to power the
Compact and its I/O. A separate supply is recommended to reduce the risk of field
noise affecting the controllers operation. This is also beneficial in cases of singlesupply configurations, since a field point failure could cause the controller to shut
down.
The power requirement for the various PLC models is:
l A984-1xx/E984-24x/251/255 PLCs is 24 Vdc -15% +20% maximum steady
state input current 1 A and 2 A peak.
l E984-258/285 PLCs is 24 Vdc -30% +25% maximum steady state input current
1 A @24Vdc.
l E984-265/275 PLCs is 24 Vdc -20% +25% maximum steady state input current
1.1 A @24Vdc.
127
Hardware Installation
Power
Requirements
for the A120 I/O
Modules
128
Some A120 I/O modules require a separate external AC or DC power source. If the
CPU is powered from its 24 Vdc source, its built-in 5 Vdc power supply provides
power across the I/O system bus to all modules in the drop.
This table lists the values for both internal and external power draws.
A120 I/O Module
Internal Power
Draw mA @ 5V
<50
<50
<100
<100
<90
<1
<170
<100
<150
<100
<120
<30
<5
AS-BDAP-204 (2 A Relay)
<25
<150
AS-BDAP-208 (2 A Relay)
<60
<150
<55
<70
<30
<25
<50
<60
<175
<60
<150
<15
<150
<15
<70
<25
<150
<15
<150
<30
<30
<35
<35
AS-BDEP-214 (60Vdc)
<22
AS-BDEP-215 (24Vdc)
<35
Hardware Installation
Internal Power
Draw mA @ 5V
AS-BDEP-217 (24Vdc)
<25
<25
<15
<150
<50
<150
AS-BDEP-257 (110Vdc)
<25
<40
<25
<125 @60Vdc
<25
<125@ 48Vdc
<60
<150
<250 @24Vdc
AS-BDAU-208 (+10 V)
<30
<120
<1
<70
<275
<275
<100
<300
<600
<250
<300
AS-BZAE-201 (2 A Relay)
<100
<30
<100
<55
*Both the BDEA-202 and BDEA-203 comes with a built-in power supply that provides 1600
MA (maximum) to the 5V I/O bus.
Note: For more detail specifications, please refer to the A120 Series I/O Modules
User Guide (890 USE 109 00 formerly GM-A984-IOS).
129
Hardware Installation
Daisy Chaining
Groups of
Similar I/O
Modules
You can daisy chain groups of similar modules within a drop that requires voltages
from external power sources. Each group, however, should have dedicated wires
to the external power supplies. Typical groups include 24 Vdc input/output modules,
120 Vac input/output modules, 230 Vac modules, or analog modules.
The following figure is an example of how a group of relay modules can be daisy
chained.
+24 VDC
DAP 212
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
DAP 208
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
24 V Common
Note: The shaded areas denote the internal jumpers on the modules printed circuit
boards.
130
Hardware Installation
DX
RX
CX
24 V Common
DEO 216
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
DEP 216
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
DAP 204
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
DAP 212
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
U1
I1
U2
I2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
RX = 1 / 3
DX is load- and power supply-dependent
CX is load-dependent
Fuse values are determined by the modules and field devices used. DX, RX, and
CX are not required but are recommended in the event field devices are causing
noise spikes on the power line which may affect operation. For a 24 Vdc supply, DX
may be rated at 30 V minimum. Power rating is load-dependent. CX may be a 0.1
microfarad disk but results should be verified with an oscilloscope and the value
adjusted accordingly.
131
Hardware Installation
The following figure is an example of the recommended field wiring and fusing
scheme for some ac output modules. Fuses and RC suppression component values
must be selected according to load requirements. Loads are shown as boxes. Four
of a possible eight loads are shown connected to the DAP 208 module, and all ac
input power wiring is shown.
AC Hot
DAP 204
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
DAP 208
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
DAP 212
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
AC Neutral
Note: The shaded areas denote internal jumpers on the modules printed circuit
boards.
132
6
At a Glance
Introduction
The following information describes the wiring and cabling of your Compact system.
Whats in this
Chapter?
Topic
Page
134
136
138
139
133
Equipotential
Bonding
Protective
Grounding
134
Functional
Grounding
CPU
DTA 201
P120
DTA 201
DTA 201
DTA 200
DTA 201
Building Metal or
Bonding Surface
If you are not using a dedicated equipotential bonding path, you should tie the
primary DIN rail to the buildings structural metal via mounting hardware, metal
conductor, or metal braid installed without bends or loops.
135
The masked copper grid on the primary DTA 200 housings circuit board is the
system reference ground. If the DTA 200 housing is mounted on the DIN rail, the
functional ground and system reference ground are connected together (only with
the Z screw installed with the fiber washer on top and the metal washer on the
bottom against the housing). This creates a closed circuit whereby the system
reference ground is established. All DTA 200 housings are shipped from the factory
with the circuit closed. This is accomplished by the Z screw and washers, which
makes physical connection between the system reference ground and the spring
clips that complete the connection to functional ground.
The following figure shows the ground connections on a DTA 200 primary
backplane.
DIN Rail
(Functional
Ground)
Z screw
Ground-Contact
Through-Holes
Reference
Ground Point
Only the DTA 200 primary backplane can provide the Z screw connection to the
system functional ground on the DIN rail. The DTA 201 and DTA 202 secondary
backplanes do not have Z screws.
Note: If local environmental conditions warrant, you can, optionally, remove the Z
screw to provide isolation between the reference and functional grounds.
Reference and functional grounds are routed through an RC filter rather than
directly coupled either when the Z screw is installed (only with the Z screw installed
with the metal washer on top and the fiber washer on the bottom against the
housing), or if both the Z screw and both washers are removed. Either way an open
circuit is created.
136
Under certain conditions (painted, coated, or corrosive DIN rails) and with certain I/
O modules, the DIN rail ground may NOT be adequate. The DIN rail resistance
should not exceed 0.1 Ohms.
To check this specification just measure the voltage drop as described and then
calculate the resistance. A constant current of 30A for at least 2 minutes should be
applied between the earthing terminal or contact and each accessible metal part
intended to be earthed. The current should be maintained or adjusted accordingly
during this test to 30A. Any convenient low voltage not exceeding 12V may be used.
The voltage drop should be measured between the points of current flow. Ensure
that the contact resistance between the tip of the measuring probe and the metal
part underneath does not influence the test results.
If the calculated resistance is greater than 0.1 Ohms, we recommend using Tinn DIN
rail models.
The following I/O modules are more sensitive to this type of ground issue: MOT
201/202, ADU 204, ADU 211/212, VRC 200, and CTR 205/212/224.
WARNING
Some DIN rails ship with a protective coating that must be removed to
ensure proper grounding.
Failure to observe this precaution can result in severe injury or
equipment damage.
Other Ground
Contact Points
on the DTA
Backplanes
All DTA backplanes (the DTA 201 and 202 secondary backplanes as well as the
DTA 200) provide a reference ground point on the right side of the backplane. This
connection point may be used as the reference ground for test equipment and for
the BXT 201 cable ground wire in a stacked drop layout.
All DTA backplanes have ground-contact through-holes, so that I/O modules with
ground contact pins can make contact with the DIN rail.
137
As part of your installation procedure, take care to protect the Compact Controller
from extraneous electrical noise interference caused by system wiring. The single
best precaution that can be taken against radiated electrical noise is mounting the
system inside a metal cabinet that is grounded to the buildings structural metal.
Even office environments can benefit from this precaution.
General
Precautions
Against EMI/RFI
Cabinet
Installations
138
139
Grounding and
Power
Distribution
Example
The two illustrations that follow provide an example of a Compact system layout for
grounding and power distribution. Because of the size, this example is divided into
two parts.
The following figure comprises part 1 of a Compact system layout for grounding and
power distribution.
+5 V
System Ground
A
B
984 CPU
P120
Power Supply
24 VDC
DAP 204
DAP 208
DAP 212
+
Z
Screw
GND
1, 12
Closed without
washer to make
ground
11, 22
C
D
DIN Rail
Functional
Ground
E
F
Building
Ground
G
H
I
140
The following figure comprises part 2 of a Compact system layout for grounding and
power distribution.
+5 V
A
B
System Ground
ZAE 201
ZAE 204
ADU 206
DAP 220
DAO 216
DAU 208
DAU 202
DAP 216
12, 13
DEP 216
DEP 220
DEO 216
DAP 212
DEP 208
DEP 209
DEP 210
DEP 218
DAP 209
ADU 204
ADU 205
13
21, 22
11, 22
1, 12
2, 13
1 12
22
C
D
DAP 210
DAP 218
F1*
F2*
L
11, 12
24 VDC
Supply
E
F3*
GND
F4
F
1 Amp
L
AC Source
G
H
I
* SIZED AS REQUIRED
F1
F2
F3
F4
24 VDC
24 VDC
115 VAC
115 VAC
141
142
Appendices
At a Glance
Introduction
Whats in this
Appendix?
Chapter
Chapter Name
Page
Getting Started
145
System Specifications
159
CE Requirements
167
177
Compact Accessories
193
Health Status
199
209
143
Appendices
144
Getting Started
A
At a Glance
Introduction
Certain Compact PLC models are supported by Modsoft panel software while other
Compact PLC models are supported by Concept panel software. The following
information provides multistep procedure used to get your Compact PLC up and
running with either Modsoft or Concept.
Whats in this
Chapter?
Topic
Page
146
150
145
Getting Started
The purpose of this section is to help a new user become familiar with the Compact
PLC. The following steps walk you through removing the Compact PLC from the box
to forcing on a coil using Modsoft.
Note: You may use Modsoft with the following Compact PLCs: A984-120/13x/14x,
and E984-24x/251/255.
Start-Up
Procedure Using
Modsoft with
Your Compact
Stage 1
146
This procedure takes a Compact from the box to forcing on a coil using Modsoft in
4 stages. The following table includes the steps the first stage.
Step
Action
Install DAP216 into slot 5. For wiring diagrams for the two I/O modules, see the
Modicon A120 Series I/O Modules User Guide (890 USE 109 00).
Getting Started
Start-Up
Procedure Using
Modsoft with
Your Compact
Stage 2
Action
10
Select Compact.
11
Select E255.
12
13
Select I/O Map, (F4) this places you at rack 1, slot position 101... 105. Leave slot
103 blank because the P120-000 power supply resides in this slot.
14
15
16
Select DEP216.
17
18
Select DAP216.
19
20
21
147
Getting Started
Start-Up
Procedure Using
Modsoft with
Your Compact
Stage 3
148
Action
Ensure the MEM/DEF toggle switch is set to DEF. (if you have an A984 or
E984-241/251 PLC).
Press ENTER. This will download your program to the Compact PLC.
A message appears and asks you if you want to start the PLC, type Y.
10
11
12
A message appears and asks you if you want to create a new network, type Y.
13
Press ENTER.
14
Press the TAB key once, this places the cursor in the network.
15
16
17
18
19
20
21
22
Getting Started
Start-Up
Procedure Using
Modsoft with
Your Compact
Stage 4:
Simulating
Turning on the
Input
Hit ALT F2 to move the cursor into the reference data area.
Enter 100001.
Move cursor to bit field, and enter 1. This turns on output 1. Do not forget to
enable the bit before processing further. Move cursor to enable field, and enter
E to enable.
Note:Do not forget to enable the hit before processing further. Move the cursor to the
enable field, and enter E to enable.
149
Getting Started
This section provides a brief description of how to create a project, for a connection
layout between programming unit and PLC, for the downloading of a user program
into the PLC, as well as on project documentation.
Note: You must use Concept with the following Compact PLCs: E984-258, E984265, E984-275, and E984-285.
150
Getting Started
Creating a
Project Stage 1
Use the following the procedure to creating a project. in Concept. Note that the
procedure is organized into four stages. Following is stage 1.
Step
Action
Result
Start Concept.
10
11
151
Getting Started
Creating a
Project Stage 2
152
10
11
12
13
Getting Started
Creating a
Project Stage 3
Open the FFBs from Library xxx dialog using objects > FFB selection.
Place the cursor cross at the left side of the contact (till
you get the checkmark symbol).
10
Place the cursor cross at the EFB input (till you get the
checkmark symbol).
11
12
13
Place the cursor cross at the CLK1 output and click with
the left mouse button.
14
Place the cursor cross at the CLK5 output and click with
the left mouse button.
15
16
17
18
19
20
21
22
23
153
Getting Started
Creating a
Project Stage 4
Using the
Concept PLC
Simulator
154
Stage 4 of creating a project shows how use the Concept PLC Simulator..
1
10
11
12
13
14
15
Getting Started
Building the
Connection
Action
Using Modbus
Use the menu command Online ->
Connect... to open the dialog box for the
connection layout.
10
11
Result
155
Getting Started
Downloading the
User program
156
Action
Result
Open Project.
Getting Started
Forcing an Input
Action
Result
Click on the value field and type 1 <ENTER> Forces the input On or Off dependent
to force the input on, 0 <ENTER> to force
on the value used (1or 0).
the input off.
CAUTION
You must enable the input before performing further processing.
Do not forget to enable the input before processing further.
Failure to observe this precaution can result in injury or
equipment damage.
157
Getting Started
158
System Specifications
B
Compact Specifications
Compact PLC
System
Specifications
The following information describes the technical specifications for the Compact
PLC system.
The technical specifications are organized as five tables.
159
System Specifications
160
PC-A984120
With one Modbus communication port standard, and a slot for an 8 or 32 byte EEPROM; User
logic size: 1.5K words, 8Mhz.
PC-A984130
With one Modbus communication port standard, and a slot for an 8 or 32 byte EEPROM; User
logic size: 4.0K words, 8Mhz.
PC-A984145
With one Modbus communication port and one Modbus Plus peer-to-peer network
communication port standard, and a slot for an 8 or 32 byte EEPROM; User logic size: 8.0K
words, 8Mhz.
PC-A984131
With two Modbus communication ports standard, and a slot for an 8 or 32 byte EEPROM; User
logic size: 4.0K words, 8Mhz.
PC-A984141
With two Modbus communication ports standard, and a slot for an 8 or 32 byte EEPROM; User
logic size: 8.0K words, 8Mhz.
PC-E984241
With two Modbus communication ports standard, and a slot for an 8 or 32 byte EEPROM; User
logic size: 8.0K words, FLASH RAM (exec only), 16Mhz.
PC-E984245
With one Modbus communication port and one Modbus Plus peer-to-peer network
communication port standard, and a slot for an 8 or 32 byte EEPROM; User logic size: 8.0K
words, FLASH RAM (exec only), 16Mhz.
PC-E984251
With two Modbus communication ports standard, and a slot for an 8 or 32 byte EEPROM; User
logic size:16.0K Words FLASH RAM (exec only), 16Mhz, 24K of extended registers.
PC-E984255
With one Modbus communication port and one Modbus Plus peer-to-peer network
communication port standard, and a slot for an 8 or 32 byte EEPROM; User logic size: 16.0K
words, FLASH RAM exec only), 16Mhz, 24K of extended registers.
PC-E984258
With two Modbus communication ports standard; User logic size: 16.0K words, State RAM
size: 32K words, Total size: 48K words, 128K words of configurable SDA 6X registers, FLASH
RAM (exec plus user program storage), 25Mhz, operating temperature -40 ... +70C, the Run,
Ready, Modbus 1 and Modbus 2 LEDs are yellow. TOD sync with GPS input terminals.
PC-E984265
With two Modbus communication ports and one Modbus Plus peer-to-peer network
communication port standard; User logic size: 8.0K words, State RAM size: 16K words, Total
size: 24K words, 128K words of configurable SDA 6X registers, FLASH RAM (exec plus user
program storage), 25Mhz. TOD sync with GPS input terminals.
PC-E984275
With two Modbus communication ports and one Modbus Plus peer-to-peer network
communication port standard; User logic size: 16.0K words, State RAM size: 32K words, Total
size: 48K words, 128K words of configurable SDA 6X registers, FLASH RAM (exec plus user
program storage), 25Mhz, and one PCMCIA slot. TOD sync with GPS input terminals.
PC-E984285
With two Modbus communication ports and one Modbus Plus peer-to-peer network
communication port standard; User logic size: 32.0K words, State RAM size: 64K words, Total
size: 96K words, 128K words of configurable SDA 6X registers, FLASH RAM (exec plus user
program storage), 25Mhz, operating temperature -40 ... +70C and one PCMCIA card slot. TOD
sync with GPS input terminals.
System Specifications
2k
E984-258/275
32k
E984-265
16k
E984-285
64k
Word size
16 bit
Technology
Battery
I/O
I/O type supported
Capabilities Local I/O support
A120 Series
One, I/O Mapped as drop #1
I/O racks/drop
I/O modules/drop
18 (maximum) three in the primary rack and five in each expansion rack
None
I/O
Capacity
(Maximum)
A984-1xx&E984-24x/251/255 256 maximum Discrete I/O points, any mix (0x, 1x)
64 words Register I/O (32 in/32 out) (3x, 4x)
E984-258&
E984-265
PLC Power
I/O Bus
Power
PCMCIA
(E984-275/
285)
E984-275
E984-285
E984-258/285
24 Vdc -30% +25% maximum steady state input current 1.0A @24 Vdc
E984-265/275
24 Vdc -20% +25% maximum steady state input current 1.1A @24 Vdc
5 Vdc @ 2.5 A
E984-265/275
5 Vdc @ 3.0 A
E984-258/285
5 Vdc @ 2.5 A
Current Rating
Compliance Standard
161
System Specifications
Throughput
0984/A984 PICs
E984-24x/25x
E984-258/265/
275/285
E984-258/265/
275/285 PLCs
Only
Timers
Watch Dog Timer 250 ms, with nominal +10%, selectable time-out
(A984, E984- Time of Day
Variation @ 255 C = < + 30 seconds/month Max.
241/25 1/255) Clock
Variation @ 605 C = + 4 minutes/month
Timers
Watch Dog Timer 250 ms (S/W adjustable)
(E984-258/26 Time of Day
+ 8.0 seconds/day @ 0 ... 605 C
5/275/285
Clock
CPU
Diagnostic
Procedures
162
Schedule
Tests
Normal CPU
failure response
Error code
accessibility
Catastrophic
failure response
Executive
failures (E984s)
System Specifications
PC-A984-145
PC-A984-130
PC-A984-120
PC-A984-131
PC-A984-141
PC-E984-241
PC-E984-245
PC-E984-251
PC-E984-255
PC-E984-258
PC-E984-265
PC-E984-275
PC-E984-285
AS-HTDA-200
AS-HTDA-201
AS-HTDA-202
Agency
A984-120/131/1
Approvals 41
A984-145, E984241/251/2 55
E984-258/265/2
75/285
Note: E984-258C meets Railway standard EN 50 155 because it has yellow LEDs,
extended operating temperature, conformal coating, and can be operated with no
battery in addition to other requirements.
163
System Specifications
Language
Panel Software
SW-MSxD-9SA
Full-feature Modsoft
372SPU44001
Concept
371SPU921000
Modsoft Lite
SW-MSLA-W9F
371SPU68001
ProWORX
Loadable
SW-AP98-GDA
Support Software SW-AP98-SDA
SW-SASI-001
SW-AP9D-EDA
SW-EUCA-D8L
SW-HLTH-D8L
SW-IODR-001
164
System Specifications
Environmental
System
Specifications
All Compact 984 PLCs and all power supplies are designed to the following
environmental standards.
The environmental system specifications are provided in the following table.
Operating Conditions
Storage Conditions
Electromagnetic
Susceptibility
Power Supply
Requirements
Temperature
Relative Humidity
Chemical
Interactions
Altitude
15,000 ft (4500 m)
Vibration
Free Fall
3 ft (1 m)
Temperature
Relative Humidity
Shock
Radiated
Surge Withstand
Transients
Ringwave
Fast Transients
P120-000
P120-125
P120-250
PRTU-252
PRTU-258
165
System Specifications
166
CE Requirements
C
Requirements for CE Compliance
Overview
The Compact 984 component you have determines to which information you should
refer for your EMC requirements.
Note: The E984-258/265/275/285 PLCs meet EMC requirements by design.
Therefore, none of the following information applies to these four PLC models.
167
CE Requirements
Installation
Requirements
for Certain
Compact Family
Products
168
CE Requirements
Negative
Conductor
CPU/PS
+24Vin
-24Vin
I/O
I/O
B
M
O
T
2
0
1
0V Reference
Shield
Braid
No
Connection
Here
2 Conductor Cable
with Braided Shield
169
CE Requirements
This table shows the Parts List for Callouts for Above and Below.
Callout
Vendor (or
equivalent)
Part Number
Description
Instruction
Modicon
Shipped with
backplane
Plastic Cover
Installation is Required.
2
3
Modicon
043509693
Steward
(Outside the
United States
call Livingston,
Scotland at
(0044) 1-506414-200)
170
Braided Shielded
Cable. 80% shield
coverage, #of
conductor and gauge
per user
requirements.
CE Requirements
The following figure shows how the configuration looks using the parts in this table.
DIN Rail
Reference
Ground Point
2
4
5
Insulation Removed
in Region Near Grounding Clip
(Both Input and Output Cables)
171
CE Requirements
Installation
Requirements
for Certain
Compact Family
Products
172
Follow these requirements for installations that must comply with the CE marking:
l Install equipment following approved EMC practices, i.e. protective earthing and
functional earthing, connections with good conductivity, and grounding cables of
sufficient cross section
l Avoid all sources of electrical disturbance in proximity of the equipment,
encapsulation with metallic walls
l Use manufacturer approved cabling
l Use EMC compliant grounding of cable shielding (proper mechanical connection,
connection surface, clamps)
l Separate data and signal cable routing, which emit disturbances (e.g. power
cables with switching transients)
l Use the prescribed suppression filters and their competent installation
To improve EMC stability on the modules it is recommended that the U (voltage) and
M (common) connections used here have a capacitive discharge that is as short as
possible from the terminal towards the functional earth. This is the purpose of the
capacitive discharge terminal (GND 001), refer to the following figure. In an
environment that has a high interference level, an increase of the capacity on the C1
from 2.2 nF to 22 nF is recommended.
CE Requirements
DTA 200
2.5 qmm
2.5 qmm
C1
6 qmm
Z3
Z2
DTA 201
DTA 201/202
173
CE Requirements
1 2
3 4
5 6
7 8
C1
2.5 qmm Cu
M
9 10 11 12 13 14 15 16
Note: Earthing system of the 0V on the rack is already preset when delivered.
174
CE Requirements
For earthing systems of the shielded cable lines, the following table provides an
overview of recommended shielded cables.
Types
Features
Use
KAB-2277-LI
KAB-2205-LI
shielded, twisted-pair, 2 x 2 x 0.5 qmm System field bus to DEA 201; inputs,
outputs for ADU and DAU; counting
input for ZAE 204; pulse counter for
ZAE 201
KAB-0505-LI
KAB-0875-LI
KAB-1005-LI
KAB-1014-LI
175
CE Requirements
176
D
At a Glance
Introduction
The following information describes the two optional power supplies that are
currently available for the Compact PLC system.
Whats in this
Chapter?
Page
178
P120-000 Specifications
180
181
P120-125 Specifications
183
184
186
187
190
177
L
VAC
IN
24
24
VDC
VDC
OUT
OUT
+
-
CAUTION
Remove power before making any connections.
Neat and proper workmanship methods by qualified personnel must be
employed when making connections to this module. Take extra
precautions if you are using stranded wire. Ensure that loose or
projecting strands do not short circuit or ground the other terminals. We
recommend that you use solid wire.
Failure to observe this precaution can result in injury or
equipment damage.
178
The P120 module is designed to be inserted in any available I/O slot in the DTA 200
backplane just like a standard A120 I/O module, but it does not make any
connections to the backplane. No jumper changes or switch setting changes are
required when changing from 115 Vac to 230 Vac power input, or when changing
from 230 Vac to 115 Vac input.
Overload and
Overvoltage
Protection
The P120 has internal overvoltage protection, preventing the output voltage from
exceeding 35 V should the supply lose regulation. If an overvoltage condition is
sensed, the P120 shuts down and will not restart until the ac input power source has
been turned OFF for a minimum of 5 min. The P120 also has internal overload
protection which permits the unit to safely transition into a short circuit for a period
no greater than 5 min.
LED Indicator
The P120 has one green LED indicating when ON that the unit is supplying DC
power within regulation (+5%). Marginal regulation-line voltage provided but below
the required 5% minimum-causes the LED to glow dimly. The LED goes OFF upon
loss of regulation.
Note: It is not recommended that a single P120 power supply be used to power
the Compact 984 and its I/O.
A separate supply, which may be a P120, is recommended to reduce the risk of
field noise affecting the controllers operation. This is also beneficial in cases of
single-supply configurations, where a field point failure could cause the controller
to shut down
179
P120-000 Specifications
Specifications
for the P120-000
Power Supply
47Hz ... 63 Hz
Ground Leakage
Input Current
Output Ratings
Reliability
Dimensions
Inrush current
Output Voltage
24 Vdc (+5%)
Current
0 ... 1 A continuous
Ripple/Noise
Holdup
Transient Load
Performance
Power-up Stability
Service Life
5 yr
MTBF
WxHxD
Weight
180
The P120-125 is an isolated power supply for a Compact 984 CPU installed in a dc
environment
The unit accepts inputs voltages from 105 to 150 Vdc source and outputs 24 Vdc to
the CPU up to 1.5 A continuous current. The P120-125 module is designed to be
inserted in any available I/O slot in the backplane just like a standard A120 I/O
module, but it does not make any connections in the backplane.
The following figure shows the front view of the P120-125 power supply.
P120
L
VAC
IN
24
24
VDC
VDC
OUT
OUT
+
-
CAUTION
Remove power before making any connections.
Neat and proper workmanship methods by qualified personnel must be
employed when making connections to this module. Take extra
precautions if you are using stranded wire. Ensure that loose or
projecting strands do not short-circuit or ground the other terminals. We
recommend that you use solid wire.
Failure to observe this precaution can result in injury or
equipment damage.
181
Overload and
Overvoltage
Protection
The P120-125 has internal overvoltage protection, preventing the output voltage
from exceeding 36 V should the supply lose regulation. The P120-125 also has
internal overload protection which permits the unit to safely transition into a short
circuit for a period no greater than 5 min.
LED Indicator
The P120-125 has one green LED indicating, when ON, that the unit is supplying dc
power within regulation (+5%). Marginal regulation-line voltage provided but below
the required 5% minimum-causes the LED to glow dimly. The LED goes OFF upon
loss of regulation.
Note: It is not recommended that a single P120-125 power supply be used to
power the Compact 984 and its I/O.
A separate supply, which may be a P120-125, is recommended to reduce the risk
of field noise affecting the controllers operation. This is also beneficial in cases of
single-supply configurations, where a field point failure could cause the controller
to shut down.
182
P120-125 Specifications
P120-125
Power Supply
Specifications
The following table lists the technical specifications of the P120-125 power supply.
Input Ratings
Output Ratings
Reliability
Dimensions
Inrush current
Output Voltage
24 Vdc (+5%)
Current
Ripple/Noise
Holdup
Power-up Stability
Service Life
5 yr
MTBF
WxHxD
Weight
183
The P120-250 is an AC input isolated power supply module for a Compact 984 CPU
installed in a DC environment. It is also suitable for use with the A120 I/O. A
conformal coated version, the P120-250C, is also available.
The P120-250(C) accepts input voltages from 90 to 264 VAC, and supplies 24 VDC
to the CPU at 2.0 A continuous current.
This supply is designed to be inserted in any available I/O slot in the backplane just
like the standard A120 I/O module, but connections are not made through the
backplane. Connections are made to the appropriate terminals located on the front
of the Power supply.
The following figure shows the front view of the P120-250(C) power supply.
ASP120
18
19
20
21
18
19
20
21
22
184
22
AC IN
+ 24 VDC
- OUT
DANGER
Hazard of Electric Shock, Burn, or Explosion
This equipment must be installed and serviced only by qualified
electrical personnel.
l Turn off all power supplying this equipment before working on or
inside equipment.
l Always use a properly rated voltage sensing device to confirm power
is off.
l Replace all devices, doors, and covers before turning on power to
this equipment.
l Take extra precautions if you are using stranded wire. Ensure that
loose or projecting strands do not short-circuit ground or other
terminals. We recommend that you use solid wire.
Failure to observe this precaution will result in death or serious
injury.
Overload and
Overvoltage
Protection
Should the supply lose regulation it has an internal over voltage protection that
prevents the output from exceeding 35 V. If an over voltage condition is sensed the
the module will shut down and will not restart until the AC input source has been
turned off for a minimum of 5 minutes.
LED Indicator
This power supply has one green LED indicating, when on, that the unit is supplying
DC power within regulation (+/- 0.5 VDC). The LED goes off upon loss of regulation.
Note: It is not recommended that the same power supply be used to power the
Compact 984 and its I/O.
Separate supplies are recommended to reduce the risk of field noise affecting the
controllers operation. In cases of single supply configurations a field point failure
could cause the power supply, and so the controller, to shut down.
185
Output rating
Reliability
The following table details the technical specifications for the P120-250 power
supply module.
AC Input voltage
range
90 to 264 VAC, 47 to 63 Hz
Ground leakage
current
Input current
0.9A @ 90 VAC
Inrush current
Output voltage
Output Current
12mA to 2A continuous
Ripple/noise
Load regulation
Holdup
Output regulation
Transient load
performance
Service life
5 years
Physical
Format
Characteristics
One slot
Note: A two slot passive mounting frame for panel or rail is available from
Schneider Automation. Part # 42702282
Dimensions
(WxHxD)
Weight
Agency
Approvals
Environmental
Rating
Conducted and
radiated noise
Temperature
Isolation
Input to output
(SELV
Construction)
2500 VRMS
Input to chassis
ground
1500 VRMS
186
These modules are AC input isolated power supplies with user supplied battery
backup for a Compact 984 CPU installed in a DC environment. They are also
suitable for use with the A120 I/O. Conformal coated versions, the PRTU252C and
PRTU258C, are available.
The PRTU252(C) accepts input voltages from 90 to 264 VAC or 8 to 14.5 VDC. It
supplies 24 VDC to the CPU at 2.0A continuous current.
The PRTU258(C) accepts input voltages from 90 to 264 VAC or 30 to 70 VDC. It
supplies 24 VDC to the CPU at 2.0A continuous current.
These supplies may be inserted in any available I/O slot in the backplane just like a
standard A120 I/O module, but connections are not made through the backplane.
Connections are made to the appropriate terminals located on the front of the Power
supply.
The following figure shows the front view of the PRTU252(C) power supply.
RTU252
18
19
20
21
22
L
N
AC IN
+ 24 VDC
- OUT
18
19
20
21
22
18
19
20
21
22
18
8 to 14.5
19
VDC IN
20
21
22
Power Lost
Signal
187
This figure shows the front view of the PRTU258(C) power supply.
RTU258
18
19
20
21
22
L
N
AC IN
+ 24 VDC
- OUT
18
19
20
21
22
18
19
20
21
22
18
30 to 70
19
VDC IN
20
21
22
Power Lost
Signal
DANGER
Hazard of Electric Shock, Burn, or Explosion
This equipment must be installed and serviced only by qualified
electrical personnel.
l Turn off all power supplying this equipment before working on or
inside equipment.
l Always use a properly rated voltage sensing device to confirm power
is off.
l Replace all devices, doors, and covers before turning on power to
this equipment.
l Take extra precautions if you are using stranded wire. Ensure that
loose or projecting strands do not short-circuit ground or other
terminals. We recommend that you use solid wire.
Failure to observe this precaution will result in death or serious
injury.
188
Overload and
Overvoltage
Protection
Should the supplies lose regulation they have internal over voltage protection that
prevents the output from exceeding 35 V. If an over voltage condition is sensed the
modules will shut down and will not restart until the AC or DC input source has been
turned off for a minimum of 5 minutes.
LED Indicators
These power supplies have two indicator LEDs, one green and one red. The green
LED is located on the AC line source side and, when on, indicates that the power
supply is running properly with AC line input present. The red LED, located on the
DC battery power input side indicates, when on, that the supply is running on the
user supplied DC source (battery), and that the AC line input is not present. The
indicator LEDs will not be on at the same time.
Note: It is not recommended that the same power supply be used to power both
the Compact 984 and its I/O.
Separate supplies are recommended to reduce the risk of field noise affecting the
controllers operation. In cases of single supply configurations a field point failure
could cause the power supply, and so the controller, to shut down.
Battery Backup
In the event of a primary power outage the Compact system continues to operate on
the user supplied battery backup and a 24VDC (12mA max.) power lost signal is
generated. This power lost signal may be monitored using a discrete input module
or other method per the user requirement. Battery support time is dependent upon
the Compact system power requirement and the capacity of the user supplied
battery.
189
The following table details the technical specifications for the PRTU252(C) and the
PRTU258(C) power supply modules. All specifications are for both modules except
where indicated.
Input Ratings
Inrush current
Output Ratings Output voltage
5 A typical @
240 VAC
PRTU 252(C)
5.0 A @ 12
VDC
PRTU 258(C)
1.8 A @ 30
VDC
8 A typical @ 12 VDC
5 A typical @ 48 VDC
Output Current
12mA to 2A continuous
Ripple/noise
Load regulation
Holdup
Output regulation
PRTU 252
PRTU 258
Transient load
performance
Power Lost
Signal
Voltage
24 VDC
Current
12 mA Maximum
Reliability
Service life
5 years
Physical
Format
Characteristics
190
0.9A @ 90
VAC
Two slots
Note: A two slot passive mounting frame for panel
or rail is available from Schneider Automation.
Part # 42702282
Dimensions (WxHxD)
Weight
Agency
Approvals
Environmental
Rating
Conducted and
radiated noise
Temperature
Isolation
Input to output
(SELV Construction)
2500 VRMS
191
192
Compact Accessories
E
At a Glance
Introduction
Whats in this
Chapter?
Topic
Page
PLC Accessories
194
196
193
Compact Accessories
PLC Accessories
Listing of PLC
Accessories
The information in the following table describes the PLC Accessories for Compact.
Controller
Accessories
AS-MEEP-000
042710786
AS-P120-000
AS-P120-125
AS-P120-250
AS-PRTU-252
AS-PRTU-258
194
AS-HDTA-200
AS-HDTA-201
AS-HDTA-202
AS-HDTA-200C
AS-HDTA-201C
AS-HDTA-202C
AS-HBOX-201
Compact Accessories
Cables (A984,
E984-24x/25x)
AS-W951-012
AS-W952-012
Front Covers
Cables for
Backplanes
110XCA20300
110XCA20301
110XCA20302
110XCA20400
110XCA20401
110XCA20402
110XCA28201 3ft
(1m)110XCA28202 10ft
(3m)110XCA28203 20ft (6m)
043507936
043507935
Batteries*
Eternacell
60-0576-000
Maxell
60-0576-100
Saft
60-0576-100
Battery dummy
AS-BDUM-001
*Due to size differences, Eternacell batteries must be replaced with other Eternacells. Maxell
and Saft batteries are interchangeable.
Other
Accessories
AS-0TBP-000
AS-0SIM-011
195
Compact Accessories
The following information describes the A120 I/O modules that are available with the
Compact PLC family.
Some A120 I/O modules (DEP 211/214/215/217, DAP211/217, ADU204/211/214/
216, DAU204, VIC2xx, and MOT20x) require loadables (SW-IODR-001) for proper
operation if used with Modsoft and certain PLCs, such as the A984-1xx or the E98424x/251/255. However, separate loadables are not needed if used with Concept and
other PLCs, such as the E984-258/265/275/285. For more information, refer to the
A120 Series I/O Modules User Guide (890 USE 109 00, formerly GM-A984-IOS).
The following table describes the available A120 I/O modules.
Discrete Input
Modules
AS-BDEP-208
AS-BDEP-209
AS-BDEP-210*
AS-BDEP-211*
AS-BDEP-214*/254/254C
16 point 5Vdc
AS-BDEP-215*
AS-BDEP-216/256/256C
16 point 24 Vdc
AS-BDEP-217
16 point 155Vac
AS-BDEP-218*
AS-BDEO-216
AS-BDEP-220
AS-BDEP-257*/257C
16 point 60 Vdc
AS-BDEP-296
16 point 48 Vdc
AS-BDEP-297
196
AS-BDAP-204
AS-BDAP-208/258/258C
AS-BDAP-209
AS-BDAP-210*
AS-BDAP-216N
AS-BDAP-217*
16 point 24-240Vac
AS-BDAP-218*
16 point 24 Vdc
AS-BDAO-216*
Compact Accessories
Discrete
Combination
Modules
Analog Input
Modules
AS-BDAP-212/252/252C
AS-BDAP-220/250/250C
AS-BDAP-252
AS-BDAP-253/253C
AS-BDAP-292
AS-BADU-204/254/254C
AS-BADU-205
4 channel 12 bit
AS-BADU-206*/256/256C
Analog Output
Modules
Intelligent
Modules
**AS-BADU-211*
**AS-BADU-212*
**AS-BADU-214*
AS-BADU-216*
AS-BADU-257/257C*
AS-BDAU-202/252/252C
AS-BDAU-204*
8 channel, 12 bit
AS-BDAU-208*
AS-BZAE-201*
AS-MOT-20X*
**AS-VIC-2XX*,**AS-VRC-2XX*,
**AS-CTR-2XX*
AS-FRQ-204
AS-FRQ-254
197
Compact Accessories
Special
Modules
AS-BBKF-201
AS-BBKF-202
AS-BDEA-202
AS-BDEA-203/253/253C
AS-BNUL-200
AS-BSIM-203
AS-BSIM-216
**Modules not supported in Concept 2.1 or higher. *Modules not supported by the PC-09841XX PLCs.
198
Health Status
F
At a Glance
Introduction
The following information comprises a detailed description of the health status of the
Compact PLCs.
Whats in this
Chapter?
Page
200
Mainframe Status
202
206
Status Information
207
199
Health Status
The Compact Controllers maintain a table in memory that contains vital system
diagnostic information regarding the CPU, I/O, and communications. The following
information explains how Its contents are structured.
The following table lists the vital system diagnostic information that is kept in
memory.
Status Word
1 ... 11
12 ... 15
16 ... 181
Not used
Each status word is 16 bits long, and the status information is conveyed by the
sense of the bits in each word. The illustrations in this map show how the status
information is presented in the status table.
The words in the status table can be accessed in ladder logic using the STAT
instruction. The STAT block displays the bit patterns of the status words in a table
of contiguous 4x registers, the values of which can then be seen in the panel
software.
Note: Although you can specify either a 0x or 4x register in the top node, we
recommend that you specify a 4x because of the excessive number of 0x registers
that would be required to manage the status information.
The register that you specify in the top node of the block is loaded with the current
word 1 bit values, and the number of registers that you specify in the bottom node
are loaded with bit values from the corresponding words in the status table.
For example, if you are interested only in accessing controller status information,
you could specify a register address of 40701 in the top node of the block and a
value of 11 in the bottom node; the bit values of the first 11 words in the status table
are loaded into registers 40701 ... 40711, respectively.
To load the whole status table, specify 184 in the bottom node of the instruction. If
you are not using expanded I/O, you need to specify only 40 in the bottom node to
receive all relevant status information.
Note: You do not have to use the whole status table (184 words).
200
Health Status
STAT Block
Depiction
Structure
Inputs
Nodes
Outputs
Function
Check CPU/
I/O Status
Top:
ON
access
es the
status
table
Top: First
word in the
system
status table
Bottom:
Size of the
status table
Top:
Operation
completed
0x or 4x
STAT
K*
201
Health Status
Mainframe Status
Mainframe
Status Table of
Registers
The first 11 words of the table of registers contains mainframe status information.
Word 1
CPU Status
Note: Bits are mapped 1 ... 16. In all cases, Bit 1 represents the most significant
bit (MSB) in a word.
9 10 11 12 13 14 15 16
Not Used
Not Used
Battery Failed
Memory Protect OFF
Run Light OFF
Power ON
1=16-bit system
Single Sweep Delay Enabled
Constant Sweep Enabled
Bit 7
Single Sweep
Bit 8
Small/Large nodes
1=small, 0=large
Bit 9
Power OK
1=on, 0=off
Bit 10
Run Light
1=off, 0=on
Bit 11
Memory Protect
1=off, 0=on
Bit 12
Battery OK
Word 2
Not Used
202
Health Status
Word 3
Controller Status
10 11 12 13 14 15 16
Not Used
Single Sweeps
First Scan
Bit 2
Bit 3
Bit 4
Bit 13-16
Word 4
Not Used
203
Health Status
Word 5
CPU Stop State
Conditions
9 10 11 12 13 14 15 16
Bad PLC Setup
Coil disabled
in RUN mode
Logic Checksum error
Invalid Node in ladder logic
Not Used
CPU Failure
Real time clock error
Watch Dog Timer has expired
Word 6
Number of
Segments in
Program
10 11 12 13 14 15 16
The EOL pointer in page F. This EOL pointer gives the word offset into page 0 where
the user logic ends. To find this pointer examine word 7. Word 7 gives the word
offset into page F where the EOL pointer may be found. The EOL pointer may be
displayed in hexadecimal, decimal or binary using Modsoft. Most applications use
hexadecimal.
1
2 3 4 5
6 7
8 9 10 11 12 13 14 15 16
204
Health Status
Word 8
Memory Sizing
This word is used only with the A984-141/145, E984-241/245, and E984-251/255. It
provides user logic re-size value after optimization (this is the actual length of
available user logic). For all other models this word is zero (no optimization).
Note: This is not the RI/O time out constant as shown in the Modsoft status screen.
Word 9
Not Used
Word 10
Run/Load/Debug
Status
3 4 5 6 7 8
9 10 11 12 13 14 15 16
Not
Used
Debug= 0 0
Run= 0 1
Load= 1 0
This table describes the Word 10 bit states.
Bit 15-16
Debug Mode
Run Mode
Load Mode
Word 11
Not Used
205
Health Status
Words 12 ... 15 display the health of the A120 I/O modules in the four racks.
The following table shows the layout..
Word No.
Rack No.
Word 12
Rack 1
Word 13
Rack 2
Word 14
Rack 3
Word 15
Rack 4
Each word contains the health status of up to five A120 I/O modules. The most
significant (left-most) bit represents the health of the module in Slot 1 of the rack:
If the bit is set to "1", the condition is TRUE.
1
2 3 4
Slot 1
Slot 2
5 6 7 8
9 10 11 12 13 14 15 16
Not Used
Slot 3
Slot 4
Slot 5
If a module is I/O Mapped and Active, the bit has a value of "1". If a modules is
inactive or not I/O Mapped, the bit has a value of "0".
Note: Slots 1 and 2 in Rack 1 (Word 12) are not used because they are reserved
for use by the controller itself.
206
Health Status
Status Information
Structure of
Status
Information
Three words contain health and communication information on the installed I/O
modules.
If monitored with the Stat block, they are found in Words 182 through 184. This
means that, at a minimum, the length of the Stat block must be 184.
Word 182
Health Status
Word 182 increments each time a module becomes bad. After a module becomes
bad, this counter does not increment again until the module becomes good and then
bad again.
If the bit is 1", then this condition is true or ON.
The following figure shows Word 182.
1 2
3 4
5 6
7 8 9 10 11 12 13 14 15 16
Not Used
Module Went
Unhealthy Counter Used
This error counter is similar to that for a good/bad module. This word, however,
increments every scan that a module remains in the bad state.
Word 184
PAB Bus Retry
Counter
Diagnostics are performed on the communications through the bus. This word
should normally be all zeros. If after 5 retires, a bus error is still detected, the
controller will stop and error code 10 will be displayed. An error rolls over while
running. If the retires are less than 5, no bus error is detected.
207
Health Status
208
G
At a Glance
Introduction
Whats in this
Chapter?
Page
210
211
Battery Maintenance
217
218
219
209
PLC Codes
PLC Error Codes
A 984 PLC, the Compact contains a set of 17 error codes. If the PLC stops, the error
code(s) are displayed on your panel screen.
This table provides information about the seventeen Stopped PLC Error Codes of
the Compact Controller.
Stop Bits
Mnemonic
Description
0x7FFF
PCSICK
Controller unhealthy
0x8000
PCSTOPPED
Controller stopped
0x4000
BADTCOP
0x2000
DIMAWAR
0x1000
PORTIVENT
0x0800
BADSEGSCH
0x0400
SONNOTIST
0x0200
PDCHEKSUM
0x0100
NOEOLDOIO
0x0080
WDTEXPIRE
0x0040
RTCFAILED
0x0020
BADOXUSED
0x0010
PABCOMMERR
0x0008
NODETYPE
0x0004
ULCSUMERR
0x0002
DSCRDISAB
0x0001
BADCONFIG
Stopped error states of various controller nodes may be sent over the Modbus Plus
network using Modbus function 11 hex. Refer to the Modbus Plus Network Planning
and Installation Guide (890USE10000).
Note: Some errors may appear together, i.e. 8200. Refer to status word for exact
bit structure of stop code.
210
The following tables show the number of times that the Run LED program flashes
for each error type and the crash code for the error. (All codes are in hex).
Note: Crash codes are accessible while the exec is flashing.
This table lists the number of flashes indicating each specific Run LED error, the
code for the error, and a description of the error.
Number of Flashes
Code
Continuous
0000
0201
0202
0203
0204
0205
0206
0207
0208
0209
020A
020B
020C
020D
020E
020F
0210
0211
0212
0213
0214
0215
211
Number of Flashes
Code
0301
0302
212
0303
0304
0305
0306
0401
BAD INTERRUPT
0402
0405
0406
0407
0408
0501
0601
0701
Number of Flashes
Code
8001
8002
8003
8004
8014
unexpected int1
8024
divide error
8034
debug exception
8044
breakpoint
8054
overflow
8064
bounds fault
8074
invalid opcode
8084
8094
double fault
80a4
invalid tss
80b4
80c4
stack fault
80d4
80d4
page fault
80e4
80f4
alignment fault
213
214
0202
0203
0204
0205
0206
0207
0208
0209
020A
020B
020C
020D
020E
020F
0210
0211
0212
0213
0214
0215
0301
0302
0303
0304
0305
0306
0401
0402
BAD INTERRUPT
0403
0402
0405
0406
0407
0408
0501
0601
0701
8001
8002
8003
8004
unexpected int1
8014
divide error
8024
debug exception
8034
breakpoint
8044
overflow
8054
bounds fault
8064
invalid opcode
8074
8084
double fault
8094
invalid tss
80a4
80b4
stack fault
80c4
80d4
page fault
80e4
80f4
alignment fault
215
Modbus Plus
LEDs A984-145,
E984-245/255/
265/275/285
The MB Plus LED is a green indicator that shows the type of communication activity
on the Modbus Plus port of the controller. A specific flash pattern indicates the
nature of the current Modbus Plus communication activity:
The following table explains the flash patterns for the Modbus Plus LEDs.
LED Flash Pattern
Description
The normal operating state for a Modbus Plus node. The node is
successfully receiving and passing the token. All nodes on the network
should be flashing this pattern.
The node is hearing the token being passed among other nodes, but it
never receives the token. Check the network link for an open or short
circuit, or for a defective termination.
Three flashes, then The node is not hearing other nodes. It periodically claims the token,
OFF for 1.7 seconds but it finds no other node to which to pass it. Check the network link for
an open or short circuit, or for a defective termination.
Four flashes, then
The node heard a valid message from another node, using the same
OFF for 1.4 seconds address as this node. The node remains offline in this state as long as
it continues to hear the duplicate address. If the duplicate address is
not heard for five seconds, the node changes to the pattern of one flash
every second.
216
Battery Maintenance
Battery
Maintenance
The batteries are used to back up the RAM and to provide power to the clock.
You can access the batteries from the front of the Compact PLCs after you remove
the front panel of the DTA 200.
A new battery is needed when the battery low LED (red) comes ON. The LED
indicates the battery needs to be replaced but it has: a 14 day hold-up for A984-1xx,
E984-24x/251/255 PLCs, or a 10 day hold-up for E984-258/265/275/285 PLCs from
the initial indication. The minimum backup retention period is one-hundred days.
You should replace the battery every five years to assure its backup capacity.
Ensure the supply voltage is switched ON. Remove the DTA 200 front panel, battery
compartment cover, and the battery. Then insert the new battery (+ pole towards
you) and note the date.
CAUTION
Used batteries are hazardous refuse
Please properly dispose of used batteries. Never disassemble, shortcircuit or recharge Lithium batteries. There is the possibility of
supercharge (voltage reversal) if a battery is overheated by external
heat sources.
The following figure shows the proper placement of the battery.
1
217
218
219
Refer to the table for the correct bin files for your E984 Compact controller.
Model
Exec ID
Bin #
PC-E984-241
843
CPU_11.bin
PC-E984-245
84D
CPU_12.bin
PC-E984-251
844
CPU_31.bin
PC-E984-255
84C
CPU_32.bin
PC-E984-258
845
ctsxv200.bin
PC-E984-265
845
ctsxv200.bin
PC-E984-275
845
ctsxv200.bin
PC-E984-285
845
ctsxv200.bin
Note: Internet access to modfax documentation and .bin file flash exec updates,
as well as other Schneider Automation services and information may be found at
our Web site at www.modicon.com.
220
Index
Addressing
Modbus Plus, 93
Auxiliary memory cards, 39
FLASH RAM
Storage, 44
B
Bin numbers, 220
BXT 201 cable, 108
BXT 203, 111
C
Capacitive discharge terminal, 172
CPU status words
Diagnostics, 202
CTS/RTS communication delay
Features, 21
D
DTA 200 primary backplane, 104
DTA 201 secondary backplane, 104
DTA 202 secondary backplane, 104
I
I/O module health status
Diagnostics, 206
M
Modbus master
Slave network, 79
Modbus port A984 & E984-241/251
Pinouts, 70
Modbus port E984-258/265/275/285
Pinouts, 72
N
Network
Modbus communication, 79
O
Optimized mode
A984-1xx, E984-24x/251/255 only, 42
EEPROM
Data transfer, 40
221
Index
P
PCMCIA
Storage, 45
PLC login password
Feature, 20
R
Rotary switches
E984-265/275/285, 84
RTU communication mode, 79
S
Secured data area
Features, 22
Shielding, 168
State RAM, 16
System capacity
All PLC models, 18
T
Time synchronization of the TOD
Features, 22
222