User`s manual
6 - 51 6 - 51
6. HOW TO COMMUNICATE WITH ID TAGS
(2) Program example
X4
RST Y14
X5
Initialize output devices
M1090
RST M1092
RST M1093
MOV K0 D1090
ID instruction execution
<Command code specification >
M1090 X0 X2 X3 X4 X5
MOV H8
U0\
G0
<Head address specification >
MOV K10
U0\
G3
<Command option specification >
MOV K5
U0\
G5
SET Y14
RST M1090
End processing / Cancel processing
M1091 X0 X3
RST Y14
RST M1091
Control
Number of
Writes
command
Control
Number of
Writes
command
Module
ready
CH1 ID
communication
complete
CH.1 ID
-BUSY
CH1 ID
instruction
complete
CH1 error
detection
Control
Number of
Writes norma
l
completion
Module error
during Contro
Number of
Writes
Error details
during Contr
o
Number of
Writes
CH1 ID
instruction
execution
request
Control
Number of
Writes
command
Cancel
Control
Number of
Writes
command
Module
ready
CH.1 ID
-BUSY
CH1 ID
instruction
execution
request
Cancel
Control
Number of
Writes
command
CH1 ID
instruction
execution
request
CH1 ID
communi
-cation
complete
CH1 error
detection