User`s manual
6 - 2 6 - 2
6. HOW TO COMMUNICATE WITH ID TAGS
6.2 Instruction/Specification List
The following describes the instruction types and specification contents that can be
used with the RFID interface module.
Table 6.1 Instruction/Specification List
Command
Name
Command
Code
(Un
\
G0,
Un
\
G4000
)
Communication
Specification
(Un
\
G1,
Un
\
G4001)
Processing
Specification
(Un
\
G2,
Un
\
G4002)
Head Address
Specification
Range
(Un
\
G3,
Un
\
G4003)
Range of No. of
Processed Bytes
(Un
\
G4,
Un
\
G4004)
Command
Option
(Un
\
G5,
Un
\
G4005)
UID Range
(Un
\
G90 to
Un
\
G93,
Un
\
G4090 to
Un
\
G4093)
Stored Data
(Un
\
G100 to
Un
\
G1123,
Un
\
G4100 to
Un
\
G5123)
Reference
Read
0000
H
Read data
Section
6.2.1
Write
0001
H
0001
H
to 0800
H
Write data
Section
6.2.2
Set bit
0002
H
Set bit specification
data
Section
6.2.3
Clear bit
0003
H
Clear bit
specification data
Section
6.2.4
Write
mask bit
0004
H
Data storage order
0000
H
:
Upper -> Lower
0001
H
:
Lower -> Upper
-
Mask data
(0000
H
to FFFFFFFE
H
)
+ write data
Section
6.2.5
Write
calculation
0005
H
0000
H
: Addition
0001
H
:
Subtraction
0001
H
to 0004
H
Calculation data
0000
H
to FFFF
H
Calculation result
Section
6.2.6
Fill data
0006
H
0000
H
: Trigger
0001
H
: Auto
0002
H
:
Repeat auto
0003
H
:
FIFO trigger
0004
H
:
FIFO repeat
0005
H
:
Multi-trigger
0006
H
:
Multi-repeat
Data storage order
0000
H
:
Upper -> Lower
0001
H
:
Lower -> Upper
0000
H
to FFFF
H
0001
H
to 0800
H
0000
H
:
All data specified
Fill data
0000
H
to FFFF
H
Section
6.2.7
Check
data
0007
H
0000
H
: Calculation
0001
H
: Verification
0003
H
to 0800
H
-
-
Section
6.2.8
Control
number of
writes
0008
H
0000
H
: Addition
0001
H
:
Subtraction
0000
H
to
FFFD
H
-
(Fixed to 0003
H
)
No. of additions/
subtractions
0000
H
to 00FF
H
UID
No. of times
calculation result
Section
6.2.9
Copy
0009
H
0000
H
: Trigger
0001
H
: Auto
-
Copy source
address (read)
0000
H
to FFFF
H
0001
H
to 0800
H
Copy destination
address (write)
0000
H
to FFFF
H
- -
Section
6.2.10
Read with
error
correction
000A
H
Read data
Section
6.2.11
Write with
error
correction
000B
H
Data storage order
0000
H
:
Upper -> Lower
0001
H
:
Lower -> Upper
0000
H
to
FFFA
H
0001
H
to 01FE
H
Write data
Section
6.2.12
Read UID
000C
H
0000
H
: Trigger
0001
H
: Auto
0002
H
:
Repeat auto
0003
H
:
FIFO trigger
0004
H
:
FIFO repeat
0005
H
:
Multi-trigger
0006
H
:
Multi-repeat
-
Section
6.2.13
Measure
noise
0010
H
-
- - -
-
UID
Measurement result
Section
6.2.14
6.2.1 Read
The Read command reads data from the ID tag starting from the address specified in
the head address specification area (Un\G3, Un\G4003), in an amount equivalent to
the number of bytes specified in the number of processed points specification area
(Un\G4, Un\G4004).
The read data are stored in the data storage area (Un\G100 to Un\G1123, Un\G4100
to Un\G5123).
6.2.2 Write
The Write command writes data to the ID tag starting from the address specified in the
head address specification area (Un\G3, Un\G4003), in an amount equivalent to the
number of bytes specified in the number of processed points specification area (Un\G4,
Un\G4004).
The data to be written are stored in the data storage area (Un\G100 to Un\G1123,
Un\G4100 to Un\G5123).
6