AND Device Net.Interface AD-4402 OP-21 Instruction Manual page 24

Devicenet interface
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

Table of Contents