F347_FLIMT

Redundant instruction

NOTE

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

The output value (real number data) stored in the area specified by d is controlled based on whether or not the input value (real number data) specified by s3 falls within the range bounded by the upper and lower limits (real number data) set in s1 and s2.

Parameters

Input

s1_Min (REAL)

Real number data for lower limit.

s2_Max (REAL)

Real number data for upper limit.

s3_In (REAL)

Real number input value.

Output

d (REAL)

Area where output value is stored.

Remarks

The output value is determined based on the following conditions:

Error flags

sys_bIsOperationErrorHold (turns to TRUE and remains TRUE)
  • if data other than real number data is specified in s1_Min, s2_Max or s3_In.
  • if the value at s1_Min > s2_Max

sys_bIsOperationErrorNonHold (turns to TRUE for one scan)
  • if data other than real number data is specified in s1_Min, s2_Max or s3_In.
  • if the value at s1_Min > s2_Max

sys_bIsEqual (turns to TRUE and remains TRUE)

if the result of processing is between the upper and lower limits.

Related topics:

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