Output Pin Description

Output Pin Table

This table describes the output pins of the FB_3points function block:.

Output

Data Type

Description

q_xEn

BOOL

TRUE: Function block enabled

FALSE: Disabled

q_xBusy

BOOL

TRUE: Function block active and no detected error.

FALSE: Function block disabled or detected error

q_xPstv

BOOL

This output from the 3-points element is TRUE if the upper branch of the hysteresis curve is active.

q_xNgtv

BOOL

This output from the 3-points element is TRUE if the lower branch of the hysteresis curve is active.

q_xErr

BOOL

Detected error signal

q_uiErrId

UINT

Supplies the detected error Id when q_xErr output is set.

Range: 0...3

q_uiErrId

This unique integer value indicates some particular detected error:

Detected error ID

Description

0

No detected error

1

Invalid parameter values (If rPstvOutOn < 0 or rPstvOutOff < 0 or rNgtvOutOff < 0 or rNgtvOutOn < 0)

2

Invalid parameter values (rPstvOutOn < rPstvOutOff or rNgtvOutOn < rNgtvOutOff)

3

Internal detected error (function block in unknown state)