6 - 32
6 - 32
6. HOW TO COMMUNICATE WITH ID TAGS
(2) Program example
M1030
RST
M1033
RST
M1034
RST
M1035
MOV
K0
D1030
M1030
X0
X2
X3
X4
X5
MOV
H2
U0\
G0
MOV
K10
U0\
G3
MOV
K4
U0\
G4
BMOV
D3400
U0\
G100
K2
SET
Y14
RST
M1030
M1032
X0
X3
RST
Y14
X2
RST
M1032
X2
X0
X3
SET
M1035
X4
X5
RST
Y14
=
U0\
G1
K0
=
U0\
G1
K1
=
U0\
G1
K3
Initialize output devices
ID instruction execution
<Command code specification >
<Head address specification
>
<Number of processed points specification >
<Write to data storage area
>
Set Bit
command
Normal
completion
during
Set Bit
Module
error during
Set Bit
ID
communication
complete
during
Set Bit
Error details
during
Set Bit
Set Bit
command
Module
ready
CH1 ID
communication
complete
CH.1 ID
-BUSY
CH1 ID
instruction
complete
CH1 error
detection
Set Bit
data
CH1 ID
instruction
execution
request
Set Bit
command
CH1 ID
instruction
execution
request
End processing / Cancel processing
CH1 ID
communi
-cation
complete
CH1 error
detection
Cancel
Set Bit
command
CH1 ID
communication
complete
Module
ready
CH.1 ID
-BUSY
CH1 ID
instruction
execution
request
Cancel
Set Bit
command
ID
communication
complete
during Set Bit
CH.1 ID
-BUSY
Module
ready
CH1 ID
communication
complete