beautypg.com

Rockwell Automation 1785-Lx0C15 ControlNet PLC-5 Programmable Controllers User Manual User Manual

Page 120

background image

1785-UM022C-EN-P - February 2008

D-2

ControlNet I/O Map-Entry Status Words and Error Codes

The following table explains the bits in the first word of the
ControlNet I/O status file:

Bit Number

Description

Use

00

Reset Bit

Set this bit to put the associated connection into PROGRAM mode, even if the processor is in
Run mode.
Clear this bit to set the mode of the associated connection according to the processor’s mode.
This bit has no effect for 1771 block transfer modules.

01

Inhibit Bit

Set this bit to perform an orderly shutdown of the associated connection. If the target node is
a ControlNet adapter, the adapter will go into idle mode. The processor will not attempt to
reopen the connection as long as this bit is set. The processor will also set the Data Invalid Bit
and Connection Error Bit.
Clear this bit to allow the processor to attempt to open the associated connection.

02

PCSC Enable Bit

Set this bit to enable Process Control Sample Complete for the associated I/O map entry.
Clear this bit to disable Process Control Sample Complete for the associated I/O map entry.

03

PCSC New Data Bit

The processor sets this bit when the PCSC Enable Bit is set and new data arrives from the
associated connection.
Clear this bit when you are finished processing the current sample of data.

04

PCSC Overflow Bit

The processor sets this bit when the PCSC Enable Bit and the PCSC New Data Bits are set and
new data arrives from the associated connection. This means that PCSC data is arriving faster
than your ladder program is processing it.
Clear this bit after you modify your ladder program to handle the incoming PCSC data.

05

Immediate Inhibit Bit

Set this bit to immediately stop communicating on the associated connection. This has the
same effect as if you disconnected the target node from the ControlNet network. If the target
node is a ControlNet adapter and the adapter is setup for Processor Restart Lockout, the
adapter will go into Processor Restart Lockout mode. The processor will not attempt to reopen
the connection as long as this bit is set. The processor will also set the Data Invalid Bit and
Connection Error Bit.
Clear this bit to allow the processor to attempt to open the associated connection.

08

Data Invalid Bit

The processor sets this bit when data is not received from the associated target node. The
error code in second and third words of the ControlNet I/O status tells you why the data is
invalid. Also, if either the Inhibit Bit or Immediate Inhibit Bit is set, the Data Invalid Bit will be
set.
The processor clears this bit when valid data is received from the associated target node. In
your program, make sure that this bit is clear before you use the associated data.

09

Connection Error Bit

The processor sets this bit when the associated connection is not made to the target node.
The error code in second and third words of the ControlNet I/O status tells you why the
connection is not made. Also, if either the Inhibit Bit or Immediate Inhibit Bit is set, the
Connection Invalid Bit will be set.
The processor clears this bit when the associated connection is made to the target node.

10

Data Underrun

This bit it set whenever the length of data received for the associated connection is smaller
than expected. The Data Invalid Bit will also set if the length of data received is less than the
value configured in the Input Data Size field for the connection in RSNetworx.

11

Data Overrun

This bit it set whenever the length of data received for the associated connection is larger than
expected. The Data Invalid Bit will not be set.

15

Run Mode

This bit it set to give the Run/Idle status of the target device for connections that support
Run/Idle notification (such as Peer-to-Peer Receive Data connections).