Mitsubishi MELSEC Q Series Programming Manual page 223

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

When certain bits are specified in a word device, bits other than the certain bits
that store the operation result do not change.
D10.F
Before execution
D10.F
After execution
(3) The following program compares the value data stored at D0 to D5 with the value data
stored at D10 to D15, and then stores the operation result into M20 to M22, when M0 is
turned on. Also, the program transfers the character string "ALL ON" to D100 and up when
all devices from M20 to M22 have reached the on status.
[Ladder Mode]
[Operation]
b31
-2147483000
D1,D0
D3,D2
60000
D5,D4
-900000
0
0
1
0
1
1
1
1
0
0
1
0
1
1
0
0
No change
[List Mode]
Step
b0
b31
-2147483000
D11,D10
D13,D12
60001
D15,D14
-899999
When all operation results are on(1),
the special relays corresponding to
each program turn on(1).
(Since this program examples refer
to scan programs, SM704 and SM716
turn on(1), SM7171 and SM718 do not
change in the scan program)
DBKCMP
D10.0
1
0
0
1
1
0
0
0
D10.0
0
0
1
1
1
0
0
0
No change
Instruction
Device
b0
M20
ON
M21
ON
M22
ON
SM704
ON
SM716
ON
SM717
OFF
SM718
OFF
,DBKCMP
P
1
2
3
4
4
6
7
8
(1)
(1)
(1)
(1)
(1)
(0)
(0)
6-21

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents