CNI proprietary protocol commands
05-10-2007
CNI Engineering S.r.l.
23
4 CNI proprietary protocol commands
Packets sent in response to CNI proprietary commands always contain 4
Status Bits
. See
Appendix C for the meanings of these bits.
4.1.1 Position cursor
This command positions the cursor at the
CursorPosition
, which varies from 0 to 79, and assigns it
CursorAttributes
with the following meaning.
Cursor attribute
Meaning
0
Cursor off
1
Cursor on
2
Cursor blinking
Byte
Command
Response
01
STX
STX
02
Node
Node
03
0x08
0x0
StatusBit
04
CmdCursorPosit
CmdCursorPosit
05
0x00
0x00
06
CursorAttribute
CursorAttribute
07
CursorPosition
CursorPosition
08
CRC
CRC
09
ETX
ETX
Example:
To position the cursor of the terminal at node address 0 at position 16 with the cursor on.
Byte
Command
Response
01
0x02
(STX)
0x02
(STX)
02
0x00
(Node)
0x00
(Node)
03
0x08
0x0
0x04
(StatusBit)
04
0x28
(CmdCursorPosit)
0x28
(CmdCursorPosit)
05
0x00
0x00
06
0x01
(CursorAttribute)
0x01
(CursorAttribute)
07
0x10
(CursorPosition)
0x10
(CursorPosition)
08
0xce
(CRC)
0xc2
(CRC)
09
0x03
(ETX)
0x03
(ETX)
Summary of Contents for RM85x
Page 4: ......
Page 8: ...TABLE OF CONTENTS 05 10 2007 CNI Engineering S r l iv...