577
Commands/Responses
Section 9-3
9-3-7 PT memory write command (Sent from host to PT)
Command
[Format]
Data of 1 word Data of 1 word
m
1B 57
[ESC] W
c3 c4
4D
Mc1 (l1) (l2)c2
2C
0D
d11 d1m
,
dn1 dnm
(s1) (s2) [CR]
** ** ** ** ** ** **
** ** ** ** ** **
m Check sum present/absent, write attribute (1 BCD digit)
0 : Absent, SET attribute
1 : Present, SET attribute
2 : Absent, AND attribute
3 : Present, AND attribute
4 : Absent, OR attribute
5 : Present, OR attribute
6 : Absent, XOR attribute
7 : Present, XOR attribute
8 : Absent, SET attribute (writing 1 word)
9 : Present, SET attribute (writing 1 word)
c
1
to c
4
: First word No. written (4 BCD digits)
0000 to 9999
l
1
,l
2
: Number of words written (2 BCD digits)
01 to 50:1 to 50CH
If m is 8 or 9, omit this setting.
d1
1
to d1
m
, ..., dn
1
to dn
m
:
Data of written words (1 to 4 hexadecimal digits)
0 to FFFF
H
It is possible to omit initial zeroes so that there are less than 4
digits.
s
1
,s
2
: Check sum (2 hexadecimal digits)
If m is an even number, omit this setting.