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.
■
Execution condition
Setting data
■
Descriptions, ranges, and data types
Ladder
ST
ENO:=LIMITP(EN,s1,s2,s3,d);
ENO:=LIMITP_U(EN,s1,s2,s3,d);
FBD/LD
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 RnSFCPU
RnPCPU
RnPCPU
(Standard)
(Safety)
(Redundant)
(Process)
(s1)
(s2)
(s3)
(d)
EN
ENO
d
s1
s2
s3
Summary of Contents for MELSEC iQ-R Series
Page 1: ...MELSEC iQ R Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 24: ...22 INDEX 2092 INSTRUCTION INDEX 2093 REVISIONS 2104 WARRANTY 2105 TRADEMARKS 2106 ...
Page 34: ...32 MEMO ...
Page 35: ...33 PART 1 PART 1 OVERVIEW This part consists of the following chapter 1 OVERVIEW ...
Page 68: ...66 1 OVERVIEW 1 5 Precautions on Programming MEMO ...
Page 1448: ...1446 14 REDUNDANT SYSTEM INSTRUCTIONS 14 2 Disabling Enabling System Switching MEMO ...
Page 1972: ...1970 33 TIME DATA TYPE FUNCTIONS 33 4 Division MEMO ...
Page 2067: ...APPX Appendix 5 PID Control Program Examples 2065 A 252 Set PID control data for loop 2 ...
Page 2109: ......