Allen Bradley PLC 5 Manual
Allen Bradley PLC 5 Manual
Allen Bradley PLC 5 Manual
- ~ ARTISAN®
~I TECHNOLOGY GROUP
with experienced engineers and technicians on staff.
Find the Rockwell / Allen-Bradley 1785-LT2 Series A at our website: Click HERE
ControlNet
PLC5
User
Programmable
Controllers
Manual
Cat. No. 1785L20C, L40C
product icon
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Important User Information Because of the variety of uses for the products described in this pub-
lication, those responsible for the application and use of this control
equipment must satisfy themselves that all necessary steps have been
taken to assure that each application and use meets all performance and
safety requirements, including any applicable laws, regulations, codes,
and standards.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Table of Contents
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
ii Table of Contents
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Preface
Introduction This manual describes how to install your processor as well as how to
plan for, configure, and use the features of a PLC-5/20Ct or PLC-5/40Ct
programmable controller that are unique to the ControlNett network.
Audience The information in this manual is intended for engineers and technicians who
are installing, programming, and maintaining a control system that includes a
PLC-5/20C or PLC-5/40C programmable controller.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Preface
Using This Manual
ii
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Preface
Using this Manual
A series like this Any Menu indicates a keystroke procedure for you
to follow to get to the correct screen or
to complete a task using software
Fx
Text that shows what a terminal displays is shown like this: Press a key
Text in square brackets indicates an actual key that you press—i.e., [F1]
Text describing information that you must provide is italicized—i.e., filename
PLC5 Processor
Documentation
1785 Enhanced Enhanced & Ethernet PLC5 ControlNet PLC5
PLC5 Processor Programmable Controllers Programmable Controllers
System Overview User Manual User Manual
1785 PLC5
ControlNet PLC5 Programmable Controllers
Programmable Controllers
Quick Reference
Quick Start
Quick access to switches,
status bits, indicators,
How to install and use instructions, SW screens
a ControlNet processor
in a typical system 17857.1
17857.4
iii
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Preface
Using This Manual
PLC5 PLC5
Programming Software Programming Software
Software Configuration I/O Configuration
and Maintenance
Installing software, defining Configuring
datatable files, configuring intelligent
processor, checking status, I/O modules
clearing faults
62006.4.6 62006.4.12
iv
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter
1
Installing Your ControlNet PLC5 Processor
1-1
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 1
Installing Your ControlNet PLC5 Processor
2. Check your processor package, and make sure that you have
the following:
Processor
1-2
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 1
Installing Your ControlNet PLC5 Processor
Handling the Processor Your processor is shipped in a static-shielded container to guard against
electrostatic damage. Electrostatic discharge can damage integrated
circuits or semiconductors in the processor if you touch backplane
connector pins. It can also damage the module when you set configuration
plugs or switches inside the module. Avoid electrostatic damage by
observing the following precautions.
1-3
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 1
Installing Your ControlNet PLC5 Processor
Identifying ControlNet PLC5 Figure 1.1 and Figure 1.2 show the front panels of the ControlNet
Processor Components PLC-5 processors.
Figure 1.1
PLC5/20C Processor Front Panel
Channel 2
ControlNet Redundant Media Ports
BNC; dedicated
Channel 0 Memory Module Space
Serial Port 25pin Dshell; supports standard EIA
RS232C and RS423; is RS422A compatible ➀
Use this port with ASCII or DF1 fullduplex, half
duplex master, and halfduplex slave protocols.
The port's default configuration supports processor
programming:
• DF1 pointtopoint • one stopbit
• 2400 bit/s • BCC error check
• no parity • no handshaking
Channel 1 Status Indicators (Green/Red)
Battery Compartment
DH+ Programming Terminal Connection
to Channel 1A
8pin miniDIN
Channel 1A Channel 1B
3 pin; dedicated DH+ 3 pin; default is remote I/O scanner;
configurable for:
• remote I/O scanner
• remote I/O adapter
➀ Channel 0 is optically coupled (provides high electrical • DH+ communication
noise immunity) and can be used with most RS422A • unused
equipment as long as:
• termination resistors are not used
• the distance and transmission rate are reduced to
comply with RS423 requirements
1-4
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 1
Installing Your ControlNet PLC5 Processor
Figure 1.2
PLC5/40C Processor Front Panel
Channel 2
ControlNet Redundant Media Ports Channel 0
BNC; dedicated Serial Port 25pin Dshell; supports standard EIA
RS232C and RS423; is RS422A compatible ➀
Use this port with ASCII or DF1 fullduplex, half
duplex master, and halfduplex slave protocols.
Channel 1 Status Indicators (Green/Red) The port's default configuration supports processor
programming:
DH+ Programming Terminal Connection
to Channel 1A • DF1 pointtopoint • one stopbit
8pin miniDIN, parallel with 3pin connectors • 2400 bps • BCC error check
of Channel 1A; use only when Channel 1A is • no parity • no handshaking
configured for DH+ communications
Channel 1A Memory Module Space
3 pin; default is DH+; configurable for:
• remote I/O scanner
• remote I/O adapter
• DH+ communication
• unused
Battery Compartment
Channel 1B
3 pin; default is remote I/O scanner;
configurable for:
• remote I/O scanner
• remote I/O adapter ➀ Channel 0 is optically coupled (provides high electrical
• DH+ communication noise immunity) and can be used with most RS422A
• unused equipment as long as:
• termination resistors are not used
• the distance and transmission rate are reduced to
comply with RS423 requirements
1-5
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 1
Installing Your ControlNet PLC5 Processor
Setting the I/O Chassis Set the I/O chassis backplane switches using a ball-point pen to set
Backplane Switches each switch.
Important: Do not use a pencil because the tip can break off and
short the switch.
Switch
Last State
1
Outputs of this I/O chassis remain in their last state when a hardware
ON
failure occurs.➀
OFF Outputs of this I/O chassis are turned off when a hardware failure occurs.➀
O
N
O 1
F
F
Always OFF
3
4
Switches
Addressing ON
5
4 5
6
OFF ON 1 -slot
8
Switches
EEPROM Transfer
6 7
OFF OFF EEPROM memory transfer to processor memory at powerup.➁➂
EEPROM memory transfers to processor memory if processor memory
ON ON
not valid.
ON OFF EEPROM memory does not transfer to processor memory.➃
Switch
Processor Memory Protection
8
OFF Processor memory protection disabled.
ON Processor memory protection enabled.➄
➀ 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
➁ If an EEPROM module is not installed and processor memory is valid, the processor's
PROC indicator blinks and the processor sets S:11/9, bit 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.
➂ 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.
➃ A processor fault (solid red PROC LED) occurs if processor memory is not valid.
➄ You cannot clear processor memory when this switch is on. 19309
1-6
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 1
Installing Your ControlNet PLC5 Processor
Setting the I/O Chassis Set the I/O chassis configuration plug as follows:
Configuration Plug
Installing Keying Bands You receive plastic keying bands with each I/O chassis. Insert the keying
for the Processor bands as follows:
1-7
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 1
Installing Your ControlNet PLC5 Processor
Installing and Disposing The 1770-XYC battery ships with the processor and requires
of the Processor Battery special handling.
19331
Batteryside connector
Processorside connector
3. Replace the battery cover, and secure the battery cover with the
thumb screw.
4. On the battery cover, write the date that you installed the last
new battery.
1-8
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 1
Installing Your ControlNet PLC5 Processor
1-9
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 1
Installing Your ControlNet PLC5 Processor
Selecting the DH+ Station To select the DH+ station address of Channel 1A, set the switches of
Address of Channel 1A assembly SW1.
Side View of PLC5/40C Processor
Switch Assembly SW1
1 2 3 4 5 6 7
Always OFF
Toggle pushed
toward TOP
OFF
To select: Set switch: To: Toggle pushed
toward BOTTOM
DH+ Station Number 1 through 6 (See below)
ON
Switch 7 is not used set it to OFF
Switch Switch
DH+ DH+
Station Station
Number 1 2 3 4 5 6 Number 1 2 3 4 5 6
0 on on on on on on 40 on on on on on off
1 off on on on on on 41 off on on on on off
2 on off on on on on 42 on off on on on off
3 off off on on on on 43 off off on on on off
4 on on off on on on 44 on on off on on off
5 off on off on on on 45 off on off on on off
6 on off off on on on 46 on off off on on off
7 off off off on on on 47 off off off on on off
10 on on on off on on 50 on on on off on off
11 off on on off on on 51 off on on off on off
12 on off on off on on 52 on off on off on off
13 off off on off on on 53 off off on off on off
14 on on off off on on 54 on on off off on off
15 off on off off on on 55 off on off off on off
16 on off off off on on 56 on off off off on off
17 off off off off on on 57 off off off off on off
20 on on on on off on 60 on on on on off off
21 off on on on off on 61 off on on on off off
22 on off on on off on 62 on off on on off off
23 off off on on off on 63 off off on on off off
24 on on off on off on 64 on on off on off off
25 off on off on off on 65 off on off on off off
26 on off off on off on 66 on off off on off off
27 off off off on off on 67 off off off on off off
30 on on on off off on 70 on on on off off off
31 off on on off off on 71 off on on off off off
32 on off on off off on 72 on off on off off off
33 off off on off off on 73 off off on off off off
34 on on off off off on 74 on on off off off off
35 off on off off off on 75 off on off off off off
36 on off off off off on 76 on off off off off off
37 off off off off off on 77 off off off off off off
1-10
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 1
Installing Your ControlNet PLC5 Processor
Specifying the Serial Specify RS-232C, RS-422A, or RS-423 communication for Channel 0 by
Interface of Channel 0 setting the switches of assembly SW2.
Front of Front of
Processor Processor
1 2 3 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 10
Set Switches:
To Specify:
1 2 3 4 5 6 7 8 9 10
ON ON ON OFF OFF ON ON OFF ON OFF
RS232C
Toggle pushed
toward TOP
OFF OFF OFF ON OFF OFF OFF OFF OFF ON OFF
Toggle pushed RS422A
toward BOTTOM
ON ON ON ON OFF OFF ON OFF OFF ON OFF
RS423
Selecting the ControlNet Select your processor’s ControlNet network address by setting the two
Network Address of 10-digit rotary switches on the top of the processor.
Channel 2
20 30 2 3
10 40 1 4
00 50 0 5 Network address 01
is shown
90 60 9 6
80 70 8 7
NET ADDRESS
For optimum throughput, You can select from as many as 99 network addresses (from 01 to 99) for a
Tip assign addresses to your processor on a ControlNet link. 00 is invalid.
ControlNet nodes in a
sequential order starting
with 01 for the controlling
processor.
1-11
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 1
Installing Your ControlNet PLC5 Processor
Inserting/Removing the To insert/remove the processor into/from the chassis, do the following:
Processor into/from the
I/O Chassis ATTENTION: Make certain that power to the chassis is
! off before inserting or removing the processor.
19898
Installing a Remote I/O Link Install a remote I/O link using 1770-CD cable and either a daisy-chain or
trunk-cable/drop-cable configuration.
Trunkcable/dropcable considerations: Verify that your system’s design plans specify cable lengths within
When using a trunkcable/dropcable allowable measurements.
configuration, use 1770SC station
connectors and follow these cable
length guidelines: Important: The maximum cable length for remote I/O depends on the
transmission rate. Configure all devices on a remote I/O link to
• trunkcable length depends on the
communication rate of the link; see communicate at the same rate.
Table 1.A
• dropcable length 30.4 m Table 1.A
(100 cableft) maximum Correct Cable Length Based on Communication Rate
Important: When using a trunkcable/
dropcable configuration, set your A remote I/O link using this Cannot exceed this
communication rate to 57.6kK bit/s. communication rate: cable length:
57.6K bit/s 3,048 m (approximately 10,000 ft)
115.2K bit/s 1,524 m (approximately 5,000 ft)
More 230.4K bit/s 762 m (approximately 2,500 ft)
1-12
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 1
Installing Your ControlNet PLC5 Processor
1-13
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 1
Installing Your ControlNet PLC5 Processor
Installing a DH+ Link Use 1770-CD cable to connect the processor to a DH+ link.
To make connections:
For more information, see the Data Highway/Data 82W or 150W resistor 82Ω or 150W resistor
Highway Plus/Data Highway II/Data Highway 485
Cable Installation Manual, publication 17706.2.2. 19339
1-14
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 1
Installing Your ControlNet PLC5 Processor
After terminating your segments, you connect your node to the network.
1-15
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 1
Installing Your ControlNet PLC5 Processor
DH+ Connection
To attach a programming terminal to a ControlNet PLC5 processor using a DH+ connection:
If you use this card
to access a DH+ link: Use cable:
1784PCMK G 1784PCM6
G 1784PCM5 with a 1784CP7 adapter
1784KT, KT2 G 1784CP6
G 1784CP6 with a 1784CP7 adapter
G 1784CP8 adapter
1784KTx, KTxD 1784CP13
BATT
CH 0
Serial Channel
To program the processor using Channel 0, configure the channel for RS232C using DF1
pointtopoint protocol.
BATT
If your programming
terminal has a: Use cable:
9pin serial port 1784CP10 CH 0
25pin serial port 1784CP11
PLC5/20C PLC5/40C
Processor Processor
1-16
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 1
Installing Your ControlNet PLC5 Processor
ControlNet Connection
You can connect programming devices to a ControlNet network through:
ATTENTION: Do not connect the same
! communication card to both the NAP and the ControlNet network access cable (1786-CP)
a tap on the ControlNet network.
a tap on a ControlNet network
Using 1784KTCx communication card on coax media➀ Using 1784KTC or KTCx communication card and NAP➀
PLC5/40C PLC5/40C
(or 5/20C) (or 5/20C)
ControlNet Network ControlNet Network
Processor Processor
Using 1770KFC communication interface on coax media➀ Using 1770KFC communication interface and NAP➀
1770KFC
PLC5/40C PLC5/40C
(or 5/20C) (or 5/20C)
ControlNet Network ControlNet Network Processor
Processor
1-17
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 1
Installing Your ControlNet PLC5 Processor
For more information about cables, see the Enhanced and Ethernet PLC-5
More Programmable Controllers User Manual, publication 1785-6.5.12.
Serial Cables
You can make your own serial cables or purchase them from
Allen-Bradley Company, Inc.
The side label of the processor shows the following table, which
lists Channel 0 (serial port) pin assignments.
1-18
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 1
Installing Your ControlNet PLC5 Processor
ControlNet Cables
Several types of RG-6 quad-shield cable may be appropriate for your
ControlNet installation—depending on the environmental factors
associated with your application and installation site.
1-19
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 1
Installing Your ControlNet PLC5 Processor
The following ControlNet cable system components are available from the
Allen-Bradley Company, Inc.:
1-20
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter
2
Planning to Use Your ControlNet
PLC5 Processor
is continuous
the gathered input image is moved from a private memory buffer to the
processor’s input-image file for use during the next logic scan
the data from the output-image file is put into a private memory buffer
and is sent during the next scheduled communication
2-1
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 2
Planning to Use Your ControlNet
PLC5 Processor
Housekeeping
Logic Scan
Scheduled Data Transfer Program Scan
Table 2.A
ControlNet Scheduled DataTransfer Operations
Operation Description
Discrete I/O Data Transfer Performed in a deterministic and repeatable manner
asynchronous to and independent of the ladderlogic
program scan. You configure all ControlNet discrete I/O
data transfers on a pernode basis in the I/O map table.①
Nondiscrete I/O Data Transfer Handled with the same priority as discrete I/O data transfer.
You can update analog data without using blocktransfer
instructions in ladder programs. You do this by including
nondiscrete I/O datatransfer configurations in the I/O map
table. This data is updated in the buffers and datatable
files between logic scans in the same manner as that used
in discrete I/O data transfer.①
Peertopeer Communication Allows the controlling" processor at network address 01
to communicate with other ControlNet processors on the
ControlNet network with the same priority as that of the
discrete and nondiscrete I/O data transfers discussed
above.①
① While scheduled data transfer is asynchronous to program scanning, all data is presented
synchronously to the processor and output buffers during housekeeping.
2-2
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 2
Planning to Use Your ControlNet
PLC5 Processor
The ControlNet system places your scheduled transfers in the first part
of each Network Update Interval (NUI), time is automatically reserved
for network maintenance, and unscheduled transfers are performed during
the time remaining in the interval.
ÇÇÇÇÇ ÇÇÇÇÇ
operations
ÉÉÉÉÉÉ
ÇÇÇÇÇ É
ÇÇÇÇÇ ÉÉÉÉÉ
Ä ÉÉÉÉÉÉ ÄÄ
ÉÉÉÉÉÉ
Ä ÄÄ. . .
Any time remaining is used
. . . for unscheduled operations
2-3
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 2
Planning to Use Your ControlNet
PLC5 Processor
Table 2.B
ControlNet Unscheduled DataTransfer Operations
Operation Description Features
Nondiscrete Perform ladderinitiated unscheduled nondiscrete I/O data transfers on a • As many as 32 1771 READ and/or 1771 WRITE
I/O Data ControlNet network by using ControlNet I/O Transfer (CIO) instructions. CIOs can be active at a time①
Transfer The data type for these transfers (CT) has the following information: • A minor fault is set when 32 1771 READ and/or
• Command: 1771 WRITE CIOs are active at a time
CIO 1771 READ reads data from a 1771 nondiscrete I/O module • You cannot use CIO instructions to read or write
Instructions blocks of data from or to 1794 Flex I/O modules;
1771 WRITE writes data to a 1771 nondiscrete I/O module
but you can use these instructions to configure
1794 FAULT ACTION changes the action a module takes when it faults 1794 features listed in the Description" column
1794 IDLE ACTION changes the action a module takes when it is idle • As many as 8 1794 Flex I/O CIOs can be active
at a time①
1794 CONFIG DATA changes a module's configuration data
• A minor fault is set when 8 1794 Flex I/O CIOs
1794 SAFE STATE DATA changes a module's safestate data are active at a time
• Datatable address in source processor • Any transfer initiated from a Processor Input
• Size of message in words Interrupt (PII) or Selectable Timed Interrupt (STI)
• Network address of destination node program suspends execution of the program
• Slot of destination module scan until the transfer is completed
• Port number set to 2 for the ControlNet network • Important: This can extend your program scan
• Flags: by ten's of ms.
• No transfer is initiated when the processor is in
.TO forces a transfer to time out
Program mode
.EW indicates that the transfer is waiting for an open connection • Transfers that have been running with the .CO
.CO transfer is made continuously in Run mode bit set automatically restart on the Program
toRun transition when the Continue Last step
.ER indicates that the transfer was terminated due to an error
bit is set and the data table has not changed
.DN indicates that the transfer was made without error • A transfer has a maximum size of 64 words
.ST indicates that the transfer was started • Only the processor owner" of an adapter can
send or receive transfers to or from any of that
.EN indicates that the transfer instruction is enabled
adapter's modules
• Error code indicates the error when the .ER bit is set
• Done length indicates the number of words transferred See pages 44 and C1 for more information.
Peertopeer You can use ControlNet message (MSG) instructions and the datatype MG to • As many as 32 ControlNet MSGs can be active
Messaging create unscheduled messages that are initiated by one ControlNet PLC5 at a time①
processor and sent to another ControlNet PLC5 processor. The MG data type • A minor fault is set when 32 ControlNet MSGs
MSG for the ControlNet instruction has the following information: are active at a time
Instructions • Command PLC5 TYPED READ or PLC5 TYPED WRITE • All messages have the same priority
• Datatable address in source processor • No message is initiated when the processor is in
• Size of message in elements Program mode
• Network address of destination processor • Messages that have been running with the .CO
• Datatable address in destination processor bit set automatically restart on the Program
• Port number set to 2 for the ControlNet network toRun transition when the Continue Last step
• Flags: bit is set and the data table has not changed
• Each message has a maximum size of 1000
.TO forces a message to time out
elements
.EW indicates that the message is waiting for an open connection
See pages 42 and C1 for more information.
.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
• Error code indicates the error when the .ER bit is set
2-4
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 2
Planning to Use Your ControlNet
PLC5 Processor
ControlNet I/O forcing occurs in the same way as remote I/O forcing in
the PLC-5/20 and -5/40 processors. The processor performs the forcing
and transmits the forced data to the output- and input-image tables. You
can force any discrete I/O data placed in the I/O image; however, forcing
of non-discrete I/O data is not supported.
2-5
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 2
Planning to Use Your ControlNet
PLC5 Processor
ÉÉ
Ä
ÉÉ
ÇÄ
ÉÉ
Immediate Data Transfer
Ç
ÉÉ
Ä
Private
Memory Data Update
Data
Table
Ç
ÉÉ
Buffers Files
Housekeeping
Ç
Logic Scan
Ç
ÇÇ
ÉÄÉ
ÉÉ = NUI
= Scheduled Data Transfer
= Unscheduled Data Transfer
Table 2.C
ControlNet Immediate DataTransfer Operations
Instructions Description
Immediate I/O ControlNet and Remote I/O 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
001 old as the time taken since the last asynchronous I/O update, and it may not actually reflect the latest
( IIN ) 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
001 buffer and is used on the next output update to the I/O chassis. The actual change is not
( IOT ) communicated until the next asynchronous I/O transfer.
Only 1 word of I/O data can be updated per instruction.
ControlNet Immediate Data I/O 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 datatable address that you specify. In the case of an output instruction, the data is copied from an
IDI area that you specified to the private memory buffer and sent on the next I/O update.
IMMEDIATE DATA INPUT As many as 64 words can be transferred per instruction.
Data file offset 232
Length 10 Important: In most cases, you should set the Data file offset and the Source of an IDO or the Data
Destination N11:232 file offset and the Destination of an IDI to the same address. See page 46 for more information on
this and other aspects of using ControlNet IDI and IDO instructions.
IDO
IMMEDIATE DATA OUTPUT
Data file offset 175
Length 24
Source N12:175
2-6
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 2
Planning to Use Your ControlNet
PLC5 Processor
Understanding ControlNet All scheduled data transfers must be mapped on a ControlNet network.
I/O Mapping You specify where I/O data is to be read from or written to—i.e., mapped.
You do this and establish the relationship between processors, I/O adapters,
and data-table file addresses by creating and maintaining an I/O map table.
An I/O map-table entry is required for each scheduled data transfer. The
map table is stored in the configuration section of memory and is not
accessible by your application program.
The following table shows the default number of input and output words
automatically reserved by the 6200 PLC-5 Programming Software for the
different sizes and addressing modes of processor-resident local I/O:
Important: ControlNet I/O cannot map into any part of a rack number
used by the processor-resident rack.
2-7
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 2
Planning to Use Your ControlNet
PLC5 Processor
Remote I/O
The following table shows the default number of input and output words
reserved by the 6200 PLC-5 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:
2-8
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 2
Planning to Use Your ControlNet
PLC5 Processor
The ControlNet I/O map table can contain up to 64 entries. Each map-
table entry corresponds to one transfer—either input or output—of data
between the ControlNet processor and an I/O rack, an I/O module, or
another ControlNet processor.
Table 2.D
Number of ControlNet I/O MapTable Entries Required
Table 2.E
Files That You Configure with the I/O Map for Scheduled I/O Usage
File Description
Status File Userspecified integer datatable file containing status information about all of the ControlNet network's scheduled I/O
maptable entries. Each entry has a statusfile offset field pointing to three status words associated with the entry.
Data Input File (DIF) Userspecified integer datatable file with a maximum of 1000 words. This space is used for both nondiscrete input data
and peertopeer input over the ControlNet network. Scheduled peertopeer inputs can also use the inputimage file.
Data Output File (DOF) Userspecified integer datatable file with a maximum of 1000 words. This space is used for both nondiscrete output data
and peertopeer output over the ControlNet network. Scheduled peertopeer outputs can also use the outputimage file.
Default Configuration File Userspecified integer datatable file used to store nondiscrete I/O data transfer configuration data when the automatic
mapping feature is used.
Table 2.F
ControlNet I/O MapTable Entry Fields
2-9
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 2
Planning to Use Your ControlNet
PLC5 Processor
Each map-table entry for a non-discrete I/O data transfer defines an offset
into the DIF or DOF where the data is stored. Using separate data-table
files for non-discrete I/O data transfer allows the processor to present
non-discrete I/O data in the same way as discrete I/O data—continuously
transmitted and asynchronous to the ladder-logic program scan.
1771 Modules
ControlNet 1771 discrete I/O data-transfer mapping requires one map-table
entry per module. ControlNet 1771 non-discrete I/O data-transfer mapping
requires one or two map-table entries per module, depending on the
module type.
2-10
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 2
Planning to Use Your ControlNet
PLC5 Processor
Table 2.G
1771 Nondiscrete I/O DataTransfer Mapping
Default Default Valid Default Valid Default Valid
Entries Input Input Output Output Config. Configuration
Module Type Description①② per Module Size Size(s) Size Sizes Size Sizes
1771-CFM/A 1771CFM/A Configurable 2 41 041 60 04, 14, 24, 60 04, 14, 24, 34,
Flowmeter Module 34, 44, 48, 44, 48, 52, 56,
52, 56, 60 60
1771-DE/A 1771DE/A Absolute Encoder Module 2 2 0, 2 20 0, 5, 10, 15, 20 0, 5, 10, 15, 20,
20, 22 22
1771-IE 1771IE Analog Input Module 1 8 18
1771-IF 1771IF Analog Input Module 1 8 164
1771-IFE/A 1771IFE/A Analog Input Module 1 20 520 37 0, 3, 37
1771-IFE/B 1771IFE/B Analog Input Module 1 20 522 37 0, 3, 37, 39
1771-IJ 1771IJ Encoder/Counter Module
2 1 0 1
0, 3 03 3 03
1771-IK 1771IK Encoder/Counter Module
1771-IL/A 1771IL/A Isolated Analog Input Mod. 1 12 512 19 0, 2, 19
1771-IL/B 1771IL/B Isolated Analog Input Mod. 1 12 515 19 0, 2, 19, 36, 37
1771-IR/A 1771IR/A RTD Input Module 1 8 38 14 0, 2, 8, 14
1771-IR/B 1771IR/B RTD Input Module 1 8 39 14 0, 2, 8, 14, 15
1771-IS 1771IS Multiplexer Input Module 1 6 17
1771-IXE/A 1771IXE/A Thermocouple/Millivolt 1 12 412 27 0, 1, 19, 27
Input Module
1771-IXE/B 1771IXE/B Thermocouple/Millivolt 1 12 413 27 0, 1, 19, 27, 28
Input Module
1771-IXHR/A 1771IXHR/A Highresolution 1 12 413 27 0, 3, 19, 27, 28
Thermocouple/Millivolt Input Module
1771-OF 1771OF Analog Output Module 2 1 01 4 460
1771-OFE/A 1771OFE/A Analog Output Module
2 5 0 5
0, 13 15 13
15, 13 0 5,
0, 5 13
1771-OFE/B 1771OFE/B Analog Output Module
N-Series/A 1771 NSeries Analog Module 2 28 0, 2028 59 0, 29, 59 59 0, 29, 59
1771-QA 1771QA Stepper Positioning Module 1 4 110
1771-QB 1771QB Linear Positioning Module 1 5 133
1771-QC 1771QC Servo Positioning Module 1 6 114
1771-SN 1771SN Sub I/O Scanner Module 2 16 0, 763 16 0, 763
1771-VHSC/A 1771VHSC Very Highspeed 2 18 0, 426 64 02, 4, 12, 20, 64 02, 4, 12, 20,
Counter Module 24, 29, 34, 24, 29, 34, 39,
39, 44, 49, 44, 49, 54, 59,
54, 59, 64 64
1771-Generic 1771 Generic Module③ 1 1 064 1 064 1 064
① ENPT Default = 4 x NUT
② ENPT Range = 215000 ms
③ For newly released modules or modules that can have multiple configurations but only one configuration is being used, you can use the generic
module type and specify the input and/or output sizes.
2-11
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 2
Planning to Use Your ControlNet
PLC5 Processor
To communicate with the modules listed in Table 2.G as well as with other
1771 analog modules, you can also include explicit CIO instructions in
your ladder-logic program. See pages 4-4 and C-1 for more information.
1794 Modules
ControlNet 1794 Flex I/O mapping requires two map-table entries
per adapter.
Table 2.H
1794 Flex I/O DataTransfer Mapping
Table 2.I
PeertoPeer Communications Mapping
Message Type Description①② Default Input Size Valid Input Sizes
Peer In Scheduled Peer In
64 164
Peer Out to __ Scheduled Peer Out
① ENPT Default = 4 x NUT
② ENPT Range = 215000 ms
2-12
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 2
Planning to Use Your ControlNet
PLC5 Processor
Using the ControlNet There can be only one PLC-5/20C or -5/40C processor updating I/O
PLC5 Processor in a adapters on a ControlNet network.
ControlNet I/O System the PLC-5/20C or -5/40C processor updating the I/O adapters must
be at network address 01—this is the “controlling” processor
2-13
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 2
Planning to Use Your ControlNet
PLC5 Processor
Serial Connection
1770KFC
Interface
ControlNet Network
Serial Connection
1770KFC
Interface
ControlNet Network
2-14
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 2
Planning to Use Your ControlNet
PLC5 Processor
Converting from a Non When you download archived files to a PLC-5/20C or -5/40C processor,
ControlNet Remote I/O the 6200 PLC-5 Programming Software ignores Channel 2 configuration
information from anything other than a ControlNet-processor program
System to a ControlNet
because Channel 2 is reserved for ControlNet communication on the
I/O System PLC-5/20C and -5/40C processors. The software sets Channel 2 to the
ControlNet default configuration.
Can be run on a
Program files① PLC5/20C or
for this process: Archived from a: On channel: 5/40C channel: If they fit and are:
• PLC5/11 • PLC5/40E
• PLC5/20 • PLC5/40L 0 0
• PLC5/20C • PLC5/60
• PLC 5/20E
PLC5/20E • PLC 5/60L
PLC5/60L
• PLC5/30 • PLC5/80
• PLC5/40 • PLC5/80E 1A 1A
• PLC5/40C
do nloaded unchanged
downloaded nchanged
• PLC5/20 • PLC5/40E
• PLC5/20C • PLC5/40L
• PLC5/20E • PLC5/60
1B 1B
• PLC5/30 • PLC5/60L
• PLC5/40 • PLC5/80
• PLC5/40C • PLC5/80E
• PLC5/20C • PLC5/40C 2 2
• PLC5/11 • PLC5/40E
Messaging and I/O
• PLC5/20 • PLC5/40L
• PLC5/20C • PLC5/60
• PLC5/20E • PLC5/60L 1A 2
• PLC5/30 • PLC5/80
• PLC5/40 • PLC5/80E
• PLC5/40C
performed by the ControlNet network you must make
• PLC5/20 • PLC5/40E these changes manually by reprogramming②③④
• PLC5/20C • PLC5/40L
• PLC5/20E • PLC5/60
1B 2
• PLC5/30 • PLC5/60L
• PLC5/40 • PLC5/80
• PLC5/40C • PLC5/80E
2
• PLC5/40 • PLC5/80
2A or 2B I/O you
performed by DH+ or remote I/O you must make
• PLC5/60 1A or 1B
these changes manually by reprogramming⑤
2-15
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 2
Planning to Use Your ControlNet
PLC5 Processor
Can be run on a
Program files① PLC5/20C or
for this process: Archived from a: On channel: 5/40C channel: If they fit and are:
2 1A or 1B performed by remote I/O you must make these
• PLC5/20E • PLC5/60L changes manually by reprogramming⑤
I/O • PLC 5/40E • PLC5/80E
PLC5/40E PLC 5/80E
• PLC5/40L 2 performed by the ControlNet network you must make
these changes manually by reprogramming③④⑤
① These include processor files, datatable files, and port configurations.
② If you do not update the program, the ControlNet processor will fault.
③ You must change blocktransfer instructions for the ControlNet system from the standard block transfer read (BTR) and block transfer write (BTW)
instructions to scheduled transfers or to unscheduled CIO instructions.
④ You must edit nonControlNet PLC5 programs containing references to the I/O Status File for use with I/O connected via the ControlNet network.
Information regarding ControlNet status is stored in a separate data file that you specify through the 6200 PLC5 Programming Software.
⑤ If you do not update the program, the datatable locations corresponding to the missing" I/O devices will not be updated.
2-16
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
3
Chapter
Fx = Function Key
Channel
Overview ControlNet
F5 Node Information (Edit)
See Page 34
F2
F4
ControlNet
I/O Mapping (Edit)
See Page 36
F9
F2
ControlNet
I/O Action (Edit)
See Page 310
3-1
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 3
Configuring Your ControlNet System
Matching the Processor Follow the steps on the left to go to the ControlNet Node Information
Configuration with the (Monitor) screen. If the ControlNet information in the processor does not
match that on the current ControlNet link, the software redisplays the
ControlNet Configuration
Channel Overview screen with a new prompt and set of function keys.
6200
Main Menu Channel Overview
Utility
PROCESSOR CONFIGURATION IS INCONSISTENT WITH CURRENT CONTROLNET CONFIGURATION.
F7 Press F10 apply processor to CNet.
>
Rem Prog Forces:None 5/40C File CN
Apply
to Link
Channel F10
Overview
F4
F5
3-2
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 3
Configuring Your ControlNet System
Defining Local Rack If you are programming offline, configuring Channel 2 for the first time,
Characteristics and entering an edit screen for the first time—or if you follow the steps on
the left—the software prompts you to select the number of slots in the local
chassis and your addressing mode.
6200
Main Menu ControlNet – Node Information MONITOR
Channel 2 Configuration NODE --
F3 4 Slots F8 2–slot
General F4 8 Slots F9 1–slot
Utility F5
F6
12 Slots
16 Slots
F10 1/2–slot
F7
3-3
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 3
Configuring Your ControlNet System
Editing ControlNet Follow the steps on the left to go to the ControlNet Node Information
Node Information (Edit) screen.
Move cursor to
Channel 2: CONTROLNET If you want to: Do this:
specify and create a diagnostics file 1. Move the cursor to the Diagnostics File field
Channel 2. Type an integer file number between N3 and N999
Configuration
(Monitor) 3. Press [Enter]
specify the number of coax repeaters in 1. Move the cursor to the Coax Repeaters in Series
F5
series that you are using in your field
ControlNet network
2. Type a number from 0 through 5
3. Press [Enter]
Node
Edit specify the number of pairs of fiber 1. Move the cursor to the Fiber Repeater Pairs field
optic repeaters that you are using in
F4 your ControlNet network 2. Type 0, 1, or 2
3. Press [Enter]
enter the length of fiber cable between 1. Move the cursor to the appropriate Pair #x length
repeaters for any fiberoptic repeater (meters) field
pairs that you specify
2. Type a number between 100 and 25500 (the software
Important: The field(s) for fibercable rounds up to the nearest 100)
length only appear if the number of
fiberoptic repeater pairs is not zero. 3. Press [Enter]
specify the NUT the repetitive time 1. Move the cursor to the Network Update Time
interval during which data can be sent (ms) field
over the ControlNet network
2. Type a number between 2 and 100
Important: All nodes do not need to
transmit each NUI; however, the NUT 3. Press [Enter]
defines the minimum time during which a
node can transfer scheduled data.
3-4
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 3
Configuring Your ControlNet System
3-5
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 3
Configuring Your ControlNet System
Editing ControlNet Follow the steps on the left to go to the ControlNet I/O Mapping (Edit)
I/O Mapping screen.
Important:
6200
Main Menu Only one user on a network can enter a processor’s ControlNet I/O
Mapping (Edit) screen at one time.
Online Offline While you are editing the map-table entries on this screen or accepting
Program or Program
pending edits, the screen may display the following message:
F1 F3
Maximum transmit size exceeded—adjustments necessary.
General
This indicates that you are attempting to configure a node to transmit
Utility more data per NUT than the node can support.
F7
ControlNet - I/O Mapping EDIT
Channel 2 Configuration NODE 1
Map
Monitor If you want to: Do this:
F2 specify and create the status file the file containing 1. Move the cursor to the Status File field
status information on all the ControlNet network's
scheduled I/O maptable entries 2. Type an integer file number between N3 and N999
3. Press [Enter]
Map
Edit specify and create the DIF the file used for both non 1. Move the cursor to the Data Input File field
discrete and peertopeer input data transfer over the
F2 ControlNet network 2. Type an integer file number between N3 and N999
3. Press [Enter]
specify and create the DOF the file used for both 1. Move the cursor to the Data Output File field
nondiscrete and peertopeer output data transfer
over the ControlNet network 2. Type an integer file number between N3 and N999
3. Press [Enter]
specify and create the Default Configuration File the 1. Move the cursor to the Dflt Config File field
file used to store nondiscrete I/O data transfer and
1794 Flex I/O configuration information when the 2. Type an integer file number between N3 and N999
automaticmapping feature is used 3. Press [Enter]
3-6
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 3
Configuring Your ControlNet System
3-7
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 3
Configuring Your ControlNet System
3-8
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 3
Configuring Your ControlNet System
3-9
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 3
Configuring Your ControlNet System
Node 4 1794–ACN
Channel
Configuration
(Monitor) If you want to: Do this:
F5 change a system's fault action 1. Move the cursor to the Fault Action column
i.e., the action that it takes
when it faults 2. Press [F8]—Toggle All to toggle between:
• Reset to change all outputs to zero
Map
• Hold Last to maintain all current output values
Monitor • Safe to change all outputs to userspecified fail-safe values
change a system's idle action 1. Move the cursor to the Idle Action column
F2
i.e., the action that it takes
when it becomes idle 2. Press [F8]—Toggle All to toggle between:
• Reset to change all outputs to zero
Map • Hold Last to maintain all current output values
Edit • Safe to change all outputs to userspecified fail-safe values
F2 change a system's fault action 1. Move the cursor to the Fault Action From Idle column
from idle i.e., the action that
it takes when it faults from idle 2. Press [F8]—Toggle All to toggle between:
• Idle to use the idle action
Move cursor to • Fault to use the fault action
a 1794 I/O entry change a module's fault action 1. Move the cursor to the module's field Fault Action field
i.e., the action that it takes
when it faults 2. Press [F10]—Toggle Entry to toggle between:
3-10
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 3
Configuring Your ControlNet System
3-11
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
4
Chapter
4-1
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 4
Programming Your ControlNet System
Using ControlNet Message You can use the existing MG data type to send two message commands
Instructions over the ControlNet system within the local ControlNet link—PLC-5
TYPED WRITE and PLC-5 TYPED READ.
Monitor
File
Follow the steps on the left to go to the Instruction Entry for Message
Block screen.
F8
4-2
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 4
Programming Your ControlNet System
6200 Follow the steps on the left to go to the Data Monitor for Message Control
Main Menu Block screen.
Online Offline
Program or Program Data Monitor for Message Control Block MG20:50
F8
Press a function key or enter a value.
MG20:50.TO =
Rem Prog Forces:None Data:Decimal Addr:Decimal 5/40C File CN
Toggle Size in Specify Next Prev Next Prev
Cursor to MSG instruction Bit Elemnts Address File File Element Element
F2 F3 F5 F7 F8 F9 F10
Data
Monitor
The fields of the MG data type that you can directly address are:
F8
4-3
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 4
Programming Your ControlNet System
Using the ControlNet I/O You can use the ControlNet I/O Transfer (CIO) instruction and the
Transfer Instruction ControlNet Transfer (CT) data type to make ControlNet I/O transfers
within the local ControlNet link. Follow the steps on the left to go to the
6200 Instruction Entry for ControlNet I/O Transfer Block screen.
Main Menu
Instruction Entry for ControlNet I/O Transfer Block CT21:50
Edit
4-4
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 4
Programming Your ControlNet System
6200 Follow the steps on the left to go to the Data Monitor for ControlNet I/O
Main Menu Transfer Block screen.
Online Offline Data Monitor for ControlNet I/O Transfer Block CT21:50
Program or Program Communication Command: 1771 Write
F1 F3 PLC-5 Data Table Address: N7:3 ignore if timed-out: 0 TO
Size in Elements: 10 awaiting execution: 0 EW
Elements Transmitted: 0 continuous: 0 CO
error: 0 ER
transfer done: 0 DN
Cursor to file; Local ControlNet Node: 1 transfer started: 0 ST
or enter file number or name Slot Number: 0 transfer enabled: 0 EN
Port Number: 2
Data
Monitor The fields of the CT data type that you can directly address are:
F8
.TO Abort (Time out) control bit word 0, bit 08
.EW Enabled-waiting flag bit word 0, bit 02
Monitor
File
.CO Continuous control bit word 0, bit 03
F3 .ER Errored flag bit word 0, bit 04
.DN Done flag bit word 0, bit 05
.ST Started flag bit word 0, bit 06
.EN Enabled flag bit word 0, bit 07
.ERR Error-code word word 1
.RLEN Requested length word word 2
.DLEN Done length word word 3
.FILE Transfer file number word 4
.ELEM Transfer element number word 5
For more detailed information on writing ladder programs, see the PLC-5
More Programming Software Instruction Set Reference, publication 6200-6.4.11,
and PLC-5 Programming Software Programming, publication 6200-6.4.7.
4-5
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 4
Programming Your ControlNet System
Using ControlNet Immediate You can use two instructions for immediate data input and output
Data Input and Output on a ControlNet network—Immediate Data Input (IDI) and Immediate
Data Output (IDO).
Instructions
6200 Follow the steps on the left to add IDI and IDO instructions to your
Main Menu program.
IDI
Online Offline IMMEDIATE DATA INPUT
Program or Program Data file offset 232
F1 F3 Length 10
Destination N11:232
Cursor to file;
or enter file number or name IDO
IMMEDIATE DATA OUTPUT
Data file offset 175
Monitor Length 24
File
Source N12:175
F8
[END OF FILE]
Insert In the example above, an IDI is initiated that updates the destination file
Rung from the private buffer before the next normal input-image update. The
F4 Data File Offset (232) is the offset into the buffer where the data is stored.
The Length (10) identifies the number of words in the transfer—it 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
Insert
Instruction 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
F4
to ensure data-block integrity in the case of Selectable Timed Interrupts
(STIs). See page 4-7.
Others An IDO is initiated that updates the private memory output buffer from the
F10 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 transfer or a logical
I/O
address that specifies the number of words to be transferred. The Source
Message (N12:175) is the source of the words to be transferred. The Source should
F3 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-7.
IDI IDO
or
F6 F7
4-6
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 4
Programming Your ControlNet System
For more detailed information on writing ladder programs, see the PLC-5
More Programming Software Instruction Set Reference, publication 6200-6.4.11,
and PLC-5 Programming Software Programming, publication 6200-6.4.7.
Using Selectable Timed You must be careful when using Selectable Timed Interrupts (STIs)
Interrupts with a Program with a program on a ControlNet network.
on a ControlNet Network
A Selectable Timed Interrupt (STI) periodically interrupts primary
program execution in order to run a subprogram to completion. If an STI
occurs while a normal ControlNet non-discrete I/O data transfer or a
ControlNet Immediate Data I/O instruction (IDO or IDI) is in progress and
they both operate on the same set of data, the integrity of that block of data
is jeopardized.
4-7
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
5
Chapter
5-1
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 5
Monitoring and Troubleshooting Your
ControlNet System
Using the General The general status indicators inform you of the general operational state of
Status Indicators the processor.
Steady Red Major fault 1. Turn power off, reseat processor, then
power up
Internal diagnostics 2. Clear memory and reload your program
failed
3. Replace EEPROM with new program
4. If still an error, replace the processor
Processor in Program Normal operation if
Off None
Load or Test mode mode correct
Steady Amber SFC and/or I/O forces
enabled
Flashing SFC and/or I/O forces
FORCE Normal operation
Amber present but not enabled
Off SFC and/or I/O forces not
present None
Normal operation if
No transmission on channel not being
Off
Channel 0 used
COMM
Transmission on Normal operation if
Flashing Green
Channel 0 channel being used
5-2
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 5
Monitoring and Troubleshooting Your
ControlNet System
Using the ControlNet Status The ControlNet status indicators inform you of the operational state of the
Indicators ControlNet network.
5-3
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 5
Monitoring and Troubleshooting Your
ControlNet System
• alternating the 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
• flashing the 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
• steady indicator is on continuously in the defined state
② The Configuration Manager node at node 01, the controlling processor is the node responsible for distributing ControlNet configuration data
to all nodes on the ControlNet network.
5-4
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 5
Monitoring and Troubleshooting Your
ControlNet System
Using the 6200 This section shows you how to use the ControlNet configuration monitor
Programming Software and status screens found in the 6200 PLC-5 Programming Software,
release 5.1 or later.
to Monitor ControlNet
Configuration and Status
ControlNet Configuration Monitor and Status Screens
in the 6200 Programming Software
Channel ControlNet
Overview Node Information (Monitor)
F5
See Page 56 Fx = Function Key
F2 F9
F4 F4
ControlNet ControlNet
F5
I/O Mapping (Monitor) View Times
F5
See Page 57 See Page 58
F9 F6 F9
F6
F2
ControlNet ControlNet
Map Entries Status I/O Action (Monitor)
See Page 59 See Page 511
ControlNet
Channel 2 Status
WHO
F5 See Page 512
5-5
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 5
Monitoring and Troubleshooting Your
ControlNet System
Channel Press a function key, page up or page down, or enter a node. number.
Overview >
Rem Prog Forces:None 5/40C File CN
F4 Map Node Define Chan 2
Monitor Edit LclRack Status
F2 F4 F7 F9
Move cursor to
Channel 2: CONTROLNET
The ControlNet Node Information (Monitor) screen lists the nodes that
you have entered for the ControlNet network; and it shows the node type,
product series/revision, and status (active or inactive) that you have
Channel configured for each node.
Configuration
(Monitor)
If you want to: Press:
F5
quickly position the cursor on a specific node in 1. Type the node number and a period (.)
the list e.g., 2.
2. Press [Enter]
go to the ControlNet I/O Mapping (Monitor) screen Press [F2]—Map Monitor
go to the ControlNet Node Information (Edit) screen Press [F4]—Node Edit
define the characteristics of the local chassis (for Press [F7]—Define LclRack
reserving I/O image space)
Important: This option is not available if you are
programming online.
go to the ControlNet Channel 2 Status screen Press [F9]—Chan 2 Status
go to the Channel Overview screen Press [Esc]
5-6
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 5
Monitoring and Troubleshooting Your
ControlNet System
Node Mod/Msg Type Act Net Pckt Input Output Status Config
General S/M Time(ms) File Size File Size Offset File Size
Utility
1 PLC–5/40C n/a n/a n/a n/a n/a n/a n/a
F7 1 Peer Out to 3 20 n/a n/a N36:0 64 0 n/a n/a
2 1771–ACN 5 I:010 8 O:010 8 3 n/a n/a
6 1771–IFE/A 10 N34:0 20 n/a n/a 6 N38:0 37
7 1771–OFE/A 10 N34:20 5 N36:64 5 9 N36:64 13
3 PLC–5/20C n/a n/a n/a n/a n/a n/a n/a
Channel 1 Peer In 5 N34:25 24 n/a n/a 15 n/a n/a
Overview
Press a function key, page up or page down, or enter a node.s/m number.
F4 >
Rem Prog Forces:None Display:Slot/Message 5/40C File CN
Map Select Node View Monitor Define I/O Monitor
Edit Display Monitor Times Status LclRack Monitor Actions
F2 F3 F4 F5 F6 F7 F8 F9
Move cursor to
Channel 2: CONTROLNET If you want to: Do this:
quickly position the cursor on a specific entry in the list 1. Type the node number, a period (.),
Channel and the slot or message number of
Configuration the entry e.g., 2.7
(Monitor)
2. Press [Enter]
F5
go to the ControlNet I/O Mapping (Edit) screen Press [F2]—Map Edit
select the display of slots, messages, or slots and messages in 1. Press [F3]—Select Display
the list
2. Press [F2]—Slot Display or
Map [F3]—Message Display or
Monitor [F4]—Slot/Message
F2 go to the ControlNet Node Information (Monitor) screen Press [F4]—Node Monitor
view the Actual Network Packet Time (ANPT) and Expected Press [F5]—View Times
Network Packet Time (ENPT) instead of the input, output,
status, and configuration information
go to the ControlNet Map Entries Status screen Press [F6]—Monitor Status
define the characteristics of the local chassis Press [F7]—Define LclRack
Important: This option is not available if you are
programming online.
go to the I/O Configuration Monitor Utility 1. Move your cursor to an analog entry
2. Press [F8]—I/O Monitor
go to the ControlNet I/O Action (Monitor) screen 1. Move the cursor to the 1794 I/O
Important: This option is not available if the display mode is module entry who's actions you want
set to Message Display on this screen or the ControlNet to monitor
View Times screen by using [F3]—Select Display. 2. Press [F9]—Monitor Actions
return to the ControlNet Node Information (Monitor) screen Press [Esc]
5-7
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 5
Monitoring and Troubleshooting Your
ControlNet System
Online Offline Status File: N32 Network Update Time(ms): 5 Sch BW(%): 64
Program or Program Data Input File: N34 –––––– Processor’s ControlNet Resource Usage –––––
Data Output File: N36 Map Entries PLC BW (%) DIF (%) DOF (%)
F1 F3 Dflt Config File: N38 8 8 10 8
Move cursor to
Channel 2: CONTROLNET If you want to: Do this:
quickly position the cursor on a specific entry in the list 1. Type the node number, a period (.),
Channel and the slot or message number of
Configuration the entry
(Monitor) 2. Press [Enter]
F5 see the ANPT for an entry the actual time it takes for the Look at the Act Net Pckt Time (ms)
network to update the data field for that entry
see the ENPT for an entry the maximum time allowed for the Look at the Exp Net Pckt Time (ms)
network to update the data field for that entry
Map
Monitor go to the ControlNet I/O Mapping (Edit) screen Press [F2]—Map Edit
F2 select the display of slots, messages, or slots and messages 1. Press [F3]—Select Display
in the list
2. Press [F2]—Slot Display or
[F3]—Message Display or
[F4]—Slot/Message
View
Times go to the ControlNet Node Information (Monitor) screen Press [F4]—Node Monitor
F5 toggle back to view input, output, status, and configuration Press [F5]-View Mapping
information
go to the ControlNet Map Entries Status screen Press [F6]—Monitor Status
go to the I/O Configuration Monitor Utility 1. Move your cursor to an analog entry
2. Press [F8]—I/O Monitor
go to the ControlNet I/O Action (Monitor) screen 1. Move the cursor to the 1794 I/O
Important: This option is not available if the display mode is module entry who's actions you want
set to Message Display on this screen or the ControlNet I/O to monitor
Mapping screen by using [F3]—Select Display. 2. Press [F9]—Monitor Actions
return to the ControlNet Node Information (Monitor) screen Press [Esc]
5-8
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 5
Monitoring and Troubleshooting Your
ControlNet System
5-9
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 5
Monitoring and Troubleshooting Your
ControlNet System
clear the reset bit so that the processor 1. Move the cursor to the Reset field for that entry
will set the output module or message's 2. Type a 0
Run/Program command to the
processor's mode 3. Press [Enter]
5-10
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 5
Monitoring and Troubleshooting Your
ControlNet System
Channel
Overview Press a function key.
>
F4 Rem Prog Forces:None 5/40C File CN
Map Define Edit
Monitor LclRack Actions
F2 F7 F9
Move cursor to
Channel 2: CONTROLNET
If you want to: Do this:
Channel go to the ControlNet I/O Mapping Press [Esc]or [F2]—Map Monitor
Configuration (Monitor) screen
(Monitor) define the characteristics of the local Press [F7]—Define LclRack
F5 chassis
Important: This option is not
available if you are programming
online.
Map view a module's fault action i.e., the Look at the module's field in the Fault Action column
Monitor action that it takes when it faults • Reset changes all outputs to zero
F2 • Hold Last maintains all current output values
• Safe changes all outputs to userspecified fail-safe values
view a module's idle action i.e., the Look at the module's field in the Idle Action column
action that it takes when it becomes • Reset changes all outputs to zero
Move cursor to idle
a 1794 I/O entry • Hold Last maintains all current output values
• Safe changes all outputs to userspecified failsafe values
view a module's fault action from idle Look at the module's field in the Fault Action From Idle
Monitor i.e., the action that it takes when it column
Actions faults from idle • Idle uses the idle action
F9 • Fault uses the fault action
go to the ControlNet I/O Action (Edit) Press [F9]—Edit Actions
screen
5-11
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 5
Monitoring and Troubleshooting Your
ControlNet System
Misc
Channel out of step events: 0 network silent: 0 noise detected: 0
commands received: 0 collisions: 0
Overview
Press a function key.
F4 >
Rem Prog Forces:None 5/40C File CN
Clear Unlock Chan 2
Counter Counter Config
F1 F2 F9
Move cursor to
Channel 2: CONTROLNET
Channel 2
go to the Channel Overview screen Press [Esc]
Status
F9
5-12
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 5
Monitoring and Troubleshooting Your
ControlNet System
Word;
This status field: Bits:① Displays:②
COUNTERS LOCKED when the display of the counters stops changing the counters continue to run in the background;
current values are continuously updated when COUNTERS LOCKED is not displayed
media usage the media redundancy characteristic for the ControlNet channel A/B, A Only, or B Only
Frames
update time overload 10; 0700 number of times that a NUI passes with no opportunity to transmit
blockage 11; 0700 number of times that a NUI does not contain enough room to allow the transmission of a particular
frame
moderator node 15; 1508 network address of the node that is transmitting the moderator frame always the lowest active
network address
mismatch events 16; 1508 number of times a moderator frame was received with network parameters different from those
in the receiving node
unheard occurrences 16; 0700 number of times a node can receive a frame from a lower network address but cannot receive
a moderator
Misc
out of step events 10; 1508 number of times anyy event prevents
p a frame from beingg transmitted in the NUI in which it should be
t itt d
transmitted
network silent 13; 1508 number of times a node cannot hear any network activity for three consecutive NUIs
number of times that a start of frame could not be detected
noise detected 14; 1508 number of station commands received directly from the network that bypass the node's host
commands received 17; 1508 processor
number of times that a node prevents the transmission of a frame because it would cause a
collisions 14; 0700 collision to occur
① In userspecified Diagnostics File
② All counters display only the status of the node being examined
5-13
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 5
Monitoring and Troubleshooting Your
ControlNet System
When you view the WHO screens while your ControlNet system is
operating, you affect the performance of unscheduled I/O operations.
Net Channel A Status: Cable Good Net Channel B Status: Cable Inactive
Online Node Channel Network Save Who
Program Diags Diags Diags Config Rate
F1 F2 F5 F6 F9 F10
save the current ControlNet WHO configuration as the permanent ControlNet WHO configuration [F9]—Save Config
5-14
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 5
Monitoring and Troubleshooting Your
ControlNet System
5-15
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 5
Monitoring and Troubleshooting Your
ControlNet System
When you view the WHO screens while your ControlNet system is
operating, you affect the performance of unscheduled I/O operations.
6200 Follow the steps on the left to go to the ControlNet WHO ACTIVE—
Main Menu Active Node Status screen.
5-16
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 5
Monitoring and Troubleshooting Your
ControlNet System
When you view the WHO screens while your ControlNet system is
operating, you affect the performance of unscheduled I/O operations.
6200 Follow the steps on the left to go to the ControlNet WHO ACTIVE—
Main Menu Channel Status screen.
save the current ControlNet WHO configuration as the permanent ControlNet WHO configuration [F9]—Save Config
enter a new ControlNet WHO update rate [F10]—WHO Rate
5-17
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
A
Appendix
Processor Specifications
A-1
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Appendix A
Processor Specifications
PLC5/20C PLC5/40C
Maximum User Memory Words 16K 48K①
Any Mix 512 2048
Maximum Total I/O
Complimentary 512 in and 512 out 2048 in and 2048 out
0.5 ms per K word (bit logic)
Program Scan Time
2 ms per K word (typical)
Maximum Nondiscrete I/O DataTransfer DataTable Size 1000 words in and 1000 words out
Transmission Rate 5M bit/s
Network Update Time (NUT) 2100 ms (user selectable)
Number of ControlNet Ports 1
Number of Redundant Media ControlNet Ports 1
Maximum Number of Nodes per Link without a Repeater 48 with 250 m (approx. 820 ft) cable length
ControlNet I/O② Maximum Number of Nodes per Link with Repeaters 107
1,000 m (approximately 3,280 ft) with 2 nodes
Maximum Link Cable Length without a Repeater 500 m (approximately 1,640 ft) with 32 nodes
250 m (approximately 820 ft) with 48 nodes
6,000 m (approximately 19,680 ft) with 2 nodes
Maximum Link Cable Length with Repeaters
3,000 m (approximately 9,840 ft) typical
Maximum Number of Repeaters in Series per Link 5
Maximum Number of Segments in Series per Link 6
57.6K bit/s
Transmission Rate 115.2K bit/s
230.4K bit/s
10 ms per rack @ 57.6K bit/s
I/O Scan Time (Typical) 7 ms per rack @ 115.2K bit/s
NonControlNet 3 ms per rack @ 230K bit/s
Remote I/O Maximum Number of Remote I/O Racks 4 16
Maximum Number of Remote I/O Devices 12 60
Number of Ports Configurable for DH+ or Remote I/O
1 2
(Adapter or Scanner)
Number of Dedicated DH+ Ports 1 0
Number of Serial Ports 1
Number of Coprocessor Ports 1
Maximum Number of MCPs 16
A-2
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
B
Appendix
B-1
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Appendix B
Processor Status File
B-2
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Appendix B
Processor Status File
B-3
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Appendix B
Processor Status File
B-4
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Appendix B
Processor Status File
B-5
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Appendix B
Processor Status File
B-6
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Appendix B
Processor Status File
B-7
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
C
Appendix
Instruction Description
CIO ControlNet I/O Transfer If the input conditions go from false to true, the data is
CNET I/O TRANSFER CT transferred according to the instruction parameters you set
when you enter the ControlNet I/O transfer instruction.
Control block CT21:50 The Control Block (CT21:50) contains status and instruction
parameters.
Instruction Description
MSG Message If the input conditions go from false to true, the data is
SEND/RECEIVE MESSAGE MSG transferred according to the instruction parameters you set
when you enter the message instruction. The Control Block
Control block MG10:10
(MG10:10) contains status and instruction parameters.
Status Bits You cannot use N (integer) control blocks on the ControlNet
TO Time Out Bit
TO TimeOut network
network.
EW EnabledWaiting Bit
CO Continuous Bit For continuous MSGs, condition the rung to be true for only
ER Error Bit one scan.
DN Done Bit
ST Start Bit
EN Enable Bit
C-1
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Appendix C
ControlNet Instruction Set
Instruction Description
IDI Immediate Data If the input conditions are true, an immediate data input is initiated that
Input updates the destination file from the private buffers before the next normal
IMMEDIATE DATA INPUT IDI inputimage update. The Data file offset (232) is where the data is stored.
Data file offset 232 The Length (10) identifies the number of words in the transfer it can be an
immediate value ranging from 1 to 64 or a logical address that specifies the
Length 10 number of words to be transferred. The Destination (N11:232) is the
destination of the words to be transferred. The Destination should be the
Destination N11:232 matching datatable address in the DIF except when you use the instruction
to ensure datablock integrity in the case of Selectable Timed Interrupts
(STIs). See page 47.
IDO Immediate Data If the input conditions are true, an immediate data output is initiated that
Output updates the private memory output buffers from the source file before the
IMMEDIATE DATA OUTPUT IDO next normal outputimage update. The Data file offset (175) is the offset
Data file offset 175 into the buffer where the data is stored. The Length (24) identifies the
number of words in the transfer it can be an immediate value ranging from
Length 24 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
Source N12:175 transferred. The Source should be the matching datatable address in the
DOF except when you use the instruction to ensure datablock integrity in
the case of Selectable Timed Interrupts (STIs). See page 47.
C-2
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
D
Appendix
I/O MapEntry Status Words 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 containing status
information about all of the ControlNet network’s 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.
First Word
15 14 13
0 12 11 10 09
0 08 07 06
0 05 04 03
0 02 01 00
0
15 14 13
0 12 11 10 09
0 08 07 06
0 05 04 03
0 02 01 00
0
Error Messages
15 14 13
0 12 11 10 09
0 08 07 06
0 05 04 03
0 02 01 00
0
If these status words are for a 1794 Flex I/O If these status words are for a Peer In
module and there is no connection error, or a Peer Out and there is no connection
any 1's set in bits 00 through 07 of the third error, a 1 set in bit 00 of the third word
word indicate errors in the corresponding indicates that the other (peer) processor
slots (numbered 0 through 7) is in Run mode
D-1
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Appendix D
ControlNet I/O MapEntry Status Words
and Error Messages
Error Messages The following is a list of ControlNet error codes, messages, possible
causes, and possible corrective actions:
Decimal Hex.
Code Code Error Message Explanation / Possible Cause(s) Possible Corrective Action(s)
Various Various CONFIGURATION DATA CORRUPTED More than one configured and/or Re-configure map entryoverlapping
programmed data transfer is trying maptable locations
to use the same location in the data or
table Re-enter overlapping ladder instructions
2 0x0002 SCHED BANDWIDTH NOT AVAILABLE There are too many words Reduce the number of words scheduled
scheduled for transmission for transmission
The network update time (NUT) is Increase the network update time (NUT)
too small
The target node is not configured Correctly configure the target node as an
active node on the ControlNet network and
save your ControlNet configuration
18 0x0012 TARGET NODE NOT RESPONDING The ControlNet cable to the target Fix and/or reconnect the ControlNet cable to
node is broken and/or disconnected the target node
No power is being received by the Supply power to the target node
target node
The target node is offline Correctly configure the target node as an
active node on the ControlNet network and
save your ControlNet configuration
20 0x0014 DEST SLOT/MSG NOT PRESENT The slot number that you entered Correct the maptable entry
for an adapter is not in the valid
range
The number that you entered for
an peertopeer message is not
in the valid range
The peertopeer message map Clear the inhibit bit in the maptable entry of
table entry in the target node is the target node
inhibited
256 0x0100 CONNECTION IN USE The connection that the originating No action required connection can be
node is trying to use is already in reestablished after the target node times
use out the old connection
260 0x0104 NODE TYPE MISMATCH You entered a node type in the map Correct the maptable entry
table that does not match the target or
node Replace the target node with the node type
entered in the map table
262 0x0106 CONNECTION USED BY OTHER NODE The originating node attempted to Delete or inhibit any other node's connection
open a connection that is already so that the preferred node can open the
being used by another node connection
263 0x0107 CONNECTION ALREADY CLOSED The connection that the originating No action required
node is trying to close is already
closed
265 0x0109 INVALID CONNECTION SIZE The originating node attempted Reduce the size that is entered in the map
to open a connection with a larger table
size than the target node can or
support Use a rack with a greater number of slots
or
Use a rack with higher density
272 0x0110 NODE NOT CONFIGURED The target node is offline Correctly configure the target node as an
active node on the ControlNet network and
The target node is not configured save your ControlNet configuration
D-2
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Appendix D
ControlNet I/O MapEntry Status Words
and Error Messages
Decimal Hex.
Code Code Error Message Explanation / Possible Cause(s) Possible Corrective Action(s)
273 0x0111 EXP NET PCKT TIME INVALID The target node cannot produce the Increase the expected net packet time
data at or faster than the expected entered in the map table
net packet time entered in the map
table
511 0x01FF INVALID WHEN NODE IS IDLE The ControlNet cable to the target Fix and/or reconnect the ControlNet cable to
node is broken and/or disconnected the target node
The originating node attempted to open a No power is being received by the Supply power to the target node
datatransfer connection before a node target node
connection
ti was openedd
The target node is offline Correctly configure the target node as an
active node on the ControlNet network and
save your ControlNet configuration
The target adapter is in Processor Press the reset button on the target adapter
Restart Lockout
513 0x0201 CONNECTION ALREADY CLOSED The connection that the originating No action required
node is trying to close has not been
opened by the target node
515 0x0203 CONNECTION TIMED OUT The ControlNet cable to the target Fix and/or reconnect the ControlNet cable to
node has become broken and/or the target node
disconnected
Power is no longer being received Supply power to the target node
by the target node
65281 0xFF01 CONNECTION REJECTED The ControlNet cable to the target Fix and/or reconnect the ControlNet cable to
node is broken and/or disconnected the target node
No power is being received by the Supply power to the target node
target node
The target node is offline Correctly configure the target node as an
active node on the ControlNet network and
save your ControlNet configuration
65294 0xFF0E ATTRIBUTE CANNOT BE SET Your program attempted to set an Change your program so that it does not
attribute that cannot be set for attempt to set the attribute
a specific module e.g., a CIO
instruction tried to send safestate Insert a module that can have this attribute
data to a flex module that does not set
support safestate data
65299 0xFF13 NOT ENOUGH DATA The transfer length is zero Increase the length of the transfer
The processor data table is too Increase the size of the data table to
small accommodate the transfer length
65301 0xFF15 TOO MUCH DATA The transfer length is too large Decrease the length of the transfer
65522 0xFFF2 CONFIG FROM MAP ENTRY FAILED The ControlNet cable to the target Fix and/or reconnect the ControlNet cable to
node is broken and/or disconnected the target node
No power is being received by the Supply power to the target node
target node
The node or slot contains the wrong Insert the proper module in the correct slot of
module type the target node
An incorrect module type was Enter the correct module type in the map
entered in the map table table entry
65523 0xFFF3 CONTROLNET TRANSFER QUEUE FULL The immediate CIO transfer could Keep the number of active 1771 READ
not be executed because the queue and/or 1771 WRITE CIOs at or under the
is full maximum of 32
D-3
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Appendix D
ControlNet I/O MapEntry Status Words
and Error Messages
Decimal Hex.
Code Code Error Message Explanation / Possible Cause(s) Possible Corrective Action(s)
65527 0xFFF7 MODULE TIMED OUT The node or slot contains the wrong Insert the proper module in the correct slot of
module type the target node
An incorrect module type was Enter the correct module type in the map
entered in the map table table entry
65529 0xFFF9 COMM ERROR CAUSED LOSS OF DATA A communication error between the Make sure that the proper module is properly
module
odu e aandd adap
adapter dataa too seated in the correct slot of the target node
e caused da
be lost Make sure that the correct module type is
entered in the maptable entry
65530 0xFFFA MODULE DECLARED INVALID LENGTH The node or slot contains the wrong Insert the proper module in the correct slot of
module type the target node
An incorrect module type was Enter the correct module type in the map
entered in the map table table entry
65531 0xFFFB READ DATA INVALID The node or slot contains the wrong Insert the proper module in the correct slot of
module type the target node
An incorrect module type was Enter the correct module type in the map
entered in the map table table entry
65532 0xFFFC WRITE DATA INVALID The node or slot contains the wrong Insert the proper module in the correct slot of
module type the target node
An incorrect module type was Enter the correct module type in the
entered in the map table maptable entry
65533 0xFFFD DATA TABLE TOO SMALL The processor data table is too Increase the size of the data table to
small accommodate the transfer length
D-4
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
AllenBradley
Publication Problem Report
If you find a problem with our documentation, please complete and return this form.
Pub. Name
Clarity
What is unclear?
Sequence
What is not in the right order?
Other Comments
Use back for more comments.
Return to: Technical Communication, AllenBradley Co., 1 AllenBradley Drive, Mayfield Hts., OH 44124 Phone: (216)6463166
FAX: (216)6464320
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
PLEASE FASTEN HERE (DO NOT STAPLE)
Other Comments
PLEASE REMOVE
PLEASE FOLD HERE
NO POSTAGE
NECESSARY
IF MAILED
IN THE
UNITED STATES
1 ALLEN BRADLEY DR
MAYFIELD HEIGHTS OH 44124-9705
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Index
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
I–2 Index
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Index I–3
scheduled discrete I/O data transfer, 21 ControlNet immediate data I/O instructions,
scheduled operations process, 26
discrete I/O data transfer, 22 ControlNet Immediate Data Input (IDI)
nondiscrete I/O data transfer, 22 instruction, 26
peertopeer communication, 22
ControlNet Immediate Data Output (IDO)
understanding, 21
instruction, 26
unscheduled datatransfer operations,
23 ControlNet network
unscheduled nondiscrete I/O data definition of, ii
transfer, 23 locating additional information, iv
unscheduled operations ControlNet Network Access Port (NAP),
ControlNet I/O Transfer (CIO) 14, 15
instruction, description, C1
ControlNet PLC5/20C processor,
ControlNet I/O Transfer (CIO) identifying components of, 14
instructions
description, 24 ControlNet PLC5/40C processor,
features, 24 identifying components of, 15
I/O transfer instructions, programming, ControlNet processor
44 configuring your ControlNet system, 31
immediate data I/O instructions, fault codes, B4
programming, 46 installing, 11
ladderrung messages, 23 planning to use, 21
messaging from programming devices, programming your system, 41
23
ControlNet system
nondiscrete I/O data transfer,
description, 24 cabling, 119
nondiscrete I/O data transfers configuring, 31
description, C1 automatically adding nodes to the
node list, 35
features, 24, C1
automatically mapping modules and
peertopeer messaging instructions,
messages that are not mapped,
programming, 42, C1
38
peertopeer messaging, 23
changing a 1794 I/O module's fault
description, 24 action, 24, 310, 44
features, 24 changing a 1794 I/O module's fault
ControlNet I/O automatic mapping, 27 action from idle, 311
ControlNet I/O mapping changing a 1794 I/O module's idle
automatic, 27 action, 24, 311, 44
reserving rack space for remoteI/O changing a 1794 system's fault action,
linked racks before mapping, 27 310
understanding, 27 changing a 1794 system's fault action
discrete I/O datatransfer mapping, from idle, 310
210 changing a 1794 system's idle action,
mapping data transfers, 29 310
nondiscrete I/O datatransfer changing a module or message's type,
mapping, 210 37
modules that may be changing a node's series or revision,
accommodated, 212 35
changing a node's status, 35
ControlNet I/O status indicator, 14, 15 changing a node's type, 35
ControlNet I/O Transfer (CIO) instructions, changing the Expected Network
23, 24, C1 Packet Time (ENPT) for a module
ControlNet immediate data I/O or message, 37
instructions clearing information about a module or
Immediate Data Input (IDI), 26, C2 message, 38
Immediate Data Output (IDO), 26, clearing information about all modules
and messages, 38
C2
process, C2
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
I–4 Index
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Index I–5
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
I–6 Index
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Index I–7
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
I–8 Index
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Index I–9
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
I–10 Index
using ControlNet Immediate Data I/O using the ControlNet WHO ACTIVE Active
instructions, 46 Node Identification screen, 514
using ControlNet Message (MSG) using the ControlNet WHO ACTIVE Active
instructions, 42 Node Status screen, 516
using the ControlNet Channel 2 Status using the ControlNet WHO
screen, 512 ACTIVE Channel Status screen,
using the ControlNet I/O Action (Monitor) 517
screen, 511 using the ControlNet WHO
using the ControlNet I/O Mapping (Monitor) ACTIVE Network Status screen,
screen, 57 519
using the ControlNet Map Entries Status using the general status indicators, 52
screen, 59 using this manual
using the ControlNet Node Information conventions used, iii
Channel 2 Configuration (Monitor) intended audience for, i
screen, 56 introduction to, i
recommended preparation for, i
using the ControlNet status indicators, 53
related terminology, ii
using the ControlNet View Times (Monitor) where to go, i
screen, 58
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
AllenBradley, a Rockwell Automation Business, has been helping its customers improve
productivity and quality for more than 90 years. We design, manufacture, and support a broad
range of control and automation products worldwide. They include logic processors, power
and motion control devices, manmachine interfaces, sensors, and a variety of software.
Rockwell is one of the world's leading technology companies.
Worldwide representation.
Algeria • Argentina • Australia • Austria • Bahrain • Belgium • Brazil • Bulgaria • Canada • Chile • China, PRC • Colombia • Costa Rica • Croatia • Cyprus • Czech Republic
Denmark • Ecuador • Egypt • El Salvador • Finland • France • Germany • Greece • Guatemala • Honduras • Hong Kong • Hungary • Iceland • India • Indonesia • Ireland
Israel • Italyl • Jamaica • Japan • Jordan • Korea • Kuwait • Lebanon • Malaysia • Mexico • Netherlands • New Zealand • Norway • Pakistan • Peru • Philippines • Poland
Portugal • Puerto Rico • Qatar • Romania • Russia-CIS • Saudi Arabia • Singapore • Slovakia • Slovenia • South Africa, Republic • Spain • Sweden • Switzerland • Taiwan
Thailand • Turkey • United Arab Emirates • United Kingdom • United States • Uruguay • Venezuela • Yugoslavia
AllenBradley Headquarters, 1201 South Second Street, Milwaukee, WI 53204 USA, Tel: (1) 414 3822000 Fax: (1) 414 3824444
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Artisan Technology Group is an independent supplier of quality pre-owned equipment
Artisan Scientific Corporation dba Artisan Technology Group is not an affiliate, representative, or authorized distributor for any manufacturer listed herein.
We're here to make your life easier. How can we help you today?
(217) 352-9330 I sales@artisantg.com I artisantg .com