6 - 60
6 - 60
6. HOW TO COMMUNICATE WITH ID TAGS
(2) Program example
Initialize output devices
M1120
RST
M1123
RST
M1124
RST
M1125
MOV
K0
D1120
ID instruction execution
<Command code specification
>
M1120
X0
X2
X3
X4
X5
MOV
H0B
U0\
G0
<Head address specification
>
MOV
K10
U0\
G3
<Number of processed points specification >
MOV
K8
U0\
G4
<Write to data storage area
>
BMOV
D2300
U0\
G100
K4
SET
Y14
RST
M1120
Write with
Error
Correction
command
Write with
Error
Correction
command
Module
ready
CH1 ID
communication
complete
CH.1 ID
-BUSY
CH1 ID
instruction
complete
CH1 error
detection
Normal
completion
during Write
with Error
Correction
Module error
during Write
with Error
Correction
ID
communication
complete
during Write
with Error
Correction
Error details
storage
during Write
with Error
Correction
Write
data
CH1 ID
instruction
execution
request
Write with
Error
Correction
command