Mitsubishi MELSEC-Q EQ-V680D1 User Manual page 140

Rfid interface module
Table of Contents

Advertisement

6. HOW TO COMMUNICATE WITH ID TAGS
CPU module
Sequence program
M1020
[MOV H1 U0\G0]
Write to
[MOV H0 U0\G1]
ID Tag
command
[MOV H0 U0\G2]
1)
[MOV K20 U0\G3]
[MOV K8 U0\G4]
[BMOV D2300 U0\G100 K4]
CPU internal data register
D2300
: 3638H '86'
D2301
: 3336H '63'
D2302
: 3230H '02'
D2303
: 3435H '54'
X4
[RST
ID
[RST M1020]
instruction
5)
complete
6 - 72
(b) Writing to ID tags
Buffer memory
2)
0 (Command code): H1 (Write)
Write
setting
1 (Communication specification): H0 (Trigger)
2 (Processing specification): H0 (Upper -> lower)
3 (Head address): K20 (Address: 20)
4 (No. of processing points): K8 (8 bytes)
3)
Buffer memory
Write data
storage
100
101
4)
ID
102
instruction
execution
103
request
[SET Y14]
ID
instruction
execution
complete
6)
Y14]
7)
1) By turning on the Write to ID Tag command signal (M1020), the subsequent Write
program is executed.
2) The Write command and the data required for writing are set in the buffer memory
(U0\G0 to G4) of the RFID module.
3) The data to be written to the ID tag are transferred to the buffer memory (starting
from U0\G100) of the RFID module.
4) The ID instruction execution request (Y14) turns on.
5) When writing to the ID tag ends normally, the ID instruction complete signal (X4)
turns on.
6) The ID instruction execution request (Y14) turns off.
7) The Write to ID Tag command signal (M1020) turns off.
RFID module
: 3638H '86'
Data
: 3336H '63'
storage
: 3230H '02'
area
: 3435H '54'
ID tag
Memory
0:
00H
1:
00H
2:
00H
3:
00H
20:
36H '6'
Write
21:
38H '8'
request
22:
33H '3'
Writing
23:
36H '6'
the data
24:
32H '2'
25:
30H '0'
26:
34H '4'
Write verify
27:
35H '5'
Write protect
area setting
Data storage
order
Upper -> lower
Write data
(8 bytes)
6 - 72

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-q eq-v680d2

Table of Contents