Allen-Bradley ControlNet PLC-5 User Manual page 122

Hide thumbs Also See for ControlNet PLC-5:
Table of Contents

Advertisement

D-2
ControlNet I/O Map-Entry Status Words and Error Codes
Bit Number
Description
00
Reset Bit
01
Inhibit Bit
02
PCSC Enable Bit
03
PCSC New Data Bit
04
PCSC Overflow Bit
05
Immediate Inhibit Bit
08
Data Invalid Bit
09
Connection Error Bit
10
Data Underrun
11
Data Overrun
15
Run Mode
1785-UM022B-EN-P - February 2002
The following table explains the bits in the first word of the
ControlNet I/O status file:
Use
Set this bit to put the associated connection into PROGRAM mode, even if the processor is in
Run mode.
Clear this bit to set the mode of the associated connection according to the processor's mode.
This bit has no effect for 1771 block transfer modules.
Set this bit to perform an orderly shutdown of the associated connection. If the target node is
a ControlNet adapter, the adapter will go into idle mode. The processor will not attempt to
reopen the connection as long as this bit is set. The processor will also set the Data Invalid Bit
and Connection Error Bit.
Clear this bit to allow the processor to attempt to open the associated connection.
Set this bit to enable Process Control Sample Complete for the associated I/O map entry.
Clear this bit to disable Process Control Sample Complete for the associated I/O map entry.
The processor sets this bit when the PCSC Enable Bit is set and new data arrives from the
associated connection.
Clear this bit when you are finished processing the current sample of data.
The processor sets this bit when the PCSC Enable Bit and the PCSC New Data Bits are set and
new data arrives from the associated connection. This means that PCSC data is arriving faster
than your ladder program is processing it.
Clear this bit after you modify your ladder program to handle the incoming PCSC data.
Set this bit to immediately stop communicating on the associated connection. This has the
same effect as if you disconnected the target node from the ControlNet network. If the target
node is a ControlNet adapter and the adapter is setup for Processor Restart Lockout, the
adapter will go into Processor Restart Lockout mode. The processor will not attempt to reopen
the connection as long as this bit is set. The processor will also set the Data Invalid Bit and
Connection Error Bit.
Clear this bit to allow the processor to attempt to open the associated connection.
The processor sets this bit when data is not received from the associated target node. The
error code in second and third words of the ControlNet I/O status tells you why the data is
invalid. Also, if either the Inhibit Bit or Immediate Inhibit Bit is set, the Data Invalid Bit will be
set.
The processor clears this bit when valid data is received from the associated target node. In
your program, make sure that this bit is clear before you use the associated data.
The processor sets this bit when the associated connection is not made to the target node.
The error code in second and third words of the ControlNet I/O status tells you why the
connection is not made. Also, if either the Inhibit Bit or Immediate Inhibit Bit is set, the
Connection Invalid Bit will be set.
The processor clears this bit when the associated connection is made to the target node.
This bit it set whenever the length of data received for the associated connection is smaller
than expected. The Data Invalid Bit will also set if the length of data received is less than the
value configured in the Input Data Size field for the connection in RSNetworx.
This bit it set whenever the length of data received for the associated connection is larger than
expected. The Data Invalid Bit will not be set.
This bit it set to give the Run/Idle status of the target device for connections that support
Run/Idle notification (such as Peer-to-Peer Receive Data connections).

Advertisement

Table of Contents
loading

Table of Contents