Mitsubishi Electric RFID ECL2-V680D1 User Manual page 107

Interface module
Table of Contents

Advertisement

6. HOW TO COMMUNICATE WITH ID TAGS
* ID tag write processing
* ID command complete processing
* ID command error processing
* End processing
6 - 31
Add processing when Read ends normally here.
Add processing when Write ends normally here.
Add processing when an error occurs in the ID command here.
(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
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
Write data specification (RWw3 to RWwF)
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
6 - 31

Advertisement

Table of Contents
loading

Table of Contents