F346_FWIN

Redundant instruction

NOTE

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

The function compares a data band whose upper and lower limits are specified at inputs s2_Min and s3_Max with a value that is entered at input s1_In. The result is returned as follows:

Parameters

Input

s1_In (REAL)

REAL number data to be compared to s2_Min and s3_Max

s2_Min (REAL)

lower limit

s3_Max (REAL)

upper limit

Remarks

Comparison between s1_In, s2_Min and s3_Max

Flags

sys_bIsGreaterThan (>flag)

sys_bIsEqual (=flag)

sys_bIsLessThan (<flag)

s1_In < s2_Min

Off Off On

s2_Min £ s1_In £ s3_Max

Off On Off

s1_In > s3_Max

On Off Off

Error flags

sys_bIsOperationErrorHold (turns to TRUE and remains TRUE)
  • if the values at inputs s1_In, s2_Min, and s3_Max are not REAL numbers

  • if the value at s2_Min > s3_Max.

sys_bIsOperationErrorNonHold (turns to TRUE for one scan)
  • if the values at inputs s1_In, s2_Min, and s3_Max are not REAL numbers

  • if the value at s2_Min > s3_Max.

Related topics:

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