Specifications

6 - 39 6 - 39
6. HOW TO COMMUNICATE WITH ID TAGS
Write to ECL2-V680 remote output (RY)
Set the command code specification
(RWw0) to "Read" (set value = 0)
Set the start address specification
(RWw1) of ID tag for reading data to 10
Set the number of processing points
specification (RWw2) for reading data
to 26 bytes
Turn the ID command execution
request (RY4) ON
Execute the ID command (Read)
Turn the Write to ID Tag instruction ON
Write data specification (RWw3 to RWwF)
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)
Store the read data (RWr3 to RWrF)
Store the error details (RWr1)
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.
M304
M304
* ID tag write processing
* ID command complete processing
* ID command error processing
* End processing