5-3
Section
Command and Response Frame Structure
75
Example of ASCII Code Designation
If “OMRON” is written to the five bytes beginning with address 10h in the
memory, the addresses will be occupied with the following data.
“O”
“M”
“R”
“O”
“N”
ID Tag memory
Address
Two characters of data are treated as two-digit hexadecimal data, so only two-
digit hexadecimal values 00 through FF can be accepted. The two hexadecimal
characters occupy one byte of ID Tag memory.
Example of HEX Code Designation
If “1234” is written to the two bytes beginning with address 20h, the addresses
will be occupied with the following data.
ID Tag memory
Address
5-3-4 Designating the First Address and Number of Bytes
The following table provides information on commands that designates the first
address and number of bytes along with the designation range of the first ad-
dress and bytes. A command error will result if a value not within the range is
specified.
Command code
Designation range of
first address
Designation range of bytes
READ
00h to EFh
ASCII code
01h to F0h
HEX code
01h to 80h
WRITE
00h to EFh
ASCII code
01h to F0h
HEX code
01h to 80h
ADD
00h to EFh
01h to 08h
SUBTRACT
00h to EFh
01h to 08h
POLLING AUTO
00h to EFh
ASCII code
01h to F0h
HEX code
01h to 80h
POLLING
00h to EFh
ASCII code
01h to F0h
AUTOWRITE
HEX code
01h to 80h
MEMORY
CHECK
j
0h to
j
5h or
j
8h to
j
Dh, provided that
j
is between 0 and E.
01h to F0h
MEMORY
CALCULATE
j
0h to
j
5h or
j
8h to
j
Dh, provided that
j
is between 0 and E.
01h to F0h
Note Addresses and bytes can be specified within the above ranges. If a range ex-
ceeding the memory capacity of the ID Tag is designated, an address error or
HEX Code Designation
AUDIN - 7 bis rue de Tinqueux - 51100 Reims - France - Tel : 03.26.04.20.21 - Fax : 03.26.04.28.20 - Web : http: www.audin.fr - Email : [email protected]