1785 Um022 - en P PDF
1785 Um022 - en P PDF
Controllers
User Manual
(Catalog Numbers
1785-L20C15, 1785-L40C15,
1785-L46C15, 1785-L80C15)
IMPORTANT
ATTENTION
Identifies information that is critical for successful application and understanding of the product.
Identifies information about practices or circumstances that can lead to personal injury or death,
property damage, or economic loss. Attentions help you identify a hazard, avoid a hazard, and
recognize the consequence
SHOCK HAZARD
Labels may be on or inside the equipment, for example, a drive or motor, to alert people that
dangerous voltage may be present.
BURN HAZARD
Labels may be on or inside the equipment, for example, a drive or motor, to alert people that
surfaces may reach dangerous temperatures.
Allen-Bradley, ControlLogix, Data Highway Plus, DH+, FLEX I/O, PLC-2, PLC-3, PLC-5, Rockwell Automation, RSLinx, RSLogix, RSLogix 5000, RSLogix 5, RSNetWorx, RSNetworx for ControlNet, SLC, and
TechConnect are trademarks of Rockwell Automation, Inc.
Trademarks not belonging to Rockwell Automation are property of their respective companies.
Summary of Changes
The information below summarizes the changes to the ControlNet
PLC-5 Programmable Controllers User Manual.
To help you find new and updated information, look for the revision
bars as shown to the left of this paragraph.
Revised Information
Use the following table to understand specific features that are only
available with specific versions and releases of software and PLC-5
processors:
Standard functionality
2.2 or later
Hot Backup (1771 and FLEX I/O) 3.21 or later
Multicast Outputs
3.21 or later
SLC I/O (also with Hot Backup)
5.0 or later
all
PLC-5/40 or -5/80
PLC-5/20, -5/40 or -5/80
PLC-5/40 or -5/80
SOC-ii
Notes
Table of Contents
Chapter 1
Using This Chapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
Prevent Electrostatic Discharge . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
Identifying ControlNet PLC-5 Processor Components . . . . . . . . . . . . . 1-3
Before You Install the Programmable Controller . . . . . . . . . . . . . . . . . 1-5
Install or Remove the Battery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-6
Setting the I/O Chassis Backplane Switches. . . . . . . . . . . . . . . . . . . . 1-9
Setting the I/O Chassis Configuration Plug . . . . . . . . . . . . . . . . . . . . 1-10
Installing Keying Bands for the Processor. . . . . . . . . . . . . . . . . . . . . 1-10
Selecting the DH+ Station Address of Channel 1A . . . . . . . . . . . . . . 1-11
Specifying the Serial Interface of Channel 0 . . . . . . . . . . . . . . . . . . . 1-12
Selecting the ControlNet Network Address of Channel 2 . . . . . . . . . 1-12
Inserting/Removing the Processor into/from the I/O Chassis. . . . . . . 1-13
Installing a Remote I/O Link . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-13
Installing a DH+ Link . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-15
Connecting to a ControlNet Network . . . . . . . . . . . . . . . . . . . . . . . . 1-17
Connecting a Programming Terminal . . . . . . . . . . . . . . . . . . . . . . . . 1-19
DH+ Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-19
Serial Channel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-20
ControlNet Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-21
Selecting Appropriate Cables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-22
Serial Cables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-22
DH+ Programming Cables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-23
Remote I/O Cables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-23
ControlNet Cables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-23
Chapter 2
Using This Chapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1
Understanding ControlNet I/O. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1
Scheduled Data-Transfer Operations on a ControlNet Network . . . . 2-2
Unscheduled Data-Transfer Operations on a ControlNet Network . . 2-4
Using I/O Forcing Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-7
Using Immediate Data-Transfer Operations . . . . . . . . . . . . . . . . . . 2-8
Using Process Control Sample Complete . . . . . . . . . . . . . . . . . . . . 2-9
Clearing the PCSC New Data and PCSC Overflow Bits. . . . . . . . 2-11
Considerations When Using PCSC. . . . . . . . . . . . . . . . . . . . . . . 2-11
Understanding Scheduled Connection Types . . . . . . . . . . . . . . . . . . 2-11
Allowable Scheduled Connection Type Combinations . . . . . . . . . . 2-12
Multiple Processors Can Control I/O . . . . . . . . . . . . . . . . . . . . . 2-13
ii
Chapter 3
Configuring and Programming Your ControlNet System . . . . . . . . . . . 3-1
Using ControlNet Message Instructions . . . . . . . . . . . . . . . . . . . . . . . 3-1
I/O Configuration Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2
Uploading and Downloading Software Projects. . . . . . . . . . . . . . . . 3-3
Using RSNetWorx to Perform Verification Activities. . . . . . . . . . . . . 3-4
For More Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-5
Programming Your
ControlNet System
iii
Chapter 4
Using This Chapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1
Using ControlNet Message Instructions . . . . . . . . . . . . . . . . . . . . . . . 4-1
Multihop Messaging Via the MSG Instruction . . . . . . . . . . . . . . . . . 4-2
Option to Close Communication Connection when MSG is Done . . . 4-3
Understanding the ControlNet PLC-2 Compatibility File . . . . . . . . . 4-3
Using the ControlNet I/O Transfer Instruction . . . . . . . . . . . . . . . . . . . 4-3
Sending Continuous Messages. . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-5
1771 ControlNet Transfers in PIIs and STIs. . . . . . . . . . . . . . . . . . . 4-5
Using ControlNet Immediate Data Input and Output Instructions. . . . . 4-6
Using Selectable Timed Interrupts with a Program
on a ControlNet Network . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-9
Recovering from Major Fault 200 and 201 . . . . . . . . . . . . . . . . . . . . . 4-9
Chapter 5
Processor Specifications
Appendix A
Appendix B
Appendix C
ControlNet I/O Transfer Instruction
. . . . . . . . . . . . . . . . . . . . . . . . C-1
Message Instructions on a ControlNet Network . . . . . . . . . . . . . . . C-1
Immediate Data I/O Instructions
. . . . . . . . . . . . . . . . . . . . . . . . . C-2
Instruction Timing and Memory Requirements . . . . . . . . . . . . . . . . . . C-2
iv
Appendix D
Fault Codes
Appendix E
Appendix F
Preface
Introduction
Audience
Preface-2
Terminology
Term
Description
the actual time it takes for the ControlNet network to update the requested data. The largest
binary multiple of the Network Update Time (NUT), smaller or equal to the Requested Packet
Interval (RPI). For more information, see Scheduled Data-Transfer Operations on a
ControlNet Network on page 2-2.
ControlNet network
connection
integer file used by ControlNet PLC-5 processors to store discrete and non-discrete input
data. The DIF cannot be forced
integer file used by ControlNet PLC-5 processors to store discrete and non-discrete output
data. The DOF cannot be forced
type of data transfer in which single units of I/O have discrete relationships with values in
the processors data table; uses the processors input- and output-image tables (I and O
files); configured on a per-node basis in the ControlNet I/O map table
frame
drop cable
cable that connects a ControlNet node to the trunk cable; integral part of 1786 taps
table that you configure using the programming software to map data from an I/O chassis
and other devices on the ControlNet network to particular data table file addresses
keeper
device that stores and distributes ControlNet configuration data to all nodes on the network.
A minimum of one keeper device is required on each ControlNet network.
link
collection of ControlNet nodes with unique network addresses in the range of 01-99; segments
connected by repeaters make up a link; links connected by bridges make up a network
one entry in the I/O map table that you configure using the programming software to map
data from one I/O chassis or other device on ControlNet to particular data table file
addresses
network address
smallest repetitive time interval in which data can be sent on the ControlNet network
node
port of a physical device connecting to the ControlNet network that requires a network
address in order to function on the network; a link may contain a maximum of 99 nodes
type of data transfer in which blocks of data transferred to or from a single I/O module use
integer input and output data table files that you specify; scheduled transfers are configured in
the ControlNet I/O map table, unscheduled transfers make use of ControlNet I/O Transfer (CIO)
instructions
owner
processor
redundant media
dual-cable system that allows you to receive the best signal over a ControlNet network
Preface-3
Term
Description
repeater
two-port active physical-layer device that reconstructs and retransmits all traffic that it
hears on one ControlNet segment to another segment
the maximum time allowed for the ControlNet network to update requested data. The RPI is
user-selectable on a per connection basis. For more information, see page 2-2.
the maximum ControlNet node number that can transmit and receive scheduled data
scheduled transfers
deterministic and repeatable transfers that are continuous and asynchronous to the ladderlogic program scan
rack connection - scheduled connection made from the PLC-5C to I/O adapters to some or
all of the discrete I/O on the adapter
module connection - scheduled connection made from the PLC-5C to I/O adapters to
individual modules
segment
trunkline section of ControlNet network with terminators at each end; a segment does not
include repeaters; segments connected by repeaters make up a link
tap
component that connects products to the ControlNet trunk cable; a tap is required for each
node and for each side of a repeater
terminator
trunk cable
trunk-cable section
the maximum ControlNet node number that can transmit and receive unscheduled data
unscheduled transfers
Preface-4
Publication Number
1785-6.5.12
1785-6.2.1
1785-7.1
Publication Number
1786-6.2.1
1786-2.6
CNET-SO001
1785-UM024
CNET-IN001
1770-4.1
GMC-RM001
Chapter
Page
1-2
1-3
1-5
1-6
1-11
1-10
1-10
1-11
1-12
1-12
1-13
1-13
1-15
1-17
1-19
1-22
For detailed information about installing chassis and adapters, see the
Enhanced and Ethernet PLC-5 Programmable Controllers User
Manual, publication 1785-6.5.12.
1-2
ATTENTION
1-3
Figure 1.1 and Figure 1.2 show the front panels of the ControlNet
PLC-5 processors.
Figure 1.1 PLC-5/20C Processor Front Panel
Channel 2
ControlNet Redundant Media
Ports BNC; dedicated
Channel 0
Serial Port-25-pin D-shell; supports standard EIA
RS-232C and RS-423; is RS-422A compatible 1
one stop-bit
BCC error check
no handshaking
Battery Compartment
Channel 1B
3 pin; default is remote I/O scanner;
configurable for:
remote I/O scanner
remote I/O adapter
DH+ communication
unused
1-4
Channel 2
ControlNet Redundant Media Ports*
BNC; dedicated
Channel 0
Serial Port-25-pin D-shell; supports standard EIA
RS-232C and RS-423; is RS-422A compatible 1
Use this port with ASCII or DF1 full-duplex,
half-duplex master, and half-duplex slave
protocols. The ports default configuration supports
processor programming:
DF1 point-to-point
2400 bps
no parity
one stop-bit
BCC error check
no handshaking
Battery Compartment
Channel 1B
3 pin; default is remote I/O scanner;
configurable for:
remote I/O scanner
remote I/O adapter
DH+ communication
unused
1-5
Processor
Contents of Tray
1
1
Terminating resistors1501
2 or 42
Terminating resistors823
2 or 4
2
1
1
Documentation
1
2
3
3-pin connectors
Keys
Battery cover with screw
1784-CP7 cable adapter for 1784-CP,
-CP5 cables
ControlNet PLC-5 Programmable Controllers Quick
Start, publication number 1785-10.6
Chassis Document
1771-2.210
Power Supply
1771-P1
1771-2.6
1771-P2
1771-2.7
1771-P3
1771-2.111
1771-P4
1771-2.111
1771-P4R
1771-5.3
1771-P4S
1771-2.13
1771-P5
1771-2.111
1771-P6R
1771-5.3
1771-P6S
1771-5.11
1771-P7
1771-5.56
1-6
A 3.0 volt lithium battery (cat. no. 1770-XYC) is included with your
processor.
If the LED on the front of the processor indicates BATT, it means that
the battery must be replaced. You must use an exact replacement
battery (cat. no. 1770-XYC).
ATTENTION
WARNING
1-7
WARNING
!
5
1-8
Temperature
Battery Duration1
60 C
173 days
346 days
70 hours
25 C
1.69 years
3.38 years
14.5 days
60 C
92.5 days
185 days
38 hours
25 C
1.25 years
2.5 years
10.8 days
60 C
92.5 days
185 days
38 hours
25 C
1.25 years
2.5 years
10.8 days
60 C
80 days
160 days
33 hours
25 C
1.18 years
2.36 years
10 days
PLC-5/20C
PLC-5/40C
PLC-5/46C
PLC-5/80C
The battery status indicator (BATT) warns you when the battery is low. These durations are based
on the battery supplying the only power to the processorpower to the chassis is offonce the
status indicator first lights.
Dispose of a Battery
If you need to dispose of a battery, follow the procedures described in
Guidelines for Handling Lithium Batteries, (pub. no. AG-5.4).
ATTENTION
1-9
Set the I/O chassis backplane switches using a ball-point pen to set
each switch.
Important: Do not use a pencil because the tip can break off and
short the switch.
Switch
Last State
O
N
O
F
F
ON
Outputs of this I/O chassis remain in their last state when a hardware
failure occurs.
OFF
Outputs of this I/O chassis are turned off when a hardware failure occurs. 1
1
2
Always OFF
3
4
Switches
5
Addressing
OFF
OFF
2 - slot
OFF
ON
1 - slot
ON
OFF
1/2 - slot
ON
ON
Not allowed
ON
OFF
7
8
Switches
EEPROM Transfer
OFF
OFF
ON
ON
ON
OFF
Switch
8
OFF
ON
1 Regardless of this switch setting, outputs are turned off when any of the following occurs:
processor detects a runtime error
an I/O chassis backplane fault occurs
you select Program or Test mode
you set a status file bit to reset a local rack
2 If an EEPROM module is not installed and processor memory is valid, the processor's
PROC indicator blinks and the processor sets bit S:11/9 in the major fault status word.
To clear this fault, change the processor from Program mode to Run mode and back to
Program mode.
3 If the processor's keyswitch is set in Remote, the processor enters Remote Run mode
after it powers up and has its memory updated by the EEPROM module.
4 A processor fault (solid red PROC LED) occurs if processor memory is not valid.
5 You cannot clear processor memory when this switch is on.
19309
1-10
Y N
USING A
POWER-SUPPLY
MODULE IN
THE CHASSIS?
Y N
Y N
Important: You cannot power a single I/O chassis
with both a power-supply module and an external
power supply.
17075
You receive plastic keying bands with each I/O chassis. Insert the
keying bands as follows:
I/O Chassis
Backplane
Connector
Keying
Bands
(1771-RK)
2
4
6
8
10
12
14
16
18
20
22
24
26
28
30
32
34
36
38
40
42
44
46
48
50
52
54
56
Use these
numbers
as a guide.
1-11
To select the DH+ station address of Channel 1A, set the switches of
assembly SW1.
Side View of PLC-5/20C, -5/40C, -5/46C, -5/80C Switch Assembly SW1
Toggle pushed
toward TOP
OFF
To select:
Set switch:
To:
1 through 6
(See below)
on (bottom)
off (top)
Switch
DH+
Station
Number
0
1
2
3
4
5
6
7
10
11
12
13
14
15
16
17
20
21
22
23
24
25
26
27
30
31
32
33
34
35
36
37
on
off
on
off
on
off
on
off
on
off
on
off
on
off
on
off
on
off
on
off
on
off
on
off
on
off
on
off
on
off
on
off
on
on
off
off
on
on
off
off
on
on
off
off
on
on
off
off
on
on
off
off
on
on
off
off
on
on
off
off
on
on
off
off
on
on
on
on
off
off
off
off
on
on
on
on
off
off
off
off
on
on
on
on
off
off
off
off
on
on
on
on
off
off
off
off
on
on
on
on
on
on
on
on
off
off
off
off
off
off
off
off
on
on
on
on
on
on
on
on
off
off
off
off
off
off
off
off
on
on
on
on
on
on
on
on
on
on
on
on
on
on
on
on
off
off
off
off
off
off
off
off
off
off
off
off
off
off
off
off
Toggle pushed
toward BOTTOM
ON
57.6 kbps
230.4 kbps
Switch
DH+
Station
Number
on
on
on
on
on
on
on
on
on
on
on
on
on
on
on
on
on
on
on
on
on
on
on
on
on
on
on
on
on
on
on
on
40
41
42
43
44
45
46
47
50
51
52
53
54
55
56
57
60
61
62
63
64
65
66
67
70
71
72
73
74
75
76
77
on
off
on
off
on
off
on
off
on
off
on
off
on
off
on
off
on
off
on
off
on
off
on
off
on
off
on
off
on
off
on
off
on
on
off
off
on
on
off
off
on
on
off
off
on
on
off
off
on
on
off
off
on
on
off
off
on
on
off
off
on
on
off
off
on
on
on
on
off
off
off
off
on
on
on
on
off
off
off
off
on
on
on
on
off
off
off
off
on
on
on
on
off
off
off
off
on
on
on
on
on
on
on
on
off
off
off
off
off
off
off
off
on
on
on
on
on
on
on
on
off
off
off
off
off
off
off
off
on
on
on
on
on
on
on
on
on
on
on
on
on
on
on
on
off
off
off
off
off
off
off
off
off
off
off
off
off
off
off
off
off
off
off
off
off
off
off
off
off
off
off
off
off
off
off
off
off
off
off
off
off
off
off
off
off
off
off
off
off
off
off
off
1-12
Front of processor
Front of processor
To Specify:
Toggle pushed
toward TOP
OFF
Toggle pushed
toward BOTTOM
ON
10
10
Set Switches:
1
2
3
10
ON
ON
ON
OFF
OFF
ON
ON
OFF
ON
OFF
OFF
OFF
ON
OFF
OFF
OFF
OFF
OFF
ON
OFF
ON
ON
ON
OFF
OFF
ON
OFF
OFF
ON
OFF
RS-232C
RS-422A
RS-423
30
10
2
1
40
00
50
90
60
80
3
4
5
9
6
8
70
Network address 01
is shown
NET ADDRESS
1-13
WARNING
Locking
Bar
Card Guides
Installing a Remote
I/O Link
Trunk-cable/drop-cable considerations:
When using a trunk-cable/drop-cable
configuration, use 1770-SC station connectors
and follow these cable-length guidelines:
trunk-cable lengthdepends on the
communication rate of the link; see Table
Table 1.A
drop-cable length30.4 m
(100 cable-ft) maximum
Important: When using a trunk-cable/
drop-cable configuration, set your
communication rate to 57.6K bit/s.
E
MOR
57.6K bit/s
115.2K bit/s
230.4K bit/s
1-14
logical rack
physical devices
numbers that you
that you can connect can scan on the
on the link is:
link is:
32
16
16
16
PLC-5/40C, -5/46C,
-5/80C Processor
Blue
Shield
82W or
150W
resistor
Clear
link device
1770-CD
PLC-5/20C
Processor
WARNING
!
WARNING
!
Installing a DH+ Link
1-15
1-16
PLC-520C
processor
PLC-5/40C, -5/46C
or -5/80C processor
WARNING
!
WARNING
!
1785-UM022C-EN-P - February 2008
Clear
Clear
Shield
Blue
Shield
Blue
Connecting to a
ControlNet Network
1-17
WARNING
!
WARNING
Straight Y-tap
1786-TPS
Right-angle T-tap
Right-angle Y-tap
1786-TPR
1786-TPYS
1786-TPYR
BATT
Redundant Media
Nonredundant Media
CH 0
CH 0
A
B
1-18
AG-2.2
1786-6.2.1
1786-2.6
CNET-IN001A-EN-P
GMC-RM001A-EN-P
1770-4.1
CNET-DM001A-EN-C
Publication Number
Connecting a
Programming Terminal
1-19
DH+ connection
serial channel
ControlNet connection
WARNING
!
WARNING
DH+ Connection
To attach a personal computer to a ControlNet PLC-5 processor using
a DH+ connection:
8-pin
mini-DIN
connector
8-pin
mini-DIN
connector
Personal computer
DH+ Link
CH 0
Personal computer
PLC-5/20C
Processor
DH+ Link
PLC-5/40C, -5/46C,
-5/80C Processor
1-20
1784-KTX, KTXD
1784-CP13
1784-PCMK
1784-PCM6
1784-PCM5 with 1784-CP7 adapter
1784-PKTX, -PKTXD
1784-CP13
Serial Channel
To program the processor using Channel 0, configure the channel for
RS-232C using DF1 point-to-point protocol.
Personal computer
PLC-5/20C
Processor
WARNING
PLC-5/40C, -5/46C
or -5/80 C Processor
1-21
ControlNet Connection
!
Personal computer
with 1784-KTCX15 card
(ISA-based) and
your HMI or
programming software
Personal computer
with PCIC card (PCI-based)
and your HMI
or programming software
PLC-5/40C
Serial connection
1770-KFC15
Interface
ControlNet Network**
Tap (4 choices)
1786-TPR
Remote I/O link
Data Highway Plus link
Tap (4 choices)
1786-TPR
1794-ACNR15
1794-ACNR15
Flex I/O
FLEX
I/OAdapter
Adapter
PLC-5/40C
1747-ACNR15
Adapter
1771-ACNR15
Adapter
*A programming terminal connected through this cable is counted as a node and must have a unique address.
**Redundant media not required.
WARNING
1-22
WARNING
!
Selecting Appropriate Cables
serial cables
ControlNet cables
For more information about cables, see the Enhanced and Ethernet
PLC-5 Programmable Controllers User Manual, publication
1785-6.5.12.
Serial Cables
You can make your own serial cables or purchase them from
Rockwell Automation.
The side label of the processor shows the following table, which
lists Channel 0 (serial port) pin assignments.
Pin
RS-232C
RS-422A
RS-423
Pin
RS-232C
RS-422A
RS-423
C.GND
C.GND
C.GND
14
NOT USED
TXD.OUT-
SEND COM
TXD.OUT
TXD.OUT+
TXD.OUT
15
RXD.IN
RXD.IN+
RXD.IN
16
NOT USED
RXD.IN-
REC COM
RTS.OUT
RTS.OUT+
RTS.OUT
17
CTS.IN
CTS.IN+
CTS.IN
18
DSR.IN
DSR.IN+
DSR.IN
19
NOT USED
RTS.OUT-
NOT USED
SIG.GND
SIG.GND
SIG.GND
20
DTR.OUT
DTR.OUT+
DTR.OUT
DCD.IN
DCD.IN+
DCD.IN
21
22
NOT USED
DSR.IN-
NOT USED
23
NOT USED
DTR.OUT-
NOT USED
9
10
NOT USED
DCD.IN-
NOT USED
11
24
12
25
13
NOT USED
CTS.IN-
NOT USED
1-23
RS-232C
15 m (approximately 50 ft)
RS-422A (compatible)
RS-423
1784-KTX, KTXD
1784-CP13
1784-PCMK
1784-PCM6
1784-PCM5 with 1784-CP7 adapter
1784-PKTX, -PKTXD
1784-CP13
ControlNet Cables
Several types of RG-6 quad-shield cable may be appropriate for your
ControlNet installationdepending on the environmental factors
associated with your application and installation site.
1-24
Cat. No.
1786-CTK
Right-angle T-tap
1786-TPR
Straight T-tap
1786-TPS
Right-angle Y-tap
1786-TPYR
Straight Y-tap
1786-TPYS
Repeater adapter
1786-RPA
Copper
1786-RPCD
Fiber -short
1786-RPFS
Fiber - medium
1786-RPFM
21786-RPFRL
21786-RPFRXL
Dummy load
1786-TCAP
Fiberoptic Repeaters
Low-voltage dc
1786-RPA
Standard-PVC CM-CL2
1786-RG6
Repeaters
1786-CP
1784-PCC1
BNC Connectors
1786-BNCP
BNC/RG-6 plug
1786-BNC
1786-BNCJ
Isolated-bulkhead (jack to
jack)
1786-BNCJI
Terminators (BNC-75)
1786-XT
For a complete list of ControlNet cable system components that are available from
Rockwell Automation and other sources, see the ControlNet Cable System
Component List, publication AG-2.2.
Planned availability - March 2002.
1-25
Publication Number
AG-2.2
1786-6.2.1
1786-2.6
1786-2.9
CNET-IN001A-EN-P
GMC-RM001A-EN-P
1770-4.1
CNET-DM001A-EN-C
1-26
Notes
Chapter
Page
2-1
2-11
2-16
2-21
2-31
2-34
2-35
ATTENTION
!
Understanding
ControlNet I/O
2-2
is continuous
Logic Scan
Data
Table
Files
Data Update
Private
Memory
Buffers
Scheduled Data
Transfer
Private
Memory
Buffers
Data Update
Housekeeping
Program Scan
Adapter Module
PLC-5 Programmable Controller
I/O Modules
I/O Chassis
2-3
I/O Chassis
Logic Scan
Data
Table
Files
Private
Data Update Memory
Buffers
Scheduled Data
Transfer
Private
Memory
Buffers
Data Update
Housekeeping
Program Scan
Adapter Module
3
Input data from the private memory buffer is put
into the input image file. New input data
may stay in the private memory buffer up to 1
program scan or until the next housekeeping.
2
Scheduled data transfer
occurs between the PLC-5
and the adapter module in
the I/O chassis. Data may
stay in the private memory
buffer for up to 1 API.
I/O Modules
1
Input data is written from the I/O module
to a private memory buffer on the adapter.
The new input data may stay in
the private memory buffer for as long
as it takes to complete the I/O chassis
backplane update.
2-4
Description
Peer-to-peer
Communication
2-5
You reserve a
specific amount
of time for all
scheduled
operations
. . .
The system
reserves time
for network
maintenance
. . .
2-6
Description
Features
Non-discrete I/O
Data Transfer
CIO Instructions
2-7
Operation
Description
Features
Peer-to-peer
Messaging
You can use ControlNet message (MSG) instructions and the data-type
MG to create unscheduled messages that are initiated by one ControlNet
PLC-5 processor and sent to another ControlNet PLC-5 processor. The
MG data type for the ControlNet instruction has the following
information:
CommandPLC-5 TYPED READ, PLC-5 TYPED WRITE, PLC-3 WORD
RANGE READ, PLC-3 WORD RANGE WRITE, PLC-2 UNPROTECTED
READ, PLC-2 UNPROTECTED WRITE
Data-table address in source processor
Size of message in elements
Network address of destination processor
Data-table address in destination processor
Port numberset to 2 for the ControlNet network
Flags:
.TO forces a message to time out
.EW indicates that the message is waiting for an open connection
.CO message is sent continuously in Run mode
.ER indicates that the message was terminated due to an error
.DN indicates that the message was sent without error
.ST indicates that the message was started
.EN indicates that the message instruction is enabled
.NC forces the connection to close when the message is done
MSG Instructions
Because connections are opened and closed as needed, more can exist in a program as long as no more than this number are active at one time.
See Appendix D for a list of ControlNet error codes.
2-8
Data Update
= NUI
= Scheduled Data Transfer
= Unscheduled Data Transfer
Logic Scan
Housekeeping
Private
Memory
Buffers
Program Scan
2-9
001
( IIN )
001
( IOT )
Description
In the case of an IIN, the most recent copy of the specified input word secured in the last discrete I/O
data transfer from the corresponding I/O chassis is used. This value is moved from the private
memory buffer to the working data table and is used in all subsequent ladder instructions. This data
could be as old as the time taken since the last asynchronous I/O update, and it may not actually
reflect the latest state of the input word.
In the case of an IOT, the current state of the specified output word is copied to the private memory
buffer and is used on the next output update to the I/O chassis. The actual change is not
communicated until the next asynchronous I/O transfer.
Only 1 word of I/O data can be updated per instruction.
The ControlNet Immediate Data I/O instructions work in much the same way as the immediate I/O
instructions. During an input instruction, the most recent data is copied from the private memory
buffer to a data-table address that you specify. In the case of an output instruction, the data is
copied from an area that you specify to the private memory buffer and sent on the next I/O update.
As many as 64 words can be transferred per instruction.
Important: In most cases, you should set the Data file offset and the Source of an IDO or the Data
file offset and the Destination of an IDI to the same address. See Chapter 4 for more information on
this and other aspects of using ControlNet IDI and IDO instructions.
2-10
14
13
0
12
11
10
09
08
07
06
05
04
03
02
01
00
Bit
Description
2PCSC Enable
When this bit is set, the processor updates your ControlNet data input file when new data is received. Process
control sample complete can be dynamically enabled and disabled by your program during a program scan. This can
be done by setting and clearing the PCSC enable bit of the connections entry in the ControlNet status file. After this
bit has been set, the input data should not be read until the PCSC new data bit has been set by the processor.
This bit is set by the processor when the PCSC enable bit is set to one and new data has been copied to the
ControlNet data input file. To insure that you do not access this data while the processor is copying new data to the
data input file, do not access the data until the PCSC new data bit has been set by the system.
When this bit is set to one, it signifies that new data has been received and it is safe to read from your ControlNet
data input file. This data is not updated again until you clear this bit or until housekeeping occurs between program
scans.
Never set this bit to one.
4PCSC Overflow
This bit indicates that your program is not checking the PCSC new data bit often enough to use all processor control
sample complete data that has arrived. If the PCSC new data bit has not been cleared by the time a new data sample
arrives, the PCSC overflow bit is set and the new data is not copied to the ControlNet data input file.
You must clear this bit. If you clear the PCSC New Data bit but not the PCSC overflow bit, the ControlNet data input
file is still updated when the next process control sample complete data is received.
Never set this bit to one.
2-11
Understanding Scheduled
Connection Types
the analog module must be set up to use RTS (Real Time Sample)
mode
set your analog RPI (Repetitive Packet Interval) to be at least
twice the RTS time
your ladder program needs to set the PCSC enable bit
your ladder program needs to use the PCSC done bit to condition
the execution of the PID instruction
the PID loop update must equal the RTS rate
your ladder program must use the PCSC overflow bit to take
appropriate action on an overflow condition
2-12
2-13
node 1
node 2
node 3
node 4
2-14
Heartbeat Connection
Point-to-Point Outputs
ControlNet PLC-5
Processor
Node 2
ControlNet PLC-5
Processor
Node 1
ControlNet Adapter
Node 3
ControlNet PLC-5
Processor
Node 4
Multicast Inputs
2-15
2-16
Understanding ControlNet
I/O Mapping
8 Slots
12 Slots
16 Slots
2 Slot
1 Slot
16
16
1/2 Slot
16
24
32
2-17
Remote I/O
The following table shows the default number of input and output
words reserved by the programming software for the different sizes
and addressing modes of non-ControlNet Remote I/O if you first
configure non-ControlNet Remote I/O on your processor:
Addressing
Mode
8 Slots
12 Slots
16 Slots
2 Slot
1 Slot
12
16
1/2 Slot
16
24
32
2-18
Processor:
Number of DIF
Files:
Number of DIF
Words:
Number of DOF
Files:
Number of DOF
Words:
PLC-5/20C15
64
2000
2000
PLC-5/40C15
96
3000
3000
PLC-5/46C15
96
3000
3000
PLC-5/80C15
128
4000
4000
Description
User-specified integer data table file containing status information about this processors scheduled I/O
map-table entries. Each I/O map table entry has a status-file offset field pointing to three status words
associated with that entry. Refer to Appendix D for more information on I/O map-table entry status words.
User-specified integer data table file containing diagnostics about the ControlNet network (not required).
See Appendix F.
Configuration File
User-specified integer data-table file used to store non-discrete I/O data transfer configuration data. This
configuration data is sent to the target device each time the connection is opened.
2-19
DIF
N11:0
N10:999
DOF
N11:249
N11:499
2-20
1771 Modules
ControlNet 1771 discrete I/O data-transfer mapping requires one
map-table entry per node. ControlNet 1771 non-discrete I/O
data-transfer mapping requires one map-table entry per module.
The ControlNet scheduled I/O data-transfer mechanism makes it
possible to eliminate block-transfer programming to communicate
with the 1771 modules. For a complete list of these modules, refer to
RSNetWorx for ControlNet documentation.
The types of modules that may be accommodated by the processors
scheduled non-discrete I/O data-transfer mechanism are typically
those modules that require a one-time configuration and then
continuously read or write.
To communicate with 1771 modules, you can also include explicit
CIO instructions in your ladder-logic program. See Chapter 4 and
Appendix C for more information.
The 1771 discrete rack must be owned by a processor before any
non-discrete connections (scheduled or unscheduled) can be
established with the 1771 adapter. The non-discrete connections can
be established by the owner processor and/or non-owner processors.
ATTENTION
1747 Modules
ControlNet 1747 discrete I/O data-transfer mapping requires one
map-table entry per node. ControlNet 1747 non-discrete I/O
data-transfer mapping requires one map-table entry per module.
The ControlNet scheduled I/O data-transfer mechanism makes it
possible to map 1747 modules. For a complete list of these modules,
refer to RSNetWorx for ControlNet documentation.
1794 Modules
ControlNet 1794 FLEX discrete I/O data-transfer mapping requires
one map-table entry per node. ControlNet 1794 non-discrete I/O
data-transfer mapping requires one map-table entry per module.
The ControlNet scheduled I/O data-transfer mechanism makes it
possible to map 1794 modules. For a complete list of these modules,
refer to RSNetWorx for ControlNet documentation.
2-21
Description1
Scheduled Message
Send Data
Scheduled Message
Valid Sizes
1-240 words
1
2-22
Has:
PLC-5/20C
PLC-5/40C
PLC-5/46C
PLC-5/80C
The I/O image table is used for all discrete I/O connected to the
PLC-5 processor, regardless of where it is located (local I/O, Remote
I/O, ControlNet network). Since the local chassis reserves a minimum
of eight words of input and output, a PLC-5/20C processor has a
maximum of 24 words of inputs and 24 words of outputs available for
the ControlNet network. Some applications may find that the use of
I/O image space needs to be optimized to insure that the I/O
requirements can be met.
A node address on a ControlNet network does not directly map to a
location in the I/O image table like it does on a Remote I/O network.
For example, If you have an 8-slot chassis in 1-slot addressing and set
the node address to two, and:
If the node is on a:
Then:
ControlNet network
you can map the inputs to any location available in the input
image table, and the outputs to any location available in the
output image table. The input and output locations can be in
two totally different rack numbers.
For example, you can specify I:024 as the input location and O:032 as
the output location. The only restriction is that you must map the
input and output words contiguously. If you mapped eight words of
inputs you must map it to a location with eight words available. In
this example, words I:024-I:033 must be available.
The ControlNet network also allows the size of the chassis to be set
based on what is needed. Using the previous example, the chassis on
the Remote I/O network uses eight words of inputs and eight words of
outputs, regardless of what modules are actually in the chassis. On the
ControlNet network, you can set the sizes to what is actually needed.
For example, you can set the input size to six and the output size to
three. If no outputs are in the chassis you can set the output size to
zero.
2-23
Both methods make use of arranging the I/O modules in the most
efficient manner within the chassis.
In many cases, the optimal solution for a system is a combination of
both the methods.
Optimizing the I/O Image Table without Slot Complementary
The techniques used for I/O image optimization are best illustrated
using examples. The following examples all assume 1-slot addressing
for all chassis and that the local rack is using rack 0 image table
(I:000-007 and O:000-007).
Example 1
Examine the following chassis:
ACN
X
I = Discrete Input Module
O = Discrete Output Module
ACN = ControlNet adapter
X = Empty Slot
2-24
If you perform an automap on this system, the map table appears like
this:
Input file
Input size
Output file
Output size
I:010
O:010
Input size
Output file
Output size
I:010
O:010
There are two input modules and four output modules in the chassis.
However, you cannot set the sizes to two and four because the address
you specify is the starting address of the chassis. It identifies the
address of the leftmost slot. The size you specify determines how
many slots in the chassis written to or read from. (In 1-slot
addressing, words equals slots. The concept is the same for any
addressing mode. Words are read/written from left to write. In 1/2slot addressing there are two words per slot.)
In this example, the first slot in the chassis is I:010/O:010, the second
slot, I:011/O:011, and so on. The fifth slot is O:014 only. You cannot
place an input module in this slot since no input word is mapped to it.
The seventh slot has no I/O image table mapped to it. You cannot
place a discrete input or output module in the last two slots since there
is no I/O image table allocated to it.
Example 2
Take another look at the chassis. By moving the modules you can
optimize this chassis further. Move all the input modules to the left of
the chassis:
ACN
X
I = Discrete Input Module
O = Discrete Output Module
ACN = ControlNet adapter
X = Empty Slot
Input size
Output file
Output size
I:010
O:010
By placing the input modules first, you only have to map two input
words to the chassis and do not lose any by having to pass over output
modules. The outputs only lose two words by passing over the inputs.
This example shows the first rule of module optimization.
First Rule of
Module Optimization
2-25
When placing discrete modules, put the type (input or output) you
have the least of to the left in the chassis.
Example 3
Some chassis may contain analog modules, communication cards, or
power supplies. Examine the following chassis:
ACN
PS
PS
Input file
Input size
Output file
Output size
I:010
O:010
Since analog modules and power supplies do not need any I/O image
space you should place them to the right so that you dont have to
waste any inputs or outputs passing over these modules. This leads to
the second important module placement rule of optimization.
2-26
Second Rule of
Module Optimization
Place modules that do not require I/O image table space to the right
in the chassis.
Example 4
To understand how optimization with a ControlNet network preserves
I/O image space, look at the following example system:
ACN
PS
Chassis 1
ACN
PS
A
a
A
PS
Chassis 2
ACN
Chassis 3
ControlNet Network
Input
Output
Input
Output
Chassis
Address
Size
Address
Size
Address
Size
Address
Size
1
2
3
I:010
I:020
I:030
8
8
8
O:010
O:010
O:030
8
8
8
I:010
I:011
n/a
1
7
0
O:010
O:017
n/a
7
1
0
Total Used
24 (3 racks)
24 (3 racks)
8 (1 rack)
Remaining
16 (2 racks)
16
2-27
Example 4
Examine the following system:
ACN
ACN
Chassis 1
Chassis 2
ACN
Chassis 3
Input file
Input size
Output file
Output size
Chassis 1
I:010
O:010
Chassis 2
I:015
O:020
Chassis 3
I:025
O:023
2-28
Example 1
Examine the following chassis:
ACN
2-slot addressing
16-point modules
In this example the first input module uses eight inputs from the first
slot and eight inputs from the second slot (not used by the output
module in the second slot). The first output module uses eight outputs
from the first slot and eight outputs from the second slot, and so on.
Given an 8-slot chassis in 2-slot addressing, there are four words of
inputs and four words of outputs used in this chassis. On a ControlNet
network, you can map four words of inputs and four words of outputs
to this chassis and no I/O image space is wasted. If you set the
addressing mode to 1-slot addressing and use the methods described
in the previous section you waste either four words of input or four
words of output image table.
This method works extremely well for cases where there are equal
numbers of input and output cards. However, in most cases there are
not the same number of each module.
Example 2
Examine the following chassis:
ACN
2-slot addressing
16-point modules
In this case you can map two words of input and four words of output
to the chassis and not waste any I/O image table. However, you waste
physical space (note the two empty slots).
Look at the case where you have 14 input modules and two output
modules. If you use slot complementary, you have to purchase an
additional chassis, and therefore an additional adapter and power
supply, since you can only put eight of the input modules in one
chassis (one module every other slot). If you do not use slot
complementary, you can fit all the cards in one chassis and only
sacrifice two output image table words.
With the slot-complementary method you cannot just put any module
anywhere. If you wish to add an output module to the chassis shown
above you cannot since there are no output slots available; you have
to start a new chassis.
2-29
Summary
There are two methods to optimize the use of I/O image table in a
ControlNet PLC-5 processor. There are tradeoffs in using each
method which are summarized in the following table.
Method:
Tradeoffs:
2-slot addressing
16-point modules
2-30
However, the overall system may be heavy on inputs, and there are no
concerns about the output image table. In this case you may want to
conserve the input image table for this chassis and arrange it as
follows:
ACN
2-slot addressing
16-point modules
space limitations
future expansion
2-31
Device(s)
Function
1785-L20C15,
-L40C15, -L46C15,
-L80C15
1784-KTC15,
-KTCX15, -KTCS
1784-PCC
1770-KFC15,
-KFCD15
1747-ACN15,
-ACNR15
1771-ACN15,
-ACNR15
1784-PCIC, -PCICS
1794-ACN15,
-ACNR15
1797-ACN15
1788-CN2DN,
-CN2FF
1756-CNBR,
1756-CN2
1203-CN1
1336T AC Vector
Drive, 1395 Digital
DC Drive
2-32
Personal computer or
other serial device
and your HMI or
programming software
Personal computer
with PCIC card (PCI-based)
and your HMI
or programming software
PLC-5/40C
Serial connection
1770-KFC15
Interface
Tap (4 choices)
1786-TPR
Remote I/O link
Data Highway Plus link
Tap (4 choices)
1786-TPR
Tap (4 choices)
1786-TPR
PLC-5/40C
ControlNet Network
1747-ACNR15
Adapter
1794-ACNR15
Flex I/O Adapter
1771-ACNR15
Adapter
Personal computer
with 1784-KTCX15 card
(ISA-based) and
your HMI or
programming software
Personal computer
with PCIC card (PCI-based)
and your HMI
or programming software
PLC-5/40C
Serial connection
1770-KFC15
Interface
ControlNet Network
Tap (4 choices)
1786-TPR
Tap (4 choices)
1786-TPR
Tap (4 choices)
1786-TPR
1794-ACNR15
Flex I/O Adapter
1771-ACNR15
Adapter
PLC-5/40C
1747-ACNR15
Adapter
WARNING
2-33
2-34
Program files1
for this process:
Messaging and I/O
Archived from a:
On channel:
Can be run on a
ControlNet
PLC-5 channel:
PLC-5/11
PLC-5/20
PLC-5/20C15
PLC-5/20E
PLC-5/30
PLC-5/40
PLC-5/40C15
PLC-5/46C15
PLC-5/40E
PLC-5/40L
PLC-5/60
PLC-5/60L
PLC-5/80
PLC-5/80C15
PLC-5/80E
1A
1A
PLC-5/20
PLC-5/20C15
PLC-5/20E
PLC-5/30
PLC-5/40
PLC-5/40C15
PLC-5/46C15
PLC-5/40E
PLC-5/40L
PLC-5/60
PLC-5/60L
PLC-5/80
PLC-5/80C15
PLC-5/80E
1B
1B
PLC-5/20C15
PLC-5/40C15
PLC-5/46C15
PLC-5/80C15
Program files1
for this process:
Messaging and I/O
continued
1
2
3
4
5
Archived from a:
On channel:
Can be run on a
ControlNet
PLC-5 channel:
PLC-5/11
PLC-5/20
PLC-5/20C15
PLC-5/20E
PLC-5/30
PLC-5/40
PLC-5/40C15
PLC-5/40E
PLC-5/40L
PLC-5/46C15
PLC-5/60
PLC-5/60L
PLC-5/80
PLC-5/80C15
PLC-5/80E
1A
PLC-5/20
PLC-5/20C15
PLC-5/20E
PLC-5/30
PLC-5/40
PLC-5/40C15
PLC-5/40E
PLC-5/40L
PLC-5/46C15
PLC-5/60
PLC-5/60L
PLC-5/80
PLC-5/80C15
PLC-5/80E
1B
2A or 2B
PLC-5/40
PLC-5/60
PLC-5/80
PLC-5/20E
PLC-5/40E
PLC5/40L
PLC-5/60L
PLC-5/80E
2-35
1A or 1B
1A or 1B
2-36
Notes
Chapter
To:
RSLogix 5 software
RSLinx software
Additionally, use:
3-2
3-3
3-4
3-5
For more information about using these software packages, see the
online help systems included with RSNetWorx for ControlNet and
RSLogix 5 software.
3-6
Notes
Chapter
Programming Your
ControlNet System
Using This Chapter
Topic
Using ControlNet
Message Instructions
Page
4-1
4-3
4-6
4-9
4-9
You can use the Message (MSG) instruction and the MG data type to
send message commands over the ControlNet system within the local
ControlNet link:
Do this:
4-2
Do this:
enter a destination
data table address
The fields of the MG data type that you can directly address are:
Field
Definition
Location
.EW
word 0, bit 02
.CO
word 0, bit 03
.ER
word 0, bit 04
.DN
word 0, bit 05
.ST
word 0, bit 06
.EN
word 0, bit 07
.TO
word 0, bit 08
.NR
word 0, bit 09
.NC
No-cache bit
word 0, bit 10
.ERR
Error-code word
word 1
.RLEN
word 2
.DLEN
word 3
.DATA[0] through.DATA[51]
Remaining words
words 4 through 55
ControlBus
ControlNet Link 1
ControlNet Link 2
4-3
Corrective Action
0x8000
0x8000
0x5000
You can use the ControlNet I/O Transfer (CIO) instruction and the
ControlNet Transfer (CT) data type to make ControlNet I/O transfers
within the local ControlNet link. Use your programming software to
go to the instruction entry for ControlNet I/O transfer block screen.
4-4
Do this:
Type the number of the slot that holds the I/O device - number from 0 to 15.
If you enter a 0, the module determines the size of the transfer. In this case, you must make sure that your data table
can accommodate up to 64 words.
4-5
The fields of the CT data type that you can directly address are:
Field
Definition
Location
.EW
word 0, bit 02
.CO
word 0, bit 03
.ER
word 0, bit 04
.DN
word 0, bit 05
.ST
word 0, bit 06
.EN
word 0, bit 07
.TO
word 0, bit 08
.ERR
Error-code word
word 1
.RLEN
word 2
.DLEN
word 3
.FILE
word 4
.ELEM
word 5
.DATA[0] through.DATA[15]
Remaining words
words 6 through 21
You can change the CO and TO bits through the message block
configuration screen or with ladder logic.
4-6
Using ControlNet
Immediate Data Input and
Output Instructions
You can use two instructions for immediate data input and output on
a ControlNet networkImmediate Data Input (IDI) and Immediate
Data Output (IDO).
IDI
232
10
N11:232
ID0
175
Length
24
Source
N12:175
4-7
IDI
IMMEDIATE DATA INPUT
232
10
N11:232
Data Table
N11:0
N11:232
232
4-8
175
Length
24
Source
N12:175
Data Table
N12:0
N12:175
175
IDO instruction
copies from the
data table to the
private
DOF buffer
Outputs transmitted
to the ControlNet
network on next
opportunity
4-9
A Major Fault with error code 200 and 201 means that the processor
was unable to transmit the scheduled data it is configured to transmit.
This is typically caused by disturbances on the ControlNet channel
because of missing terminators, bad connectors, or noisy conditions.
These disturbances may cause the processor to fall off the network
while its trying to transmit its scheduled data. If you consistently get
these faults, you may want to check and repair the cable.
This fault can also occur when the processor falls behind and did not
have the scheduled data ready to send on time.
Depending on the requirements of the application, you may consider
adding a fault routine to the application to clear an occurrence of a
Major Fault with error code 200 and 201.
For detailed information about creating fault routines, refer to chapter
16 of the Enhanced and Ethernet PLC-5 Programmable Controllers
User Manual, publication 1785-6.5.12.
Note: To monitor for ControlNet noise via ladder logic or HMI,
declare a ControlNet diagnostic file using RSNetWorx software.
Refer to Appendix F: ControlNet Diagnostic File Layout for
definitions. You can also monitor for ControlNet noise via RSWhos
station diagnostics in RSLinx.
4-10
Notes
Chapter
Topic
Page
5-1
5-3
Using the Data Highway Plus and Remote I/O Status Indicators
5-5
5-5
5-6
Indicator
Color
Description
Probable Cause
Recommended Action
BATT
Red
Battery low
Battery low
Off
Battery is good
Normal operation
No action required
BATT
PROC
FORCE
COMM
5-2
Indicator
Color
Description
Probable Cause
Recommended Action
PROC
Green
(steady)
Processor is in run
mode and fully
operational
Normal operation
No action required
Green
(blinking)
Processor memory is
being transferred to
EEPROM
Normal operation
No action required
Red
(blinking)
Major fault
RSLogix 5
download in
progress
Run-time error
Alternating
Red and
Green
Processor in
FLASH-memory
programming mode
Normal operation if
processor's FLASH
memory is being
reprogrammed
Red
(steady)
Battery is low,
disconnected or not
installed
Red
(steady)
New processor
Invalid ControlNet
network address
Processor has
failed internal
diagnostics
FORCE
COMM
Off
Processor is in
program load or test
mode or is not
receiving power
Amber
(steady)
Amber
(blinking)
Off
Off
No transmission on
channel 0
Normal operation if
channel is not being
used
Green
(blinking)
Transmission on
channel 0
Normal operation if
channel is being
used
Normal operation
No action required
5-3
Indicator
Color
Description
Probable Cause
Recommended Action
I/O
Off
Normal operation if
Channel 2 not being used
No action required
Steady
Green
Normal operation
No action required
Flashing
Green/Off
Cable(s) or connector(s)
broken or not connected
Cable(s) or connector(s)
broken or not connected
I/O
Flashing
Red/Off
Indicator
Color1
Probable Cause
Recommended Action
Off
1.
and
A
2.
3.
4.
Steady Red
No power
Faulted unit
Flashing
Green
No action required
Flashing
Red/Green
Alternating
Red/Green
Self-test
No action required
Alternating
Red/Off
5-4
Indicator
or
Color1
Probable Cause
Recommended Action
Off
Channel disabled
No action required
Configure for ControlNet communication
B
Steady
Green
Normal operation
No action required
Flashing
Green/Off
Temporary errors
Flashing
Red/Off
Media fault
Flashing
Red/Green
Definition of terms:
alternatingthe two indicators alternate between the two defined states at the same time (applies to both indicators viewed together);
the two indicators are always in opposite states, out of phase
flashingthe indicator alternates between the two defined states (applies to each indicator viewed independent of the other); if both
indicators are flashing, they flash together, in phase
steadyindicator is on continuously in the defined state
5-5
or
Color
Channel Mode
Description
Probable Cause
Recommended Action
Green
(steady)
Remote I/O
Scanner
Normal
operation
No action required
Remote I/O
Adapter
Communicating with
scanner
DH+
Processor is transmitting
or receiving on DH+ link
Remote I/O
Scanner
Power off at
remote rack
Cable broken
DH+
Red
(steady)
Remote I/O
Scanner
Remote I/O
Adapter
DH+
Hardware fault
Hardware error
Red
(blinking
rapidly or
slowly)
Remote I/O
Scanner
Cable not
connected or
is broken
Power off at
remote racks
Repair cable
Green
(blinking
rapidly or
slowly)
Off
Restore power to
racks
DH+
Bad communication on
DH+
Duplicate node
detected
Remote I/O
Scanner
Remote I/O
Adapter
DH+
Channel offline
Channel is not
being used
5-6
Monitoring ControlNet
Configuration and Status
To:
RSLogix5
RSLinx
1 It
is highly recommended that you declare an extended ControlNet diagnostic file (63
words) using RSNetWorx. This file will allow you to monitor for noise (via ladder and HMI
query), to monitor the overall health of scheduled connections (words 40 and 41), and to
monitor ControlNet buffer usage.
For information about using these software packages, see the online
help systems for RSNetWorx for ControlNet and RSLogix5 software.
Appendix
Processor Specifications
Backplane Current
Heat Dissipation
Operating Temperature
Storage Temperature
Relative Humidity
Vibration
Shock
Emissions
ESD Immunity
Radiated RF Immunity
EFT/B Immunity
Surge Transient Immunity
Conducted RF Immunity
Battery
Memory Modules3
I/O Modules
1
2
3
4
5
1785-L20C15:
2.7A @ 5Vdc
1785-L40C15, -L46C15, -L80C15: 3.3A @ 5Vdc
1785-L20C15:
54 BTU/hour
1785-L40C15, -L46C15, -L80C15: 59 BTU/hour
IEC 60068-2-1 (Test Ad, Operating Cold),
IEC 60068-2-2 (Test Bd, Operating Dry Heat),
IEC 60068-2-14 (Test Nb, Operating Thermal Shock):
0-60oC (32140oF)
IEC 60068-2-1 (Test Ab, Un-packaged Non-operating Cold),
IEC 60068-2-2 (Test Bc, Un-packaged Non-operating Dry Heat),
IEC 60068-2-14 (Test Na, Un-packaged Non-operating Thermal Shock):
40 to 85oC (40 to 185oF)
IEC 60068-2-30 (Test Db, Un-packaged Non-operating
Damp Heat):
595% non condensing
IEC60068-2-6 (Test Fc, Operating):
2g @10500Hz
IEC60068-2-27:1987, Test Ea (Unpackaged shock, ES#002)
Operating - 30g
Non-operating - 50g
CISPR 11:
Group 1, Class A
IEC 61000-4-2:
4kV contact discharges
IEC 61000-4-3:
10V/m, 3V/m Broadcast Bands, with 1kHz sine-wave 80% AM from 30MHz to 1000Mhz
IEC 61000-4-4:
+2kV at 5kHz on communications ports
IEC 61000-4-5:
+2kV line-earth(CM)
on signal ports
IEC 61000-4-6:
10Vrms with 1kHz sine-wave 80%AM from 150kHz
to 30MHz
None (open style)
Maximum Variations at 60 C: 5 min per month
Typical Variations at 20 C:
20 s per month
Timing Accuracy:
1 program scan
1785-CHBM ControlNet Hot Backup Cartridge2
(required for each processor used in a hot backup system)
1785-RC Relay Cartridge
Allen-Bradley 1770-XYC
1785-ME32
1785-ME64
1785-M100
Bulletin 1771 I/O, 1794 I/O, 1746 I/O, and 1791 I/O
including 8-, 16-, 32-pt, and intelligent modules
A-2
Hardware Addressing
Communication
Location
Weight
Keying
Certifications
(when product is marked)
1
2
3
4
5
2-slot
Any mix of 8-pt modules
16-pt modules must be I/O pairs
No 32-pt modules
1-slot
Any mix of 8- or 16-pt modules
32-pt modules must be I/O pairs
1/2-slotAny mix of 8-,16-, or 32-pt modules
Serial
DH+
DH using 1785-KA
Remote I/O
ControlNet
Relay Cartridge
Wire Category 24
Wire Category 14
A-3
Any Mix
Complimentary
PLC-5/20C15
16K
512
512 in and 512
out
Transmission Rate
Network Update Time (NUT)
Number of ControlNet Ports
Maximum Number of Nodes per Link without a Repeater
Maximum Number of Nodes per Link with Repeaters
Maximum Link Cable Length without a Repeater
Transmission Rate
PLC-5/40C15
PLC-5/46C15
PLC-5/80C15
48K1
48K1
100K2
3072
3072 in and
3072 out
2048
2048
2048 in and
2048 in and
2048 out
2048 out
0.5 ms per K word (bit logic)
2 ms per K word (typical)
5M bit/s
1
1
16
The PLC-5/40C15 and -5/46C15 processors have a limit of 32K words per data-table file.
The PLC-5/80C15 processor has a limit of 56K words per program file and 32 K words per data table file. The PLC-5/80C processor has 64K words of total data
table space.
For more information, see the ControlNet Cable System Planning and Installation Manual, publication 1786-6.2.1.
A-4
EXPLOSION HAZARD
WARNING
Substitution of components
may impair suitability for
Class I, Division 2.
RISQUE DEXPLOSION
AVERTISSMENT
La substitution de composants
peut rendre cet quipement
inadapt une utilisation en
environnement de Classe I,
Division 2.
Appendix
Stores:
S:0
Arithmetic flags
bit 0 = carry
bit 1 = overflow
bit 2 = zero
bit 3 = sign
S:1
S:2
S:1/01
S:1/02
S:1/03
S:1/04
S:1/05
S:1/06
S:1/07
S:1/08
Forces enabled
S:1/09
Forces present
S:1/10
S:1/11
S:1/12
Not defined
S:1/13
S:1/14
S:1/15
Processor running first program scan or the first scan of the next
step in an SFC
S:2/06
B-2
This word of
the status file:
Stores:
S:2/07
S:2/08
Not defined
S:2/09
Last state
0
outputs are turned off
1
outputs retain last state
S:2/11
S:2/12
S:2/13
S:2/14
S:2/15
S:3-10
This word of
the status file:
S:3 to S:6
S:7
Global status bits: (See also S:27, S:32, S:33, S:34, and S:35)
S:7/0-7
rack fault bits for racks 0-7
S:7/8-15
unused
S:8
S:9
S:10
Stores:
S:10/01
S:10/02
S:10/03
This word of
the status file:
B-3
Stores:
S:10/04
S:10/05
S:10/06
reserved
S:10/07
S:10/08
S:10/09
S:10/10
S:10/11
S:10/12
PII overlap
S:10/13
S:10/14
Arithmetic overflow
S:11
This word of
the status file:
S:11
Stores:
Corrupted program file (codes 10-19). See major fault codes (S:12).
S:11/01
S:11/02
S:11/03
S:11/04
S:11/05
Start-up protection fault. The processor sets this major fault bit
when powering up in Run mode if the user control bit S:26/1 is set.
S:11/06
S:11/07
S:11/08
Watchdog faulted
S:11/09
S:11/10
S:11/11
B-4
This word of
the status file:
S:12
This
fault
code:
00-09
Stores:
S:11/12
S:11/13
S:11/14
S:11/15
Recoverable:
the fault routine can instruct
the processor to clear the
fault and then resume
scanning the program.
B-5
This
fault
code:
10
11
12
Recoverable:
the fault routine can instruct
the processor to clear the
fault and then resume
scanning the program.
13
Bad mixed mode operation type, restore new processor memory file
14
Not enough operands for instruction, restore new processor memory file
15
Too many operands for instructions, restore new processor memory file
16
Corrupted instruction, probably due to restoring an incompatible processor memory file (bad opcode)
17
18
19
Download aborted
20
21
22
23
You used a negative file number, you used a file number greater than the number of existing files, or you
tried to indirectly address files 0, 1, or 2
24
Recoverable
30
31
32
Non-recoverable:
the fault routine will be
executed but cannot clear
major fault bit 2.
33
34
35
36
37
You addressed an invalid module in a block-transfer, immediate input, or immediate output instruction
38
39
Non-recoverable
the fault routine will be
executed but cannot clear
major fault bit 2.
40
The control file is too small for the PID, BTR, BTW, or MSG instruction
Recoverable
Recoverable
B-6
This
fault
code:
41
42
43
Non-recoverable
the fault routine will be
executed but cannot clear
major fault bit 2.
44
45
46
Length operand of IDI or IDO instruction is greater than the maximum allowed
47
SFC action overlap. An action was still active when the step became re-activated
Non-recoverable
48-69
Reserved
Recoverable
70
71
72
73
The processor tried to start more than the allowed number of subcharts
74
75
76
77
The SFC references a step, transition, subchart, or SC file that is missing, empty or too small
78
The processor cannot continue to run the SFC after power loss
79
80
81
You illegally set an I/O chassis backplane switch by setting both switch 4 and 5 on
82
Illegal cartridge type for selected operation. This error also occurs if the processor doesnt have a
memory module, but the backplane switches are set for a memory module. Make sure the backplane
switches are correct (set switch 6 ON and switch 7 OFF if the processor doesnt have a memory module).
Recoverable
Recoverable
This
fault
code:
83
Recoverable
84
85
86
87
88
Scanner channels are overloading the remote I/O buffer; too much data for the processor to process. If
you encounter fault code 88, be sure you followed proper design guidelines. Specifically, make sure you:
group together 1/4-racks and 1/2-racks of each logical rack. Do not intersperse these with other rack
numbers
if using complementary I/O addressing, treat complementary rack addresses individually when
grouping racks; primary rack numbers are separate from complement rack numbers
90
Sidecar module extensive memory test failed. Call your Rockwell Automation representative for service
91
92
93
94
95
Sidecar module reported fault, which may be the result of a bad sidecar program or of a hardware failure
96
97
Sidecar module requested a pool size that is too small for PC3 command (occurs at power-up)
98
99
100
101
102
The file number specified for raw data transfer through the sidecar module is an illegal value
103
The element number specified for raw data transfer through the sidecar module is an illegal value
104
The size of the transfer requested through the sidecar module is an illegal size
105
The offset into the raw transfer segment of the sidecar module is an illegal value
106
Sidecar module transfer protection violation; for PLC-5/26, -5/46, and -5/86 processors only
200
B-7
Recoverable
Check your network for
missing terminators or other
sources of electrical noise
(see the Industrial
Automation Wiring and
Grounding Guidelines,
publication 1770-4.1)
B-8
This
fault
code:
201
Recoverable
Check your network for
missing terminators or other
sources of electrical noise
(see the Industrial
Automation Wiring and
Grounding Guidelines,
publication 1770-4.1).
202
Recoverable
Contact your local Rockwell
Automation representative if
you get this message.
203
Recoverable
Contact your local Rockwell
Automation representative if
you get this message.
204
Recoverable
Make scheduled outputs
with short Requested Packet
Intervals longer and reaccept
edits for the ControlNet
configuration.
This
fault
code:
205
B-9
Recoverable
Reduce the number of
ControlNet I/O map table
entries. Possible ways:
using a discrete rack
connection instead of
multiple discrete module
connections
combining multiple I/O
racks into a single I/O
rack
putting peer-to-peer data
in contiguous blocks in
the data table so that less
send and receive
scheduled messages are
required
Increase your Network
Update Time and/or increase
the Requested Packet
Intervals for scheduled data
transfers in your I/O map
table.
Increase your ladder
program scan by either
adding more logic or by
increasing the
Communications Time Slice
(S:77).
Reduce the number or
frequency of immediate
ControlNet I/O ladder
instructions that are
performed.
206
207
208
Recoverable
Delete one or more I/O map
table entries and reaccept
edits for the ControlNet
configuration.
230
System attempted transition to Run mode with processor in Invalid backup state.
B-10
This
fault
code:
231
Bypassed qualification (may occur during race condition when both processors attempt to go into Run
mode at the same time).
232
233
234
Failed Qualification.
235
236
237
238
239
B-11
S:13-S:24
This word of
the status file:
Stores:
S:13
S:14
S:15
S:16
S:17
S:17/01
S:17/02
S:17/03
S:17/04
S:17/05
S:17/06
S:17/07
Firmware revision for channel pairs 1A/1B or 2A/2B does not match
processor firmware revision
S:17/08
S:17/09
S:17/10
S:17/11
S:17/12
S:17/13
S:17/14
S:17/15
S:18
S:19
S:20
S:21
S:22
B-12
This word of
the status file:
Stores:
S:23
S:24
S:25
Reserved
S:26-S:35
This word of
the status file:
S:26
Stores:
Restart/continuous SFC: when reset, processor restarts at first step in SFC. When
set, processor continues with active step after power loss or change to RUN
S:26/01
Start-up protection after power loss: when reset, no protection. When set,
processor sets major fault bit S:11/5 when powering up in run mode.
S:26/02
Define the address of the local rack: when reset, local rack address is 0. When set,
local rack address is 1.
S:26/03
Set complementary I/O (series A only): when reset, complementary I/O is not
enabled. When set, complementary I/O is enabled.
S:26/04
Local block-transfer compatibility bit: when reset, normal operation. When set,
eliminates frequent checksum errors to certain BT modules.
S:26/05
PLC-3 scanner compatibility bit: when set (1), adapter channel response delayed by
1 ms; when reset (0) operate in normal response time.
S:26/06
Data table-modification inhibit bit. When set (1), user cannot edit the data table or
modify forces while the processor keyswitch is in the RUN position. You control this
bit with your programming software
S:26/07
through
S:26/15
Reserved
S:27
Rack control bits: (See also S:7, S:32, S:33, S:34, and S:35)
S:27/0-7 - - I/O rack inhibit bits for racks 0-7
S:27/8-15 - - I/O rack reset bits for racks 0-7
S:28
S:29
S:30
STI setpoint
S:31
S:32
Global status bits: (See also S:7, S:27, S:33, S:34, and S:35)
S:32/0-7
rack fault bits for racks 10-17 (octal)
S:32/8-15 unused
This word of
the status file:
Stores:
S:33
Rack control bits: (See also S:7, S:27, S:32, S:34, and S:35)
S:33/0-7
I/O rack inhibit bits for racks 10-17
S:33/8-15 I/O rack reset bits for racks 10-17
S:34
Global status bits: (See also S:7, S:27, S:32, S:33, and S:35)
S:34/0-7
rack fault bits for racks 20-27 (octal)
S:34/8-15 unused
S:35
Rack control bits: (See also S:7, S:27, S:32, S:33, and S:34)
S:35/0-7
I/O rack inhibit bits for racks 20-27
S:35/8-15 I/O rack reset bits for racks 20-27
B-13
S:36-S:78
This word of
the status file:
Stores:
S:36 - S:45
Reserved
S:46
S:47
S:48
S:49
S:50
S:51
S:52
S:53
S:54
S:55
S:56
S:57
S:58
Reserved
S:59
S:60
S:61
S:62
S:63
B-14
This word of
the status file:
Stores:
S:64
The number of remote block-transfer command blocks being used by channel pair
1A/1B.
S:65
The number of remote block-transfer command blocks being used by channel pair
2A/2B.
S:66
Reserved.
S:68
Installed memory card type. The four most-significant bits indicate memory card
type:
Value:
Memory card type:
0
No memory card installed
1
1785-ME16 installed
2
1785-ME32 installed
3
1785-ME64 installed
4
1785-ME100 installed
5
1785-CHBM installed
6
1785-RC installed
7-15
Reserved
When the 1785-RC module is installed, the eight least-significant bits indicate the
memory cards status:
Bit:
Is set when:
3
the 1785-RC memory card is installed in the processor
2
contact is detected closed. The bit resets when contact is detected open
1
the relay is driven open. The bit resets when the relay is closed.
0
120Vac is present on the memory card. The bit resets when 120Vac is
not present on the card.
When any other memory card is installed, the bits are undefined
S:72
S:73
S:74
S:75
S:76
S:77
S:78
B-15
S:79-S127
This word of
the status file:
Stores:
S:79
S:80-S:127
B-16
Notes
Appendix
Description
CIO
Status Bits
TOTime-Out Bit
EWEnabled-Waiting Bit
COContinuous Bit
ERError Bit
DNDone Bit
STStart Bit
ENEnable Bit
CT21:50
Description
MSG
Message
MSG
Status Bits
TOTime-Out Bit
EWEnabled-Waiting Bit
COContinuous Bit
ERError Bit
DNDone Bit
STStart Bit
ENEnable Bit
NCNo Cache Bit
SEND/RECEIVE MESSAGE
Control block
MG10:10
C-2
Description
IDI
IMMEDIATE DATA INPUT
Data file offset
Immediate Data
Input
IDI
If the input conditions are true, an immediate data input is initiated that
updates the destination file from the private buffers before the next normal
input-image update. The Data file offset (232) is where the data is stored.
The Length (10) identifies the number of words in the transferit can be an
immediate value ranging from 1 to 64 or a logical address that specifies the
number of words to be transferred. The Destination (N11:232) is the
destination of the words to be transferred. The Destination should be the
matching data-table address in the DIF except when you use the instruction
to ensure data-block integrity in the case of Selectable Times Interrupts
(STIs). See page 4-8 in the Using ControlNet IMmediate Data Input and
Output Instructions section.
Immediate Data
Output
IDO
If the input conditions are true, an immediate data output is initiated that
updates the private memory output buffers from the source file before the
next normal output-image update. The Data file offset (175) is the offset into
the buffer where the data is stored. The Length (24) identifies the number of
words in the transferit can be an immediate value ranging from 1 to 64 or
a logical address that specifies the number of words to be transferred. The
Source (N12:175) is the source of the words to be transferred. The Source
should be the matching data-table address in the DOF except when you use
the instruction to ensure data-block integrity in the case of Selectable
Timed Interrupts (STIs). See page 4-8 in the Using ControlNet Immediate
Data Input and Output Instructions section.
232
Length
10
Destination
N11:232
IDO
IMMEDIATE DATA OUTPUT
Data file offset
175
Length
24
Source
N12:175
Processor:
Words of Memory
True:
False:
PLC-5/20 C15
PLC-5/40C15, -5/46C15 and -5/80C15
389
347
1.1
PLC-5/20 C15
PLC-5/40C15, -5/46C15 and -5/80C15
1.1
PLC-5/20 C15
PLC-5/40C15, -5/46C15 and -5/80C15
538+(0.65 x words)
488+(0.65 x words)
1.1
4-7
PLC-5/20 C15
286+(1.23 x words)+(14.5 x
DOF)+(6.7 x dis)
270+(1.6 x words)+(27.5 x
DOF)+(13.25 x dis)
1.1
4-7
Appendix
The ControlNet status file is an integer data-table file that you specify
and configure with the I/O map for scheduled-I/O usage. It contains
status information about all of the ControlNet networks scheduled
I/O connections. Each I/O map-table entry has a status-file offset field
pointing to three status words associated with the connection.
Immediate Inhibit Bit
PCSC Overflow Bit
PCSC New Data Bit
PCSC Enable Bit
First Word
15
14
13
0
12
11
Data
Overrun
Reserved
Run Mode
10
09
08
Data
Underrun
07
06
05
04
03
02
01
00
Reset
Bit
Reserved
Data Invalid Bit
Inhibit Bit
System Bits
User Bits
15
14
13
0
12
11
10
09
15
14
13
0
12
11
10
09
08
07
06
05
04
03
02
01
00
06
05
04
03
02
01
00
Error Messages
08
07
For critical I/O points, always condition your logic with bits 8 and 9 of the first ControlNet status word.
D-2
The following table explains the bits in the first word of the
ControlNet I/O status file:
Bit Number
Description
Use
00
Reset Bit
Set this bit to put the associated connection into PROGRAM mode, even if the processor is in
Run mode.
Clear this bit to set the mode of the associated connection according to the processors mode.
This bit has no effect for 1771 block transfer modules.
01
Inhibit Bit
Set this bit to perform an orderly shutdown of the associated connection. If the target node is
a ControlNet adapter, the adapter will go into idle mode. The processor will not attempt to
reopen the connection as long as this bit is set. The processor will also set the Data Invalid Bit
and Connection Error Bit.
Clear this bit to allow the processor to attempt to open the associated connection.
02
Set this bit to enable Process Control Sample Complete for the associated I/O map entry.
Clear this bit to disable Process Control Sample Complete for the associated I/O map entry.
03
The processor sets this bit when the PCSC Enable Bit is set and new data arrives from the
associated connection.
Clear this bit when you are finished processing the current sample of data.
04
The processor sets this bit when the PCSC Enable Bit and the PCSC New Data Bits are set and
new data arrives from the associated connection. This means that PCSC data is arriving faster
than your ladder program is processing it.
Clear this bit after you modify your ladder program to handle the incoming PCSC data.
05
Set this bit to immediately stop communicating on the associated connection. This has the
same effect as if you disconnected the target node from the ControlNet network. If the target
node is a ControlNet adapter and the adapter is setup for Processor Restart Lockout, the
adapter will go into Processor Restart Lockout mode. The processor will not attempt to reopen
the connection as long as this bit is set. The processor will also set the Data Invalid Bit and
Connection Error Bit.
Clear this bit to allow the processor to attempt to open the associated connection.
08
The processor sets this bit when data is not received from the associated target node. The
error code in second and third words of the ControlNet I/O status tells you why the data is
invalid. Also, if either the Inhibit Bit or Immediate Inhibit Bit is set, the Data Invalid Bit will be
set.
The processor clears this bit when valid data is received from the associated target node. In
your program, make sure that this bit is clear before you use the associated data.
09
The processor sets this bit when the associated connection is not made to the target node.
The error code in second and third words of the ControlNet I/O status tells you why the
connection is not made. Also, if either the Inhibit Bit or Immediate Inhibit Bit is set, the
Connection Invalid Bit will be set.
The processor clears this bit when the associated connection is made to the target node.
10
Data Underrun
This bit it set whenever the length of data received for the associated connection is smaller
than expected. The Data Invalid Bit will also set if the length of data received is less than the
value configured in the Input Data Size field for the connection in RSNetworx.
11
Data Overrun
This bit it set whenever the length of data received for the associated connection is larger than
expected. The Data Invalid Bit will not be set.
15
Run Mode
This bit it set to give the Run/Idle status of the target device for connections that support
Run/Idle notification (such as Peer-to-Peer Receive Data connections).
D-3
The following table explains the second and third status words in the
ControlNet I/O status file.
ControlNet I/O Connection
Type
Second Word
of I/O Status File Entry
Third Word
of I/O Status File Entry
All
Set
Receive Data
Clear
Send Data
Clear
1747 Discrete
Clear
1747 Analog
Clear
1771 Discrete
Clear
Clear
Clear
Clear
1794 Discrete
Clear
Clear
Clear
Clear
D-4
Error Codes
Decimal
Code
Hex. Code
Error Message
Explanation/Possible Cause(s)
VARIOUS
VARIOUS
CONFIGURATION DATA
CORRUPTED
0x0001
0x0005
CONNECTION FAILED
UNKNOWN DESTINATION
ADDRESS
0x000C
14
0x000E
21
0x0013
0x0015
Decimal
Code
Hex. Code
Error Message
Explanation/Possible Cause(s)
38
0x0026
INVALID DESTINATION
ADDRESS SIZE
D-5
0x0100
CONNECTION IN USE
262
0x0106
263
0x0107
265
0x0109
273
0x0111
INVALID RPI
275
0x0113
OUT OF CONNECTIONS
276
0x0114
277
0x0115
278
0x0116
REVISION MISMATCH
D-6
Decimal
Code
Hex. Code
Error Message
Explanation/Possible Cause(s)
279
0x0117
280
0x0118
INVALID CONFIGURATION
FORMAT
0x0119
282
0x011A
OUT OF APPLICATION
CONNECTIONS
515
0x0203
Decimal
Code
Hex. Code
Error Message
Explanation/Possible Cause(s)
516
0x0204
UNCONNECTED REQUEST
TIMED OUT
769
0x0301
770
0x0302
772
773
0x0304
0x0305
NO SCHEDULED
CONFIGURATION
SCANNER SIGNATURE
MISMATCH
D-7
D-8
Decimal
Code
Hex. Code
Error Message
Explanation/Possible Cause(s)
774
0x0306
789
0x0315
797
0x0317
0x31D
REDUNDANT CONNECTION
MISMATCH
798
0x31E
65522
0xFFF2
Decimal
Code
Hex. Code
Error Message
Explanation/Possible Cause(s)
65523
0xFFF3
CONTROLNET TRANSFER
QUEUE FULL
65527
0xFFF7
D-9
65529
0xFFF9
COMMUNICATION ERROR
CAUSED LOSS OF DATA
D-10
Decimal
Code
Hex. Code
Error Message
Explanation/Possible Cause(s)
65530
0xFFFA
65531
0xFFFB
65532
0xFFFC
65533
0xFFFD
D-11
Notes
D-12
Appendix
Fault Codes
Fault routines execute when a PLC-5 processor encounters a run-time
error (major fault) during program execution. 3.
A fault routine processes the major fault bit found in S:11 and
determines the course of program execution based on the fault bit
present. Fault routines provide a means to either:
For more information about fault routines, see Enhanced and Ethernet
PLC-5 Programmable Controllers User Manual, publication
1785-6.5.12.
Clearing Faults
When a major fault occurs, you need to clear faults before your
process can continue.
200
201
202
203
204
E-2
Fault Codes
205
207
208
230
231
232
233
234
Failed Qualification.
235
236
237
238
239
Appendix
File Offset1
(word;bits)
Buffer Errors
0;15-00
1-4;
5;07-00
5;15-08
6;07-00
6;15-08
7;07-00
7;15-08
Channel A Errors
8;07-00
8;15-08
9;07-00
Channel B Errors
9;15-08
NUI Overloads
10;07-00
Highwaters/Out-of-Steps
10;15-08
Blockages
11;07-00
Slot Overloads
11;15-08
12;07-00
Non-Concurrences
12;15-08
13;07-00
Lonely Occurrences
13;15-08
Collisions
14;07-00
Noise Hits
14;15-08
15;07-00
F-2
Field Names
File Offset1
(word;bits)
15;15-08
16;07-00
16;15-08
Reserved
17;07-00
17;15-08
Reserved
18;07-00
Reserved
18;15-08
19;07-00
Reserved
19;15-08
Reserved
20;07-00
20;15-08
Dirty bits
21;7-0
21;15-8
Interface mode
22;7-0
Toggle bits
22;15-8
23;7-0
23;15-8
Keeper State
24
Reserved
25-39
40
41
42
43
44
45
46
47
48
49
50
51
52
F-3
Field Names
File Offset1
(word;bits)
53
54
55
56
57
58
59
60
61
62
The file offset in the user-specified ControlNet diagnostics file. For example, if you
specified N12, then the Buffer Errors would be located in N12:0, bits 15 - 00.
The following table describes each bit in word 23 (Channel status and
Media bits) of the diagnostic file.
Bit(s):
Description:
Values:
2-0
5-3
000 = off
001 = green
010 = flashing green/off
011 = flashing red/off
100 = flashing red/green
101 = railroading red/off
110 = railroading red/green
111 = red
redundancy warning
0 = normal
1 = non-selected channel is unusable
active channel
0 = channel B active
1 = channel A active
repeater mode
10
15 - 11
reserved
Note: A value of 219 in word 23 indicates that the ControlNet network is not usable.
F-4
Notes
Index
Numerics
1747 modules
discrete I/O data transfer mapping 2-20
1770-CD 1-15, 1-23
1770-KFC Communication Interface 2-31
1771 modules
discrete I/O data transfer mapping 2-20
1771-ACN and -ACNR ControlNet I/O
Adapters 2-31
1771-AF 1-14
1771-AS 1-14
1771-ASB 1-14
1771-DCM 1-14
1771-SN 1-14
1772-SD, -SD2 1-14
1775-S4A, -S4B 1-14
1775-SR 1-14
1784-CP13 1-20, 1-23
1784-KTC Communication Card 2-31
1784-KTx 1-20, 1-23
1784-KTxD 1-20, 1-23
1784-PCC Communication Card 2-31
1784-PCM5 1-20, 1-23
1784-PCM6 1-20, 1-23
1784-PCMK 1-20, 1-23
1786-BNC -BNC Connector 1-24
1786-BNCJ -BNC Connector 1-24
1786-BNCJI -BNC Connector 1-24
1786-BNCP -BNC Connector 1-24
1786-CP 1-21
1786-CP ControlNet Network Access
Cable 1-24
1786-CTK ControlNet Tool Kit 1-24
1786-RG6 Quad Shield Cable 1-24
1786-RPA Repeater 1-24
1786-TPR Tap 1-17, 1-24
1786-TPS Tap 1-17, 1-24
1786-TPVR Tap 1-24
1786-TPVS Tap 1-24
1786-TPYR Tap 1-17
1786-TPYS Tap 1-17
1786-XT BNC Terminator 1-24
1794 FLEX I/O data transfer mapping 2-20
1794 FLEX I/O data transfer mapping 2-20
1794 modules
discrete I/O data-transfer mapping 2-20
1794-ACN ControlNet FLEX I/O Adapter
2-31
6008-SQH1, -SQH2 1-14
A
automatic I/O mapping 2-16
B
battery compartment
location of
on PLC-5/20C 1-3
on PLC-5/40C 1-4
battery status 5-1
C
cables
remote I/O 1-13
cabling 1-23
catalog numbers
ControlNet PLC-5 processors P-1
Channel 1A 2-34
Channel 1B 2-34
CIOs 2-4
clearing faults E-1
Closing ControlNet communication 4-3
communication
time slice B-14
Communication Connection, closing 4-3
communication connection, closing 4-3
communication ports
location of
on PLC-5/20C 1-3
on PLC-5/40C 1-4
communication, option to close 4-3
configuration software 3-1
configuration utility 3-2
connecting a programming terminal
1-19
connecting to a ControlNet network
1-17
connection
definition of P-2
connection error bit D-2
Conserving ControlNet resources 4-3
ControlNet
diagnostics counters F-1
diagnostics file layout F-1
Scheduled Data Transfer 2-2
ControlNet cabling 1-23
ControlNet communication, closing 4-3
ControlNet diagnostics file layout F-1
Index
ControlNet I/O
error messages D-4
features 2-1
files configured with map
Data Input File (DIF) 2-18, 2-19
Data Output File (DOF) 2-18, 2-19
Default Configuration File 2-18
I/O Status File 2-18
I/O forcing 2-7
immediate data transfer operations 2-8
map table
creating 2-16
entries 2-16
mapping scheduled data transfers 2-16
scheduled data transfer operations 2-2,
2-4
scheduled operations
discrete I/O data transfer 2-4
nondiscrete I/O data transfer 2-4
peer-to-peer communication 2-4
understanding 2-1
unscheduled data transfer operations
2-4
unscheduled non-discrete I/O data
transfer 2-4
unscheduled operations
ControlNet I/O Transfer (CIO)
instruction
description C-1
ControlNet I/O Transfer (CIO)
instructions
description 2-6
features 2-6
I/O transfer instructions
programming 4-3
immediate data I/O instructions
programming 4-6
ladder rung messages 2-4
messaging from programming
devices 2-4
non-discrete I/O data transfers 2-6
description C-1
features C-1
peer-to-peer messaging 2-4, 2-7
Index
ControlNet system
cabling 1-23
configuring 3-1
changing a 1794 I/O modules fault
action 2-6, 4-4
changing a 1794 I/O modules idle
action 2-6, 4-4
configuring nodes 2-16
locating additional information P-4
monitoring 5-1
network maintenance 2-5
network update cycle
what happens in 2-5
scheduled operations 2-5
selecting devices to connect 2-31
troubleshooting 5-1
unscheduled operations 2-5
using ControlNet PLC5 processors in
definition of P-2
description 2-4
discrete I/O data transfer mapping 2-19
distributed keeper
functionality 2-33
DOF P-2, 2-18, 2-19
download from RSLogix 5 3-3
download software projects 3-3
drop cable
definition of P-2
E
error codes D-4
error codes 200 and 201 4-9
Expected Network Packet Time
1771 non-discrete I/O data transfer
mapping 2-21
2-31
ControlNet system software 3-1
ControlNet, conserving resources 4-3
Converting
ControlNet phase 1.0 or 1.25 to 1.5 2-35
non-ControlNet to ControlNet system
2-34
D
Data Highway Plus status indicators 5-5
Data Input File
definition P-2
description 2-18, 2-19
data invalid bit D-2
Data Output File
definition P-2
description 2-18, 2-19
data overrrun D-2
data underrun D-2
Default Configuration File
description 2-18
diagnostics file layout
ControlNet F-1
DIF P-2, 2-18, 2-19
diganostics counters F-1
discrete I/O data transfer
F
fault codes E-1
fault codes 200 and 201 4-9
fault routines E-1
files
configured with I/O map for scheduled
I/O usage 2-18
Data Input 2-18, 2-19
Data Output 2-18, 2-19
Default Configuration 2-18
I/O Status 2-18, 2-35, D-1
I/O status 2-18
processor status B-1
frame
definition of P-2
front panel
PLC-5/20C processor 1-3
PLC-5/40C processor 1-4
G
global status bits
racks 07 B-2
racks 1017 B-12
Index
I
I/O
ControlNet 2-1
automatic mapping 2-16
discrete I/O data transfer mapping
2-19
files configured with map
Data Input File (DIF) 2-18, 2-19
Data Output File (DOF) 2-18,
2-19
Default Configuration File 2-18
I/O Status File 2-18
I/O forcing 2-7
immediate data transfer 2-8
map table
creating 2-16
entries 2-16
maximum number of entries
2-18
mapping 2-16
mapping data transfers 2-18
non-discrete I/O data transfer
mapping 2-19, 2-20
reserving rack space for remote I/O
linked racks before
mapping 2-16
scheduled data transfer 2-2
scheduled operations
discrete I/O data transfer 2-4
non-discrete I/O data transfer
2-4
peer-to-peer communication
2-4
unscheduled
I/O datatransfer instructions
4-3
immediate data I/O instructions
4-6
Message instruction 2-7, 4-1,
C-1
non-discrete I/O data transfers
2-6, C-1
non-discrete I/O data transfer
instructions 4-3
unscheduled data transfer 2-4
unscheduled non-discrete I/O data
transfer 2-4
unscheduled operations
messaging from programming
devices 2-4
non-discrete I/O data transfer
2-4
peer-to-peer messaging 2-4
I/O configuration utility 3-2
I/O forcing 2-7
I/O map table
definition of P-2
I/O map entry status words D-1
I/O mapping techniques 2-21
I/O status indicator 5-3
IDI 2-9
IDO 2-9
IIN 2-9
Immediate Data Input (IDI) instruction
C-2
Immediate Data Output (IDO) instruction
C-2
immediate data transfer operations 2-8
immediate I/O
process 2-9
immediate inhibit bit D-2
Immediate Input (IIN) instruction 2-9
Immediate Output (IOT) instruction 2-9
indicators
PLC-5/20C 1-3
PLC-5/40C 1-4
inhibit bit D-2
installed memory card type
using status to determine B-14
installing keying bands for the processor
1-10
installing your processor
checking your processor package 1-5
connecting a programming terminal
1-19
ControlNet connection 1-21
DH+ connection 1-19
serial channel 1-20
connecting to a ControlNet network
1-17
identifying the components of the
processor 1-3
installing a DH+ link 1-15
installing a remote I/O link 1-13
installing keying bands for the processor
1-10
installing the processor in the chassis
1-13
Index
1-13
selecting cables
ControlNet cables 1-23
DH+ programming 1-23
remote I/O 1-23
serial 1-22
selecting the ControlNet network
address 1-12
selecting the DH+ station address of
Channel 1A 1-11
setting the I/O chassis backplane
switches 1-9
setting the I/O chassis configuration plug
1-10
specifying the serial interface of Channel
0 1-12
instructions
ControlNet I/O Transfer (CIO) 2-6, C-1
how to use 4-3
when to use 2-20, 2-35
ControlNet Immediate Data Input (IDI)
2-9, C-2
how to use 4-6
ControlNet Immediate Data Output (IDO)
2-9, C-2
how to use 4-6
ControlNet Message (MSG)
how to use 4-1
Immediate Input (IIN) 2-9
Immediate Output (IOT) 2-9
Message (MSG) 2-7
how to use C-1
when to use 2-21
IOT 2-9
K
keeper
definition P-2
keeper signature
verification 3-4
keyswitch
location of
on PLC-5/20C 1-3
on PLC-5/40C 1-4
L
ladder rung messaging 2-4
link
definition of P-2
M
major fault 200 and 201 4-9
major fault codes E-1
map table 2-16
maptable entries 2-16
maptable entry P-2
memory card type
using status file to determine B-14
memory module space 1-3, 1-4
merge-save functionality 3-5
Message instructions 2-4, 2-7, 4-1, C-1
monitoring ControlNet system 5-1
MSGs 2-4
multicast 2-14
multicast inputs 2-14
multicast outputs 2-14
N
NAP P-2
Network Access Port
definition of P-2
network address
definition of P-2
network examples 2-32
Network Update Interval 2-5
definition of P-2
Network Update Time
definition of P-3
node
definition of P-3
non-discrete I/O data transfer P-3, 2-4
non-discrete I/O data transfer mapping
2-20
non-redundant media 1-17
NUI P-2, 2-5
NUT P-3
O
Option to Close Communication 4-3
owner
definition of P-3
Index
P
PCMCIA Communication Card 2-31
PCSC 2-9
considerations 2-11
PCSC enable bit D-2
PCSC new data bit D-2
PCSC overflow bit D-2
Peer In 2-21
Peer Out 2-21
performing verification activities 3-4
PLC-5
using in a ControlNet system 2-31
PLC-5 catalog numbers P-1
PLC-5 processors P-4
PLC-5 programming software P-4
PLC-5 publications P-4
Process Control Sample Complete 2-9
processor
definition P-3
front panel
PLC-5/20C 1-3
PLC-5/40C 1-4
specifications A-1
processor status file B-1
layout B-1
processor resident local I/O 2-16
processors
ControlNet PLC-5 programmable
controllers P-1
programming a processor
through Channel 0 1-20
programming software 3-1
programming terminal
connecting 1-19
publications
ControlNet cabling 1-25
ControlNet system 1-18
remote I/O
cable lengths 1-13
nonControlNet 2-17
remote I/O status indicators 5-5
remote I/O immediate I/O transfers 2-8,
4-8
repeater
definition of P-3
replacing a non-ControlNet remote I/O
network with a ControlNet
network 2-16, 2-34, 2-35
Requested Packet Interval
definition P-3
reset bit D-2
RSLinx software 3-1
RSLogix software 3-1
RSNetWorx for ControlNet software 3-1
RSNetWorx to perform verification
activities 3-4
S
scan list configuration
definition P-2
scan list entry
definition P-2
scanner signature
verification 3-4
scheduled connection types
definition P-3
Scheduled Data Transfer
definition 2-2
scheduled data transfer operations 2-2,
2-4
scheduled maximum node
definition P-3
scheduled peer-to-peer communication
2-4
scheduled peer-to-peer communications
R
rack control bits
racks 07 B-12
racks 1017 B-13
recovery
fault codes 200 and 201 4-9
redundant media 1-17
definition of P-3
redundant media example 2-32
related ControlNet publications P-4
related PLC-5 publications P-4
Publication 1785-UM022C-EN-P - February 2008
2-21
scheduled peer-to-peer communications
mapping 2-21
scheduled transfers
definition of P-3
screens
Instruction Entry for ControlNet I/O
Transfer Block 4-3
Instruction Entry for Message Block 4-1
segment
definition of P-3
Index
terminating 1-17
Selectable Timed Interrupts (STIs)
using with ControlNet system 4-9
selecting the DH+ station address of
Channel 1A 1-11
setting the I/O chassis backplane
switches 1-9
addressing switches 1-9
EEPROM transfer switches 1-9
last state switch 1-9
processor memory protection switch 1-9
setting the I/O chassis configuration plug
1-10
SMAX
definition P-3
Software 3-1
specifications
PLC-5 A-1
specifying the serial interface of
Channel 0 1-12
status
layout for the processor B-1
Status File D-1
I/O
description 2-18
status file
processor B-1
status indicators
location of
on PLC-5/20C 1-3
on PLC-5/40C 1-4
PLC-5 5-1
using 5-1, 5-3
status words
I/O map entry D-1
T
tap 1-21
connecting 1-17
definition of P-3
using 1-17
terminator
definition of P-3
troubleshooting ControlNet system 5-1
trunk cable
definition of P-3
trunkcable section P-3
U
UMAX
definition P-3
Unscheduled Data Transfer
definition 2-4
unscheduled data transfer operations
2-4
unscheduled maximum node
definition P-3
unscheduled non-discrete I/O data
transfer 2-4
unscheduled transfers
definition of P-3
upload/download software projects 3-3
user control bits
processor status file B-12
using ControlNet I/O Transfer (CIO)
instructions 4-3
using ControlNet Immediate Data I/O
instructions 4-6
using ControlNet Message (MSG)
instructions 4-1
using the ControlNet status indicators
5-3
using the general status indicators 5-1
using this manual
conventions used P-4
intended audience for P-1
introduction to P-1
recommended preparation for P-1
V
verification acitivities 3-4
verify keeper signature 3-4
verify scanner signature 3-4
Index
1785-L20C15,
1785-L40C15,
1785-L46C15,
1785-L80C15
Pub. No.
1783-UM001A-EN-P
Part No.
Please complete the sections below. Where applicable, rank the feature (1=needs improvement, 2=satisfactory, and 3=outstanding).
Overall Usefulness
Completeness
(all necessary information
is provided)
Technical Accuracy
(all provided information
is correct)
How
Clarity
1
(all provided information is
easy to understand)
procedure/step
illustration
feature
example
guideline
other
explanation
definition
Other Comments
illustration
Your Name
Your Title/Function
Location/Phone
Email: RADocumentComments@ra.rockwell.com
NO POSTAGE
NECESSARY
IF MAILED
IN THE
UNITED STATES
1 ALLEN-BRADLEY DR
MAYFIELD HEIGHTS OH 44124-9705
PLEASE REMOVE
Other Comments
Notes
Rockwell Automation
Support
Installation Assistance
If you experience a problem within the first 24 hours of installation, please
review the information that's contained in this manual. You can also contact
a special Customer Support number for initial help in getting your product up
and running.
United States
1.440.646.3434
Monday Friday, 8am 5pm EST
Outside United
States
Outside United
States
Copyright 2008 Rockwell Automation, Inc. All rights reserved. Printed in the U.S.A.