Output Pin Description - CableLength_2Pos

Output Pin Description

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...3

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

Notifications

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

Bit 1

Sensor alarm detected

i_xSel1 AND NOT i_xSel2. The screw selector configuration or operation is not correct.

Status Notifications

q_wStat Value

Status Register

Condition

Bit 0

Alarm detected

q_wAlrmId <> 0

Bit 1

Length high

NOT i_xSel1 AND NOT i_xSel2.

Bit 2

Length middle

NOT i_xSel1 AND i_xSel2

Bit 3

Length low

(i_xSel1 AND i_xSel2) OR

(i_xSel1 AND NOT i_xSel2)

Bit 4

Load present

i_xLoadSel