User Manual Owner manual

Chapter 2
Planning to Use Your ControlNet
PLC5 Processor
2-4
Table 2.B
ControlNet
Unscheduled DataTransfer Operations
Operation Description Features
Nondiscrete
I/O Data
Transfer
CIO
Instructions
Perform ladderinitiated unscheduled nondiscrete I/O data transfers on a
ControlNet network by using ControlNet I/O Transfer (CIO) instructions.
The data type for these transfers (CT) has the following information:
Command:
1771 READ reads data from a 1771 nondiscrete I/O module
1771 WRITE writes data to a 1771 nondiscrete I/O module
1794 FAULT
ACTION changes the action a module takes when it faults
1794 IDLE
ACTION changes the action a module takes when it is idle
1794 CONFIG
DATA changes a module's configuration data
1794
SAFE STATE DATA changes a module's safestate data
Datatable address in source processor
Size of message in words
Network address of destination node
Slot of destination module
Port numberset to 2 for the ControlNet network
Flags:
.TO forces a transfer to time out
.EW indicates that the transfer is waiting for an open connection
.CO transfer is made continuously in Run mode
.ER indicates that the transfer was terminated due to an error
.DN indicates that the transfer was made without error
.ST indicates that the transfer was started
.EN indicates that the transfer instruction is enabled
Error codeindicates the error when the .ER bit is set
Done lengthindicates the number of words transferred
As many as 32 1771 READ and/or 1771 WRITE
CIOs can be active at a time
A minor fault is set when 32 1771 READ and/or
1771 WRITE CIOs are active at a time
You cannot use CIO instructions to read or write
blocks of data from or to 1794 Flex I/O modules;
but you can use these instructions to configure
1794 features listed in the Description" column
As many as 8 1794 Flex I/O CIOs can be active
at a time
A minor fault is set when 8 1794 Flex I/O CIOs
are active at a time
Any transfer initiated from a Processor Input
Interrupt (PII) or Selectable Timed Interrupt (STI)
program suspends execution of the program
scan until the transfer is completed
Important: This can extend your program scan
by ten's of ms.
No transfer is initiated when the processor is in
Program mode
Transfers that have been running with the .CO
bit set automatically restart on the Program
toRun transition when the Continue Last step
bit is set and the data table has not changed
A transfer has a maximum size of 64 words
Only the processor owner" of an adapter can
send or receive transfers to or from any of that
adapter's modules
See pages 44 and C1 for more information.
Peertopeer
Messaging
MSG
Instructions
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:
CommandPLC5 TYPED READ or PLC5 TYPED WRITE
Datatable address in source processor
Size of message in elements
Network address of destination processor
Datatable address in destination processor
Port numberset 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
Error codeindicates the error when the .ER bit is set
As many as 32 ControlNet MSGs can be active
at a time
A minor fault is set when 32 ControlNet MSGs
are active at a time
All messages have the same priority
No message is initiated when the processor is in
Program mode
Messages that have been running with the .CO
bit set automatically restart on the Program
toRun transition when the Continue Last step
bit is set and the data table has not changed
Each message has a maximum size of 1000
elements
See pages 42 and C1 for more information.