Specifications

6 - 17 6 - 17
6. HOW TO COMMUNICATE WITH ID TAGS
(4) Program example
Read data link status
ECL2-V680D1 data link normal
ECL2-V680D1 data link error
Turn the Remote device station
initialization procedure registration
instruction OFF
Turn the Remote device station
initialization procedure registration
instruction ON
Turn the initial data setting request
flag (RY79) ON
Turn the initial data setting request
flag (RY79) OFF
Turn the Write to ID Tag instruction ON
Turn the Read ID Tag instruction ON
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)
*2
*1
Set the communication specification
(RWw0) to "Auto" (set value = 1)
Set the communication setting
(RWw1) to 0
Set the processing specification (RWw2)
to "Upper "Lower" (set value = 0)
Set the auto system command
wait time setting (RWw3) to 0
SB5E
M90
M90
Verify ECL2-V680D1 connection status
Initialization procedure registration
Change initial settings
Initial setting complete processing
ID tag read processing
ID tag write processing