
38
S
E
CTI
O
N 4
Co
mman
d
R
esp
o
n
se
F
o
rm
at
Electromagnetic Inductive RFID System
User's Manual
SECTION 4
Commands
Data Type Designation
The data type to be used when transmitting read or write data between the CF Reader/Writer and the
Handy Terminal can be specified in a command. Either ASCII or hexadecimal can be used.
■
ASCII (JIS8 Unit Code) Designation “A”
One byte of data in a Tag is transmitted directly as ASCII or JIS8 unit code. Each transmitted character
is equivalent to 1 byte of data in the Tag. Character data can be directly read or written, but do not use
the carriage return (CR) control code in send data. If the CR control code is used in write data, a com-
mand error will occur.
•
Data Write Example
If “V670” is specified as the write data for 4 bytes of memory begin-
ning with the address 10h, the data is written to the Tag memory
as shown in the diagram.
•
Data Read Example
If 4 bytes of memory is read starting with address 10h, the read
data will be “V670” for the data shown in the diagram.
■
Hexadecimal (JIS8 Unit Code) Designation “H”
One byte of Tag data is converted to two hexadecimal characters (00 to FF) and transmitted. Each
transmitted character is equivalent to 2 bytes of data in the Tag. Always set write data in the 2-charac-
ter units 00 to FF (i.e., as an even number of characters). A command error will occur if an odd number
of characters is accidentally set.
•
Data Write Example
If “56363730” is specified as the write data for 4 bytes of memory
beginning with the address 10h, the data is written to the Tag
memory as shown in the diagram.
•
Data Read Example
If you read 4 bytes of memory starting with address 10h, the read data will be "56363730" for the data
shown in the diagram.
10h
11h
12h
13h
5
3
3
3
6
6
7
0
̌
V
̍
̌
6
̍
̌
7
̍
̌
0
̍
Address
Tag memory
W
T
S
A
A
1
0
0
1
0
0
4
V
6
7
0
㧖
CR
ASCII
desig-
nation
Antenna
designa-
tion
Start address
Communica-
tions desig-
nation
Command
No. of bytes
Write data
Command
CR
R
D
0
0
0
0
V
6
7
0
㧖
Retry
flag
Status
flag
Read data
End code
Command
Response
10h
11h
12h
13h
5
3
3
3
6
6
7
0
Address
Tag memory
㧖
CR
4
5
6
3
6
W
T
S
A
H
1
0
0
1
0
0
3
7
3
0
HEX
desig-
nation
Antenna
designa-
tion
Start address
Communica-
tions desig-
nation
Command
Write data
No. of bytes
Command
R
D
0
0
0
0
5
6
3
6
CR
㧖
3
7
3
0
Retry
flag
Status
flag
Read data
End code
Command
Response
Summary of Contents for V670-CF01
Page 2: ......