![background image](http://html1.mh-extra.com/html/omron/v690-series/v690-series_user-manual_741403070.webp)
5-14
You can specify a type of code used to transmit data to be read or written between a host device and Read/Write antenna.
ASCII code designation and hexadecimal code designation are available.
♦
♦
♦
♦
ASCII code (JIS 8 unit code) designation "A"
1 byte of data of tag is transmitted directly as ASCII code or JIS 8 unit code. Transmitted one character is equal to a 1 byte of data in
a tag. Character data can be read/written directly.
Do not use any control code, such as [SOH] and [CR], in transmission data. Otherwise, a command error occurs.
<Example 1 of writing>
When "OMRON" is specified in 5 bytes of memory beginning with 10h (hexadecimal number) as writing data, data is written into tag
memory as shown below.
Command
Response
<Example 1 of reading>
In this data shown here, when 5 bytes of memory beginning with 10h (hexadecimal number) is read out, the read data is "OMRON".
Command
Response
<Example 2 of writing>
When "1234" is specified in 4 bytes of memory beginning with 10h (hexadecimal number) as writing data, data is written into tag mem-
ory as shown below.
Command
Response
STX
DA
SA
Command code
Communication designation
Split flag
Code designation
Start address
Number of written bytes
Written data
ETX
00
80
W1
SU
A
A
0010
0005
OMRON
STX
DA
SA
Command code
Termination code
Response number
ID code
ETX
80
00
W1
00
01
∗∗∗∗∗∗∗∗
STX
DA
SA
Command code
Communication designation
Split flag
Code designation
Start address
Number of read bytes
ETX
00
80
R3
SU
A
A
0010
0005
STX
DA
SA
Command code
Termination code
Response number
ID code
Split flag
Code designation
Start address
Number of read bytes
Number of read data
ETX
80
00
R3
00
01
********
A
A
0010
0005
OMRON
STX
DA
SA
Command code
Communication designation
Split flag
Code designation
Start address
Number of written bytes
Written data
ETX
00
80
W1
SU
A
A
0010
0004
1234
STX
DA
SA
Command code
Termination code
Response number
ID code
ETX
80
00
W1
00
01
∗∗∗∗∗∗∗∗
5-5 Data Code Designation
ASCII code designation
ASCII code designation
Tag Memory
Address
Tag Memory
Address
Tag Memory
Address