Mitsubishi Electric ER-1V680D1 User Manual page 97

Rfid interface module, melsec iq-r series recognized
Table of Contents

Advertisement

■Writing to RF tags
CPU module
Program
M1020
[MOV H1
U0\G0]
(1)
[MOV H0
U0\G1]
[MOV H0
U0\G2]
[MOV H20 U0\G3]
[MOV K8
U0\G4]
[BMOV D2300 U0\G100 K4]
[SET Y14]
X4
[RST
Y14]
(5)
[RST M1020]
Data register
D2300
3638H
D2301
3336H
D2302
3230H
D2303
3435H
(1) When the Write command signal (M1020) turns on, the write program is executed.
(2) Set the Write command and the data required for writing in the buffer memory (U0\G0 to U0\G4) of RFID interface module.
(3) The data in the CPU module data register D2300 to D2303 are transferred to the buffer memory (U0\G100 to U0\G104) of the RFID interface module.
(4) ID command execution request (Y14) is turned on.
(5) When writing is completed successfully, ID command complete (X4) turns on.
(6) ID command execution request (Y14) is turned off.
(7) The Write command signal (M1020) of the RF tag turns off.
RFID interface module
Address
U0\G0 (Command code)
U0\G1 (Communication specification)
(2)
U0\G2 (Processing specification)
U0\G3 (Head address)
U0\G4 (No. of processing points)
(3)
(4)
(6)
(7)
U0\G100
(3)
U0\G101
(Data storage area)
U0\G102
U0\G103
Buffer memory
H1 (Write)
H0 (Trigger)
H0 (Upper → Lower)
H20 (Address: 20)
K8 (8 bytes)
Data storage order
Upper → Lower
3638H
(4)
3336H
3230H
3435H
7 OPERATION PROGRAM EXAMPLE
7.2 Sample Program
RF tag
Address
0000H
001FH
0020H
36H
0021H
38H
0022H
33H
0023H
36H
0024H
32H
0025H
30H
0026H
34H
0027H
35H
7
95

Advertisement

Table of Contents
loading

This manual is also suitable for:

Er-1v680d2

Table of Contents