A&D Device Net.Interface AD-4402 OP-21 Instruction Manual - page 24
Page 22
AD-4402 OP-21
255.06
253.13
Ladder Diagram
255.06
Is new final value used ?
CMP
#2
DM54
MOV
#1000 DM200
MOV
#6
DM203
253.13
Store 1000 to final value.
Set command No. to store the final value.
Is material code recalled ?
CMP
#3
DM54
MOV
#5
DM200
MOV
#32
DM203
Set material code recalled.
Set command No. to recall material code.
MOV
#0
DM50
253.15
This is scanned once at turning on. Clear memory.
MOV
350
DM100
253.13
Copy "IN DATA" to memory data.
MOV
351
DM101
MOV
357
DM107
MOV
#0
DM201
253.13
Set "0" to 2nd ch of OUT DATA.
Clear variables
Input "IN data"
DIFU
2.04
4.00
Is the start button pressed?
MOV
#1
DM50
2.04
Ready for the start.
Detection of start signal
BIN
DM50 DM54
253.13
To convert BCD to binary code.
CMP
#0
DM54
2.03
255.06
253.13
If the start button is not pressed, the sequence is
not started.
Is new material code stored ?
CMP
#1
DM54
MOV
#5
DM200
MOV
#33
DM203
253.13
255.06
Set the selected material code.
Set command No. to store the material code.
Sequences
Clear "OUT data"