3-4SectionCommand Types and Responses
36
3-4-2 Write (WT)
Data
is written to the DC. If the DC is not present, an error response (end
code:
72 = DC not present) is returned.
Command Format
Specifies
the write data.
*The number of bytes that can be written in one operation is
as follows:
ASCII code specification: 256 bytes (256 characters)
HEX code specification: 128 bytes (256 characters)
(When specifying HEX code, specify one byte as two charac
-
ters.)
W. T A/H. 1/2 XXXXXXX X
∗
.......
For 1 to 1 Procedure
Write
Header
ASCII/HEX
code specification
A: ASCII code
H: HEX code
5/ R/W Head no.
Start address no. specification range
1 frame = 266 characters max.
@. Unit No. W T A/H 1/2 X XXXXXX X
For 1 to N Procedure
∗
FCS
Header
.......
Write
ASCII/HEX
code specification
A: ASCII code
H: HEX code
R/W Head no.
Start address no. specification range
1 frame = 271 characters max.
Specifies the write data.
*The number of bytes that can be written in one operation is as
follows:
ASCII code specification: 256 bytes (256 characters)
HEX code specification: 128 bytes (256 characters)
Note:
Refer to the previous page for information on the set
-
ting values.
00 to 15
Response Format
WT 0 0∗
Header
For 1 to 1 Procedure
Write
End
code (see page
48)
00: Normal completion
@. Unit No. W T 0 0
∗
FCSWrite
Header
End code (see page
48)
00: Normal completion
For 1 to N Procedure
00
to 15