4-4SectionTypes of Commands and Responses
38
Response Format
XR00XXXXXXXX CR
∗
Read data
∗
End code
Header
If the number of characters of read data is greater than 250, the frame is divided
as follows:
Frame 1
Frame 2
Frame
(n–1)
Frame n
:
:
1 frame = 256 characters
Read data 1
CR
CR
Read data (n–1)
Read data 2
Read data n
CR
*CR
XR 00
250 characters
254 characters
254 characters
(Command)
XR CR CR CR CR
Frame 1 Frame 2 Frame n–1 Frame n
(Response 1) (Response 2) (Response n–1) (Response n)
ID Controller
(Delimiter) (Delimiter) (Delimiter) (Delimiter)
Host
...
4-4-4 Expansion Write Command (XW)
Performs batch write processing of up to 2 KB. The processing procedure to the
DC is the same as that of the write command.
Command Format
XRH/A1XXXXXXXX CR
Header
ASCII/HEX code specification
∗
Terminator
First address
specification
(0000-FFFF)
R/W Head No. specification
(fixed to 1)
Write data
∗Up to 2 KB can be read by batch processing.
Response Format
XW0 0 CR
Header
End code
∗
If the command length is greater than 266 characters, divide the frame.
Frame Division
1, 2, 3... 1. Divide the frame so that each frame consists of up to 266 characters.
2. Append a terminator (∗CR) only to the last frame (frame n). Append a delimi-
ter (CR) at the end of the other frames.
3. A header, ASCII/HEX specification, head no. specification, and first address
are necessary for the first frame (frame 1). If one of these is missing, a com-
mand input error occurs. The write data can be omitted.