6 - 66
6 - 66
6. HOW TO COMMUNICATE WITH ID TAGS
(2) Program example
Initialize output devices
M1140
RST
M1141
RST
M1142
MOV
K0
D1140
ID instruction execution
<Command code specification >
M1140
X0
X2
X3
X4
X5
MOV
H10
U0\
G0
SET
Y14
RST
M1140
Normal completion
<Read stored data
>
X4
MOV
U0\
G100
D1141
RST
Y14
SET
M1141
Measure
Noise
command
Measure
Noise
command
Module
ready
CH1 ID
communication
complete
CH.1 ID
-BUSY
CH1 ID
instruction
complete
CH1 error
detection
Normal
completion
during
Measure
Noise
Module error
during
Measure
Noise
Error details
storage
during
Measure
Noise
CH1 ID
instruction
execution
request
Measure
Noise
command
Measurement
result during
Measure
Noise
CH1 ID
instruction
execution
request
Normal
completion
during
Measure
Noise
CH1 ID
instruction
complete