Function64, Gs ( l pl ph m fn d1 d2 – Citizen Systems BD2-2220 User Manual
Page 121

- 121 -
fn=64: Function 64 Sending Key Code List of Defined NV Graphics
GS ( L pL pH m fn d1 d2
[Code]
<
1D>H<28>H<4C>H
[Range] (pL+pH×256)=4(pL=4、pH=0)
m=48
fn=64
d1=75(“K”)
d2=67(“C”)
[Outline]
[The specification which is common to the model]
Sends the key code list of defined NV graphics.
• When key code list is present
Hex.
Decimal
Data Size
Header 37H
55
1
byte
Identifier 72H
114
1
byte
Status 40Hor41H
64or65
1
byte
Data
30H~39H
48~57
2~ 80 bytes
NUL 00H
0 1
byte
• When key code is not present
Hex.
Decimal
Data Size
Header 37H
55
1
byte
Identifier 72H
114
1
byte
Data 40H
64 1
byte
NUL 00H
0 1
byte
When 40 or more key codes are present, they are sent by being divided in unit of 40max.
• Status with continuous transmission data group is 41H.
• Status without continuous transmission data group is 40H.
After sending [Header - NUL], receives a response from the host and executes the next processing
corresponding to the response.
• In case of “Status (with continuous block): hexadecimal number = 41H / decimal number = 65”
Response
Content of Processing
ASCII Decimal
ACK 6
Sends next data group.
NAK
21
Resends previous data group.
CAN 24
Cancels
processing.
• In case of “Status (last block): hexadecimal number = 40H / decimal number = 64”
Response
Content of Processing
ASCII Decimal
ACK 6
Terminates processing.
NAK 21
Resends previous data group.
CAN 24
Cancels processing.