Mitsubishi Electronics QSERIES Smoker User Manual


  Open as PDF
of 1204
 
6-20
BKCMP
,BKCMP
P
Operation Error
(1) In any of the following cases, an operation error occurs, the error flag (SM0) turns on, and an
error code is stored into SD0.
A negative value is specified for n. (Error code: 4100)
The range of the n-point devices starting from the device specified by , . or
exceeds the specified device range. (Error code: 4101)
The range of the n-point devices starting from the device specified by overlaps with the
range of the n-point devices starting from the device specified by .
(Error code: 4101)
The range of the n-point devices starting from the device specified by overlaps with the
range of the n-point devices starting from the device specified by .
(Error code: 4101)
Program Example
(1) The following program compares the value data stored at R0 to R5 with the value data
stored at D20 to D25, and then stores the operation result into Y0 to Y2, when M0 is turned
on,
[Ladder Mode] [List Mode]
[Operation]
(2) The following program compares the constant with the value data stored at D0 to D9, and
then stores the operation result into D10.5 to D10.9, when M0 is turned on,
[Ladder Mode] [List Mode]
[Operation]
S1
S2
D
S1
D
S2
D
Step
Instruction
Device
(0)
OFF
(1)
ON
(1)
ON
Y1
Y0
Y2
b31 b0
-2147483000
1
2147482999
b31 b0
-2147483000
0
2147483000
R3,R2
R5,R4
R1,R0
D23,D22
D25,D24
D21,D20
Step
Instruction
Device
D10.7
D10.8
D10.9
D10.5
D10.6
50000
-32768
-70000
32767
0
D5,D4
D7,D6
D9,D8
D3,D2
D1,D0
(0)
OFF
(0)
OFF
(0)
OFF
(1)
ON
(0)
OFF
b31 b0
-60000
b0
b31