Specifications
6 - 31 6 - 31
6. HOW TO COMMUNICATE WITH ID TAGS
(3) CC-Link dedicated instruction (RLPA (setting the network parameters) and RRPA
(setting the automatic refresh parameters) usage restrictions
Depending on the programmable controller CPU and master module used, CC-Link
dedicated instructions (RLPA and RRPA) may not be applicable. For restriction details,
refer to the A Series Master Module User's Manual (Advanced) and the
AnSHCPU/AnACPU/AnUCPU/QCPU-A (A Mode) Programming Manual (Dedicated
Instructions).
Dedicated instructions other than RLPA and RRPA cannot be used with this module.
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)
Store the 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
Store the read data (RWr3 to RWrF)
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.
Y
Y
* ID tag write processing
* ID command complete processing
* ID command error processing
* End processing