SATO SG112 ex Programming Reference Manual page 388

Hide thumbs Also See for SG112 ex:
Table of Contents

Advertisement

-
The information is notified in 5 digits fixed. When the key press detection is less than 5 digits,
upper digits are filled with zeros.
2) Key Information String
The all key information is notified consecutively.
One key information is consist with 2 bytes binary value.
No.
1
Key information
 
The bit corresponding to the key (2 bytes)
BIT15 BIT14 BIT13 BIT12 BIT11 BIT10
0
0
3) Acquired Sequence
Host
STX +"00002"+ [0000 0000 0010 0000][0000 0000 0000 1000]
The key information stored in the key buffer can be cleared by key buffer initialization command.
(1) Command
SOH + KC (01H 4BH 43H)
(2) Return Status
[STX] + 0 + [ETX] (02H 30H 03H)
0 is fixed.
Item
0
0
0
0
<A> + <I#>1 + <Z>
SOH + KI
<A> + <I#>0 + <Z>
Contents
Key press information
Output the ON/OFF status of the key to the
bit corresponding to the key.
(Refer to the table below for the bit
corresponding to the key)
0: Key is released
1: Key is pressed
BIT9
BIT8
BIT7
BIT6
FUNC
0
TION
This product
*
+ ETX
387
Number of bytes
2
BIT5
BIT4
BIT3
BIT2
CANCEL ENTER
← + CANCEL
* Bit description in []
BIT1
BIT0
LINE
FEED

Advertisement

Table of Contents
loading

Table of Contents