Справочник Пользователя для Mitsubishi Electronics QCPU

Скачать
Страница из 1204
7-321
LIMIT(P),DLIMIT(P)
1
2
3
4
6
6
7
8
7
.13 Data C
ontrol Instructio
ns
7
.13.1 Upper
 and lower
 limit contr
ols for
 BIN 16-b
it and 
B
IN
 32-bit data (
LIMIT(
P
),DLI
M
IT(P)
)
7.13  
Data Control Instructions
7.13.1  
Upper and lower limit controls for BIN 16-bit and BIN 32-bit 
data (LIMIT(P),DLIMIT(P))
LIMIT(P),DLIMIT(P)
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 
.
: 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)
Settng 
Data
Internal Devices 
R, ZR
J
\
U
\G
Zn
Constants
K, H
Other
Bit
Word
Bit
Word
––
––
––
––
––
Basic
Process
High
performance
Redundant Universal
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
S3
Input value
D
Output value
Output value (     )
D
Value designated
by S1
Value designated by S2
Input value(    )
S3
S1
S2
S3