327
Return status of Status 5 2.2.4
The functions in this communication protocol are as follows.
1) Data sending form
(1) Control commands such as print data, status requests, cancel request and so on need to be within STX (HEX 02H)
and ETX (HEX 03H). * No need to put STX (HEX 02H) and ETX (HEX 03H) for setting data.
(2) Item No. should be added to the print data. If there is no item No., or specifying illegal item No. will cause item No. error.
(3) When the BCC check function is enabled, it is necessary to put BCC at the end of item (<Z>). However, there is
no need for putting BCC at the end of information acquiring command such as status request.
Examples)
Print Data
Status request
2) Item No. command
The objective of this command is to distinguish items by item No. that are put into every item. This command is needed
to be included in the print data (<A>~<Z>) when using status 5 reply protocol because high reliability functions provided
by the status 5 reply status identify items by the item No.
[Command]
ESC (HEX 1BH) + ID
[Format]
(1) In case of 5 digits
<ID>aaaaa
●Parameter
00000 - 99999 (necessary to put all 5 digits)
(2) In case of 2 digits
<ID>aa
●Parameter
In case of 2 digits, remaining 3 digits will be filled with 0.
[Examples]
(1) In case of 5 digits
<A>
<ID>00001
・
・
<Z>
(2) In case of 2 digits
<A>
<ID>01
・
・
<Z>
* There will be a command error when other than 5 digits or 2 digits are entered.