7 APPLICATION INSTRUCTIONS
7.12 Data Control Instructions
857
7
7.12 Data Control Instructions
Upper and lower limit control of 16-bit binary data
LIMIT(P)(_U)
These instructions control the output value depending on whether the specified 16-bit binary bit value is within the upper and
lower limits.
*1 The LIMIT and LIMIT_U instructions do not support the ST and FBD/LD. Use the standard function, LIMIT.
Page 1935 LIMIT(_E)
■Execution condition
■Descriptions, ranges, and data types
Ladder ST
*1
ENO:=LIMITP(EN,s1,s2,s3,d); ENO:=LIMITP_U(EN,s1,s2,s3,d);
FBD/LD
*1
Instruction Execution condition
LIMIT
LIMIT_U
LIMITP
LIMITP_U
Operand Description Range Data type Data type (label)
(s1) LIMIT(P) Lower limit value (minimum output threshold
value)
-32768 to 32767 16-bit signed binary ANY16_S
LIMIT(P)_U 0 to 65535 16-bit unsigned binary ANY16_U
(s2) LIMIT(P) Upper limit value (maximum output threshold
value)
-32768 to 32767 16-bit signed binary ANY16_S
LIMIT(P)_U 0 to 65535 16-bit unsigned binary ANY16_U
(s3) LIMIT(P) Input value to be controlled with the upper and
lower limits
-32768 to 32767 16-bit signed binary ANY16_S
LIMIT(P)_U 0 to 65535 16-bit unsigned binary ANY16_U
(d) LIMIT(P) Device for storing the output value controlled by
upper/lower limit control
16-bit signed binary ANY16_S
LIMIT(P)_U 16-bit unsigned binary ANY16_U
EN Execution condition Bit BOOL
ENO Execution result Bit BOOL
RnCPU
RnENCPU
RnSFCPU RnSFCPURnPCPURnPCPU
(Standard) (Safety)
(Redundant)
(Process)