LMT(680) - Limit Control
Variations:
Differentiate Up
See
Variations for more information.
Purpose:
When the execution condition is OFF, LMT(680) is not executed. When the execution condition is ON, LMT(680) controls output data according to whether or not the specified input data (signed 16-bit binary) is within the upper and lower limits. The contents of words C and C+1 are as follows:
C
Lower limit data (minimum output data)
C+1
Upper limit data (maximum output data)
If the input data (S) is less than the lower limit (C), the lower limit data will be output to D and the Less Than Flag will turn ON.
If the input data (S) is greater than the upper limit (C+1), the upper limit data will be output to D and the Greater Than Flag will turn ON.
If the input data (S) is greater than or equal to the lower limit (C) and less than or equal to the upper limit (C+1), the input data will be output to D.
The lower limit (C) must be less than or equal to the upper limit (C+1).