F288_DBAND

Redundant instruction

NOTE

This is a redundant instruction. It is replaced by: FP_BAND

The function compares the signed input value at input s3 with a deadband whose lower limit is specified at input s1 and whose upper limit is specified at s2. The result of the function is returned at output d as follows:

Parameters

Input

s1 (DWORD, DINT, UDINT, DATE, TOD, DT) (signed)

the area where the lower limit is stored or the lower limit data

s2 (DWORD, DINT, UDINT, DATE, TOD, DT) (signed)

the area where the upper limit is stored or the upper limit data

s3 (DWORD, DINT, UDINT, DATE, TOD, DT) (signed)

the area where the input value is stored or the input value data

Output

d (DWORD, DINT, UDINT, DATE, TOD, DT) (signed)

the area where the output value data is stored

Remarks

Error flags

sys_bIsOperationErrorHold (turns to TRUE and remains TRUE)

if the value at s1 > s2.

sys_bIsOperationErrorNonHold (turns to TRUE for one scan)

if the value at s1 > s2.

sys_bIsEqual (turns to TRUE and remains TRUE)

if the input value at s3 is 0.

Related topics:

Modified on: 2019-01-26Feedback on this pagePanasonic hotline