Real Time Automation 460BCQT-NNA4 Product User Manual page 49

Table of Contents

Advertisement

5) Status_XY
a) There are two Statuses provided, one for each protocol. This gives access to the overall status of
that Protocol. Each Bit has its own meaning as follows:
Common Status:
Hex:
Bit Position:
0x00
0
0x01
0
0x02
1
0x04
2
0x08
3
0x10
4
0x20
5
0x40
6
0x80
7
For this example, the ETC Status is mapped to a PLC tag called PLC_Status
Example: ETC Status is 0x00000013 (19 decimal), here is the break down
Hex
0x01
0x02
0x10
Total:
External Faults:
Hex:
Bit Position:
0x00
8
0x01
8
0x02
9
0x04
10
0x08
11
Recoverable Faults:
Hex:
Bit Position:
0x01
16
0x02
17
Real Time Automation, Inc.
0x000000FF (bit 0-7)1
Decimal:
0
1
2
4
8
16
32
64
128
Bit
Decimal
0(on)
1
if we are a Master/Client
1(on)
2
connected (0 not connected)
4(on)
16
running (usually added to connected)
0x13
19
0x0000FF00 (bit 8-15)2
Decimal:
0
256
512
1,024
2,048
0x00FF0000 (bit 16-23)3
Decimal:
65,536
131,072
49
st
byte
Explanation:
if we are a Slave/Server
if we are a Master/Client
connected (0 not connected)
first time scan
idle (usually added to connected)
running (usually added to connected)
bit not used
recoverable fault
nonrecoverable fault
Explanation
Explanation:
local control
remotely idle
remotely faulted
idle due to dependency
faulted due to dependency
rd
byte
Explanation:
recoverable fault - timed out
recoverable fault - Slave err
nd
byte
1-800-249-1612

Advertisement

Table of Contents
loading

Table of Contents