Cipstatus Data Type - Allen-Bradley Micro800 General Instructions Manual

Programmable controllers
Hide thumbs Also See for Micro800:
Table of Contents

Advertisement

Parameter
Error
ErrorID
SubErrorID
ExtErrorID
StatusBits
-
-
-
-
Bit
Name
Description
0
EN
Enable
1
EW
Enable Waiting
2
ST
Start
3
ER
Error
4
DN
Done

CIPSTATUS data type

The following table describes the CIPSTATUS data type.
Data type
Description
BOOL
This bit is set to TRUE when the function block execution encounters an error condition.
UINT
Error code value.
See
CIPSTATUS error codes
UINT
Sub Error code value.
See
CIPSTATUS error codes
UINT
CIP extended status error code value.
UINT
This parameter can be used to verify control bits:
• Bit 0: EN – Enable
• Bit 1: EW – Enable Wait
• Bit 2: ST – Start
• Bit 3: ER – Error
• Bit 4: DN – Done
• Other bits are reserved
• See
CIPSTATUS status bits
CIPSTATUS status bits
The CIPSTATUS status bits are set based on the status of the message execution,
the communication buffers, and the rung conditions.
-
-
-
-
Behavior
Set when the rung goes true and remains set until either the DN bit or the ER bit is set and the rung goes false.
Set when the communication buffer is allocated for the message request. Cleared when the ST bit is set.
Set when the message has been transmitted and is waiting for a reply. Cleared when the DN bit is set.
Set when message transmission fails. An error code is written to ErrorID. The ER bit and error code values are cleared the next
time the rung goes from false to true.
Set when the message is transmitted successfully. The DN bit is cleared the next time the rung goes from false to true.
When the Done bit is set, all other bits are cleared to indicate the MSG completed successfully. When an error is detected and
the Error bit is set, the other status bits (EN/EW/ST) are not cleared.
Rockwell Automation Publication 2080-RM001D-EN-E - February 2015
Communication instructions
on
page
179.
on
page
179.
on
page
178.
-
-
-
4
Chapter 9
3
2
1
0
191

Advertisement

Table of Contents
loading

Table of Contents