Справочник Пользователя для Mitsubishi Electronics MELSEC -Q/L

Скачать
Страница из 1086
2  INSTRUCTION TABLES
2.5  Application Instructions
69
2
Data control instructions
Category
Instruction 
symbol
Symbol
Processing details
Execution 
condition
Number 
of basic 
steps
Subset Reference
Upper and 
lower limit 
controls
LIMIT
• When (S3) < (S1), a value of (S1) 
is stored at (D).
• When (S1) 
 (S3)  (S2), a value 
of (S3) is stored at (D).
• When (S2) < (S3), a value of (S2) 
is stored at (D).
5
LIMITP
DLIMIT
• When (S3+1, S3) < (S1+1, S1), 
values of (S1+1, S1) are stored at 
((D)+1, (D)).
• When (S1+1, S1) 
 (S3+1, S3)  
(S2+1, S2), values of (S3+1, S3) 
are stored at ((D)+1, (D)).
• When (S2, S2+1) 
 (S3, S3+1), 
values of (S2+1, S2) are stored at 
((D)+1, (D)).
5
DLIMITP
Dead band 
controls
BAND
• 0 
 (D) when (S1)  (S3)  (S2).
• (S3)-(S1) 
 (D) when (S3) < (S1).
• (S3)-(S2) 
 (D) when (S2) < (S3).
5
BANDP
DBAND
• 0 
 ((D)+1, (D)) when (S1+1, S1) 
 (S3+1, S3)  (S2+1, S2).
• (S3+1, S3)-(S1+1, S1) 
 ((D)+1, 
(D)) when (S3+1, S3) < (S1+1, 
S1).
• (S3+1, S3)-(S2+1, S2) 
 ((D)+1, 
(D)) when (S2+1, S2) < (S3+1, 
S3).
5
DBANDP
Zone 
controls
ZONE
• 0 
 (D) when (S3) = 0.
• (S3)+(S2) 
 (D) when (S3) > 0.
• (S3)-(S1) 
 (D) when (S3) < 0.
5
ZONEP
DZONE
• 0 
 ((D)+1, (D)) when (S3+1, S3) 
= 0.
• (S3+1, S3)+(S2+1, S2) 
 ((D)+1, 
(D)) when (S3+1, S3) > 0.
• (S3+1, S3)+(S1+1, S1) 
 ((D)+1, 
(D)) when (S3+1, S3) < 0.
5
DZONEP
Point-by-
point 
coordinate 
data
SCL
• Executes scaling for the scaling 
conversion data (16-bit data units) 
specified by (S2) with the input 
value specified by (S1), and then 
stores the result into the device 
specified by (D). The scaling 
conversion is executed based on 
the scaling conversion data stored 
in the device specified by (S2) and 
up.
4
SCLP
DSCL
• Executes scaling for the scaling 
conversion data (32-bit data units) 
specified by (S2) with the input 
value specified by (S1), and then 
stores the result into the device 
specified by (D). The scaling 
conversion is executed based on 
the scaling conversion data stored 
in the device specified by (S2) and 
up.
4
DSCLP
LIMIT
S3
S1 S2
D
LIMITP
S3
S1 S2
D
DLIMIT
S3
S1 S2
D
DLIMITP
S3
S1 S2
D
BAND
S3
S1 S2
D
BANDP
S3
S1 S2
D
DBAND
S3
S1 S2
D
DBANDP
S3
S1 S2
D
ZONE
S3
S1 S2
D
ZONEP
S3
S1 S2
D
DZONE
S3
S1 S2
D
DZONEP
S3
S1 S2
D
SCL
S1 S2 D
SCLP
S1 S2 D
DSCL
S1 S2 D
DSCLP
S1 S2 D