6 - 15 6 - 15
MELSEC-Q/QnA
6 BASIC INSTRUCTIONS
(3) When X20 goes ON, compares the data 3 points from D10 with the data 3 points from D30,
and stores the result from M100 onward.
The following program transfers the character string "ALL ON" to D100 onward when all
devices from M100 onward have reached the 1 "ON" state.
[Ladder Mode] [List Mode]
Steps
Instruction
Device
b15- - - - - - - -b0
4321 (BIN)
D31 5678 (BIN)
9999 (BIN)
D30
D32
ON
ON
ON
M101
M100
M102
ON
SM704
(BIN)
D11 (BIN)
(BIN)
D10
D12
1234
5678
9876
4C
H
(L) 41
H
(A)
D101
4C
H
(L)
D102 4F
H
(O)
20
H
( )
D100
$MOV
4E
H
(N)
b15- - - - - - - -b0
b15- - - - b8b7- - - - b0
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com