Mitsubishi MELSEC-Q/L Programming Manual page 555

Table of Contents

Advertisement

7.13
Data Control Instructions
7.13.1
LIMIT, LIMITP
Upper and lower limit controls for BIN 16-bit data
7.13.1
DLIMIT, DLIMITP
Upper and lower limit controls for BIN 32-bit data
LIMIT, LIMITP, DLIMIT, DLIMITP
LIMIT, DLIMIT
LIMITP, DLIMITP
: Lower limit value (minimum output threshold value) (BIN 16/32 bits)
S1
: Upper limit value (maximum output threshold value) (BIN 16/32 bits)
S2
: Input value to be controlled by the upper and lower limit control (BIN 16/32 bits)
S3
: Head number of the devices where the output value controlled by the upper and lower limit control will be stored (BIN 16/32 bits)
D
Internal Devices
Setting
Data
Bit
Word
S1
S2
S3
D
Function
LIMIT
(1) Controls the output value to be stored at the device designated by
designated by
is within the range of upper and lower limit values specified by
S3
Output value is controlled in the way shown below:
Lower limit value
• When
S1
Upper limit value
• When
S2
Lower limit value
• When
S1
(2) Values in the range from -32768 and 32767 can be designated at
(3) When control based only on upper limit values is performed, the lower limit value designated at
(4) When control based only on lower limit values is performed, the upper limit value designated at
Command
Command
J
\
R, ZR
Bit
Word
Input value
.................................
S3
Input value
.................................
S3
Input value
Upper limit value
S3
S2
Output value (
Value designated
by S1
LIMIT, LIMITP, DLIMIT, DLIMITP
High
Basic
Process
performance
indicates an instruction symbol of LIMIT/DLIMIT.
S1
S2
S1
S2
P
Zn
U
\G
by checking whether the input value (BIN 16 bits)
D
and
S1
S2
Lower limit value
S1
Upper limit value
S2
Input value
.....
S3
D
D
)
Value designated by S2
Input value(
)
S3
,
, and
.
S1 S2
S3
LCPU
Redundant Universal
D
S3
S3
D
Constants
Other
K, H
––
––
––
––
––
or not.
Output value
D
Output value
D
Output value
is set at " 32678".
S1
is set at "32767".
S2
553
1
2
3
4
4
6
7
8

Advertisement

Table of Contents
loading

Table of Contents