4-4SectionTypes of Commands and Responses
36
Expansion write command:
XWA/H 1 First address Write data ∗ CR
Frame is divided if the number of characters is more than 267
Data written to DC
Header
ASCII/HEX code specification
R/W Head No. specification
(fixed to 1)
First address specification
(0002-FFFF)
ASCII
1-2048 characters
(1-2048 bytes)
HEX
2-4096 (4K) characters (even)
(1-2048 bytes)
Note To divide a frame into several frames, make sure that one frame is of 266 charac-
ters or less.
Frame 1
Frame 2
Frame
(n–1)
Frame n
::
1 frame = 266 characters max.
Header
A/H 1
First address Write data 1
CR
CR
Write data (n–1)
Write data 2
Write data n
CR
∗CR
4-4 Types of Commands and Responses
4-4-1 Read (RD)
Reads data from the Data Carrier. If the Data Carrier is missing, an error re-
sponse (end code: 72 = Data Carrier missing) is returned.
Command Format
RDA/H1XXXX
∗
Header
ASCII/HEX code specification
A: ASCII code, JIS 8 code
H: HEX code
R/W Head No. specification
(fixed to 1)
First address No.
specification range
0000-07FF (2KB type)
0000-1FFF (8KB type)
Specify the number of bytes to be read in
HEX code. The number of bytes that can
be read at a time is as follows:
– ASCII: 256 bytes (256 characters)
– HEX: 128 bytes (256 characters)
Read
∗
No. of
bytes
read