584
Commands/Responses
Section 9-3
9-3-11 PT memory batch w rite (FILL) command
(Sent from host to PT)
Command
[Format]
m
1B
46
[ESC] F
e3
b3
e4
4D
Mb1
d1
b2
0D
b4 e1 e2
d4
(s1) (s2) [CR]
** ** ** ** ** **
** ** **** ** **
**
m : Check sum present/absent (1 BCD digit)
0 : Absent
1 : Present
b
1
to b
4
: First written word number (4 BCD digits)
0000 to 9999
e
1
to e
4
: Final written word number (4 BCD digits)
0000 to 9999
d
1
to d
4
: Data to be written (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 0, omit this setting.
[Response]
Only if “Yes” is set for the “Response” memory switch, the response indicated be-
low is returned on normal completion.
[Format]
1B 46
[ESC] [CR]F
4530 30 0D4D
M
30
0 0 s1 s2
s
1
,s
2
: Check sum (2 hexadecimal digits)
This is always added (fixed as “0EH”).
[Function]
S Writes the specified data to all the words within the range specified by the “first
written word number” and “final written word number”.