Data Control Instruction; Upper And Lower Limit Control Of 16-Bit Binary Data - Mitsubishi MELSEC iQ-F FX5 series Programming Manual

Melsec iq-f fx5 series
Hide thumbs Also See for MELSEC iQ-F FX5 series:
Table of Contents

Advertisement

7.10

Data control instruction

Upper and lower limit control of 16-bit binary data

LIMIT(P)(_U)
These instructions control the output value to be stored in the device specified by (d) by checking the input value (16-bit binary
data) in the device specified by (s3) with the upper and lower limit values specified by (s1) and (s2).
Ladder diagram
(s1)
*1 The LIMIT_U instruction is not supported by the ST language. Use LIMIT of the standard function.
Page 806 LIMIT(_E)
Setting data
■Descriptions, ranges, and data types
Operand
Description
(s1)
LIMIT(P)
Lower limit value (minimum output value)
LIMIT(P)_U
(s2)
LIMIT(P)
Upper limit value (maximum output value)
LIMIT(P)_U
(s3)
LIMIT(P)
Input value controlled by the upper and lower limit values
LIMIT(P)_U
(d)
LIMIT(P)
Head device number storing the output value controlled by
the upper and lower limit values
LIMIT(P)_U
■Applicable devices
Operand
Bit
X, Y, M, L,
SM, F, B, SB
(s1)
(s2)
(s3)
(d)
7 APPLICATION INSTRUCTION
472
7.10 Data control instruction
(s2)
(s3)
(d)
Word
U\G T, ST,
T, ST, C, D,
C, LC
W, SD, SW, R
*1
Structured text
ENO:=LIMIT(EN,s1,s2,s3,d);
ENO:=LIMITP(EN,s1,s2,s3,d);
Range
-32768 to 32767
0 to 65535
-32768 to 32767
0 to 65535
-32768 to 32767
0 to 65535
Double word Indirect
U\G
Z
LC
LZ
ENO:=LIMITP_U(EN,s1,s2,s3,d);
Data type
Data type (label)
16-bit signed binary
ANY16
16-bit unsigned binary
16-bit signed binary
ANY16
16-bit unsigned binary
16-bit signed binary
ANY16
16-bit unsigned binary
16-bit signed binary
ANY16
16-bit unsigned binary
Constant
specification
K, H
E
Others
$

Advertisement

Table of Contents
loading

Table of Contents