VT100 protocol commands
05-10-2007
CNI Engineering S.r.l.
21
3.6.3 Monitor knob
Whenever its control knob changes state, the terminal sends the following sequence.
Sequence
ESC [ Pn-1 ; Pn-2 ; Pn-3 q
Parameter
Pn-1
identifies the state of the control knob. This parameter can have any value from 0 to
65535.
If the parameter value is currently 0 and the knob is turned anti-clockwise, the value becomes 65535.
If the parameter value is 65535 and the knob is turned clockwise, the value becomes 0.
Parameter
Pn-2
identifies the knob that has changed state. This parameter can only have the value 1.
Parameter
Pn-3
is the 16 bit CRC for all characters sent up to and including the second ‘;’.
See Appendix F for further information.
Example:
The current value of the knob is 32. The following sequence is sent when the knob is
turned.
Byte
Sequence sent
Response
00
ESC
(0x1b)
01
‘[‘
(0x5b)
02
‘2’
(0x32)
03
‘3’
(0x33)
04
‘;’
(0x3b)
05
‘1’
(0x31)
06
‘;’
(0x3b)
07
‘4’
(0x34)
08
‘6’
(0x36)
09
‘3’
(0x33)
10
‘2’
(0x32)
11
‘2’
(0x32)
12
‘q’
(0x71)
Содержание RM85x
Страница 4: ......
Страница 8: ...TABLE OF CONTENTS 05 10 2007 CNI Engineering S r l iv...