Specifications

6 - 18 6 - 18
6. HOW TO COMMUNICATE WITH ID TAGS
*1. The program in dashed line section (1) enables the initial settings that use
SB0D (Remote device station initialization procedure registration instruction)
and SB5F (Completion status of remote device station initialization
procedure) before the communication program with the remote device station.
With GX Works2 parameter settings only, the initialization processing is not
implemented.
*2. The program in dashed line section (2) is required only if initial settings are
to be changed.
Write data specification (RWw3 to RWwF)
Store error details (RWr1)
Set the command code specification
(RWw0) to "Write" (set value = 1)
Set the start address specification
(RWw1) of the ID tag for writing data to 40
Set the number of processing points
specification (RWw2) for writing data to 26 bytes
Turn the ID command execution
request (RY4) ON
Execute the ID command (Write)
Turn the ID command execution
request (RY4) OFF
Turn the Read ID Tag instruction OFF
Turn the Write to ID Tag instruction OFF
Add processing when an error occurs in the ID command here.
Add processing when Write ends normally here.
Add processing when Read ends normally here.
Store the read data (RWr3 to RWrF)
ID command complete processing
ID command error processing
End processing