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