unsigned char unused13:1;
unsigned char deadman:1; //deadman alarm active
unsigned char unused15:1
unsigned char power_fail:1 // if a hardware reboot flags get set
unsigned char unused17-31:1;
} flags;
unsigned int value;
} bay_alarms;
Modbus:
Read Only Register=7094, Len=1, 16-Bit Integer (xxxx)
6.16 REQUEST COMPONENT ALARMS:
MRCAppp => RCApppxxxx… (this only gives the first 16 alarm bits)
MRCA32 => RCA32xxxxxxxx… (this gives all 32 alarm bits)
Where:
ppp = The specified zero-based preset or load arm number (000-011).
Per component(8):
xxxx = component alarms in hexadecimal as:
union
{
unsigned int value;
struct
{
unsigned char component_fcm_com:1; // one or more FCMs that are
required for COMPONENT status
or signals are in comm error.
Unsigned char component_permissive:1; // component permissive not active
but component is authorized to
load.
Unsigned char component_block_valve:1; // block value status does not
agree with commanded valve
position.
Unsigned char component_unauth_flow:1; // greater than
unauth_flow_alarm_vol has been
metered when component was not
authorized for flow.
Unsigned char component_pump_status:1; // pump status does not agree with
commanded pump state.
Unsigned char meter_alarm:1; // a meter level alarm currently
exists for this component.
Unsigned char component_over_blend_tol:1; // blend precent has been over by
blend_chk_alarm_pct for
blend_chk_alarm_time seconds.
Unsigned char component_under_blend_tol:1; // blend precent has been under by
blend_chk_alarm_pct for
blend_chk_alarm_time seconds.