Mitsubishi MELSEC-Q EQ-V680D1 User Manual page 139

Rfid interface module
Table of Contents

Advertisement

6. HOW TO COMMUNICATE WITH ID TAGS
CPU module
Sequence program
M1010
[MOV H0 U0\G0]
Read
[MOV H0 U0\G1]
ID Tag
command
[MOV H0 U0\G2]
1)
[MOV K10 U0\G3]
[MOV K8 U0\G4]
X4
[BMOV U0\G100 D1200 K4]
ID
CPU internal data register
instruction
complete
D1200
: 3330H '03'
4)
D1201
: 3135H '51'
D1202
: 3630H '06'
D1203
: 3934H '49'
[RST
[RST M1010]
6 - 71
(3) Explanation of the operation
(a) Reading from ID tags
Buffer memory
2)
0 (Command code): H0 (Read)
Read
setting
1 (Communication specification): H0 (Trigger)
2 (Processing specification): H0 (Upper -> lower)
3)
ID
3 (Head address): K10 (Address: 10)
instruction
execution
4 (No. of processing points): K8 (8 bytes)
request
[SET Y14]
ID
instruction
execution
complete
5)
Buffer memory
Read data
100
storage
101
102
103
6)
Y14]
7)
1) By turning on the Read ID Tag command signal (M1010), the subsequent Read
program is executed.
2) The Read command and the data required for reading are set in the buffer memory
(Un\G0 to G4) of the RFID module.
3) The ID instruction execution request (Y14) turns on.
4) The data is read from the ID tag and the ID instruction complete signal (X4) turns on
when reading ends normally.
5) The data read from the data storage area (starting from U0\G100) in the buffer
memory are transferred to the CPU module's data register D1200 to D1203.
6) The ID instruction execution request (Y14) turns off.
7) The Read ID Tag command signal (M1010) turns off.
RFID module
Data storage
order
Upper -> lower
: 3330H '03'
Data
: 3135H '51'
storage
: 3630H '06'
area
: 3934H '49'
ID tag
Memory
0:
00H
1:
00H
2:
00H
3:
00H
Read
request
10:
33H '3'
11:
30H '0'
12:
31H '1'
13:
Reading
35H '5'
the data
14:
36H '6'
15:
30H '0'
16:
39H '9'
17:
34H '4'
Write protect
area setting
Read data
(8 bytes)
6 - 71

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-q eq-v680d2

Table of Contents