4-3
Section
Command Format
34
If command length exceeds 266 characters (for expansion write command):
When the ID Controller receives a command which is not the last frame, it
transmits a delimiter (CR) to the host controller, and is ready to receive the
next command frame.
Command
Response
<Host >
<ID Controller>
Delimiter: CR
T
erminator
T
ext
Delimiter
Delimiter
T
ext
Delimiter
T
erminator
T
ext
Header XW
T
erminator
T
ext
Header XW
Specifying Data Code
Whether the read or write data is treated as an ASCII (or JIS 8) code or HEX code
is specified in a command.
ASCII (JIS 8 Code)
When the data length is specified to be 7 bits by the DIP switch of the ID Control-
ler, ASCII is specified. When the data length is specified to be 8 bits, the JIS 8
code is specified.
One character of ASCII or JIS 8 code data occupies 1 byte (1 address) of the
Data Carrier memory.
Example of specifying ASCII code:
Header
First address
Write data
Command
ASCII specification
R/W Head No. specification
(fixed to 1)
W T
A
1
0
0
1
0
O
M
R
O
N
∗
Data Carrier memory address:
Address
0010
0011
0012
0013
0014
“O”
“M”
“R”
“O”
“N”
4
4
5
4
4
F
D
2
F
E
Note For ASCII (JIS 8 code), refer to Appendix A.
Hex Code
One character is treated as a hexadecimal number. Therefore, only numerals 0
through 9 and A to F can be accepted.
Two characters of data occupy 1 byte (1 address) of the Data Carrier memory.
Therefore, specify data in 2-character units (in even numbers) when using a
write command. If an odd number of data is specified by mistake, an error oc-
curs.