Mitsubishi MELSEC-Q EQ-V680D1 User Manual page 147

Rfid interface module
Table of Contents

Advertisement

6. HOW TO COMMUNICATE WITH ID TAGS
Buffer
Memory
Address
0
1
2
3
4
100
Device
M1160
M1161
M1170
M1171
D0
D1
D2
D3
D4
D1170 ~ D1173
Device
D1178
D1160 ~ D1163
Action
Read data
from an ID tag
Write in data
at an ID tag
Error Processing
Cancel Operation
6 - 79
(7) Programming
(1) Program conditions
(a) Setting contents
Buffer Memory Name
Command code specification area (CH1)
Communication specification area (CH1)
Processing specification area (CH1)
Head address specification area (CH1)
Number of processed points specification area (CH1) K8 (8 bytes)
Data storage area (CH1)
(b) Devices used by user
1. External inputs (commands)
Read ID Tag command
Cancel Read ID Tag command
Write ID Tag command
Cancel Write ID Tag command
Command code
Communication specification
Processing specification
Head address
Number of processed points
Specifies the data to be written to the ID tag during Write to ID Tag
2. External outputs (verification)
Error details storage during Read ID Tag
Read data storage during Read ID Tag
(8) Sample Program
(a) The operation of the program
The data from address 10 of the ID tag to 8 bytes are retrieved by turning
on a device (M1160).
And, those data are stored by a storage device (D1160 to D1163).
By turning on a device (M1170), read the data of the device (D1170 to
D1173) and write in data for 8 bytes from address 10 of the ID tag..
When an operation error occurs to the RFID module, an error code is
stored by device (D1178).
In the case of communications specification method is either of repeat
auto, FIFO repeat, multi-repeat, the reading or writing to ID tag is
continued till turning on a device (M1171).
Reading
H0 (Read) H1 (Write)
K0 (Trigger)
K0 (Data storage order:
Upper –> Lower
Calculation method: Addition
Calculation/Verification : Calculation)
K10 (Address: 10)
Application
Application
Explanation of the operation
Setting Contents
Writing
Specifies the data to
be written to the ID tag
6 - 79

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-q eq-v680d2

Table of Contents