User's Manual

Table Of Contents
5-2 Command Response Format
5-4
(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.
<Example of reading>
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.
<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.
<Command>
Command
Communication
designation
ASCII
designation
Antenna
designation
First address
Number of
bytes
Written data
Command
Termination code
Read data
Retransmis-
sion flag
Stavtus
flag
Memory in tag
Address
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>
Command
Communication
designation
ASCII
designation
Antenna
desivgnation
First address
Number of
bytes
Written data
Memory in tag
Address
<Response>
Command
Termination code
Read data
Retransmis-
sion flag
Status
flag