5-2 Command Response Format
(3) Data code designation
You can specify in a command a code to be used to transmit a data to be read or written between a host device and ID controller. ASCII
code designation and hexadecimal code designation are available.
• ASCII code (JIS8 unit code) designation "A"
1 Byte of data in a tag is transmitted directly as ASCII code or JIS8 unit code. Transmitted one character is equivalent to 1 byte of data
in a tag. Character data can be read/written directly. However, do not use any control code [SOH] nor [CR] in a data to be transmitted.
If [SOH] or [CR] is specified in a written data, a command error occurs.
<Example of writing>
If you specify "OMRON" as a written data in 5 bytes of memory beginning with the address 10h, the data is written in memory in a tag
as shown in this figure.
<Command>
Command
Communication
ASCII
Antenna
designation
designation
designation
<Example of reading>
If you read 5 bytes of memory beginning with the address 10h,
the read data is "OMRON" in the data shown in this figure.
Command
Termination code
Retransmis-
Status
sion flag
flag
• Hexadecimal code designation "H"
1 Byte of data in a tag is converted into two hexadecimal characters ("00" to "FF") and transmitted. Transmitted two character is equiv-
alent to 1 byte of data in a tag. Be sure to specify a written data with every two characters "00" to "FF" (even number). If any data of
odd number of characters is specified, a command error occurs.
<Example of writing>
If you specify "1234" as a written data in 2 bytes of memory beginning with the address 20h, the data is written in memory in a tag as
shown in this figure.
<Command>
Command
Communication
ASCII
Antenna
designation
designation
designation
<Example of reading>
If you read 2 bytes of memory beginning with the address 20h, the read data is "1234" in the data shown in this figure.
<Response>
Command
Termination code
Retransmis-
Status
sion flag
5-4
First address
Number of
bytes
Read data
First address
Number of
bytes
Read data
flag
Written data
Address
Address
Written data
Memory in tag
Memory in tag