Mitsubishi Electronics QSERIES Smoker User Manual


  Open as PDF
of 1204
 
7-323
LIMIT(P),DLIMIT(P)
1
2
3
4
6
6
7
8
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))
Program Example
(1) The following program conducts limit controls from 500 to 5000 on the data set as BCD
values from X20 to X2F, and stores the result at D1 when X0 is turned ON.
[Ladder Mode] [List Mode]
[Operation]
D1 becomes 500 if D0 500.
D0400D1500
D1 becomes the value of D0 when 500 D0 5000.
D0 1300 D1 1300
D1 becomes 5000 when 5000 D0.
D0 9600 D1 5000
(2) The following program conducts limit value controls from 10000 to 1000000 on the data set
as BCD values from X20 to X3F when X0 is turned ON.
[Ladder Mode] [List Mode]
[Operation]
(D11, D10) become 10000 if (D1, D0) are less than 10000.
(D1,D0) 400 (D11,D10) 10000
(D11, D10) become the value of (D1, D0) if 10000 (D1, D0) 1000000.
(D1,D0) 345678 (D11,D10) 345678
(D11, D10) become 1000000 if 1000000 (D1, D0).
(D1,D0) 9876543 (D11,D10) 1000000
Step Instruction Device
Example
Example
Example
Step Instruction Device
Example
Example
Example