Справочник Пользователя для Citizen Systems PMU2XXX

Скачать
Страница из 312
 
- 116 - 
fn=553  Function 5 Sending Key Code List of Stored Record 
GS ( C pL pH m fn b 
 
 
[Code]   
<
1D>H<28>H<43>H<pL><pH><m><fn><b> 
 
[Range] (pL+pH×256)=3(pL=3、pH=0) 
m=0 
fn=5、53 
b=0 
 
[Outline] 
[The specification which is common to the model]
 
Sends key code list of record existing in user NV memory.
 
 
Hex. 
Decimal 
Data size 
 
Header 37H 
55 
1byte 
Identifier 71H 
113 
1byte 
Status 40Hor41H  64or65 
1byte 
2~80 bytes 
Data 20H~FEH  32~254 
NUL 00H 
1byte 
 
• Data is a data group with a list of key codes.
 
Transmission data group when record is not detected is as shown below.
 
 
Hex. Decimal
 
Data Size
 
Header 37H 
55 
1byte 
Identifier 71H 
113 
1byte 
Status 40H 
64 
1byte 
NUL 00H 
1byte 
 
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 
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.