Output Pin Description - CableLength_3Pos
Input |
Data Type |
Description |
---|---|---|
q_xEn |
BOOL |
This output mirrors the value of i_xEn input variable. TRUE: Enables the function block. FALSE: Disables the function block. |
q_rLenActl |
REAL |
This output is the actual cable length position. Range: 0...40 m Accuracy: 0.01 m |
q_rLoadLen |
REAL |
This output is the actual load length value. Range: 0...10 m Accuracy: 0.01 m |
q_wAlrmId |
WORD |
This output is the detected alarm register. Refer Notifications. Range: 0...1 |
q_wStat |
WORD |
This output is the status register. Refer Status Notifications. Range: 0...31 |
q_xAlrm |
BOOL |
This output is the alarm bit when an alarm is detected. TRUE: Alarm detected FALSE: No alarm is detected |
q_wAlrmId Value |
Alarm Register |
Condition |
---|---|---|
Bit 0 |
Alarm consistency data |
i_rPosHigh < 0.0 or i_rPosHigh ≥ i_rPosMid or i_rPosMid ≥ i_rPosLow or i_rPosLow > 40.0 or i_rLoadLen < 0.0 or i_rLoadLen > 10.0 |
q_wStat Value |
Status Register |
Condition |
---|---|---|
Bit 0 |
Alarm detected |
q_wAlrmId <> 0 |
Bit 1 |
Length high |
NOT i_xLowSel AND NOT i_xMidSel AND i_xHighSel |
Bit 2 |
Length middle |
NOT i_xLowSel AND i_xMidSel |
Bit 3 |
Length low |
i_xLowSelOR (NOT i_xLowSel AND NOT i_xMidSel AND NOT i_xHighSel) |
Bit 4 |
Load present |
i_xLoadSel |