6 - 41
6 - 41
6. HOW TO COMMUNICATE WITH ID TAGS
(2) Program example
Initialize output devices
M1060
RST
M1063
RST
M1064
RST
M1065
MOV
K0
D1060
ID instruction execution
<Command code specification
>
M1060
X0
X2
X3
X4
X5
MOV
H5
U0\
G0
<Head address specification
>
MOV
K10
U0\
G3
<Number of processed points specification >
MOV
K4
U0\
G4
<Command option specification >
MOV
K1
U0\
G5
SET
Y14
RST
M1060
Write
Calculation
command
Write
Calculation
normal
completion
Module error
during Write
Calculation
Write
Calculation ID
communication
complete
Error details
during Write
Calculation
Write
Calculation
command
Module
ready
CH1 ID
communication
complete
CH.1 ID
-BUSY
CH1 ID
instruction
complete
CH1 error
detection
CH1 ID
instruction
execution
request
Write
Calculation
command