Data Control Instructions; Upper And Lower Limit Control Of 16-Bit Binary Data - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

7.12

Data Control Instructions

Upper and lower limit control of 16-bit binary data

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

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents