CNI proprietary protocol commands
05-10-2007
CNI Engineering S.r.l.
37
4.1.17 Read samples
This command downloads sampled values from the terminal.
Byte
Command
Response
01
0x02
(STX)
0x02
(STX)
02
0x00
(Node)
0x00
(Node)
03
0x08
0x0
StatusBit
04
0x58
(CmdGetSamp)
0x58
(CmdGetSamp)
05
0x00
0x00
06
0x00
High part of number of samples
07
0x00
Low part of number of samples
08
CRC
High part of sample 1, variable 1
09
0x03
(ETX)
Low part of sample 1, variable 1
10
High part of sample 1, variable 2
11
Low part of sample 1, variable 2
12
High part of sample 2, variable 1
13
Low part of sample 2, variable 1
14
High part of sample 2, variable 2
15
Low part of sample 2, variable 2
…
…
8+4´N
High part of sample N, variable 1
8+4´N+1
Low part of sample N, variable 1
8+4´N+2
High part of sample N, variable 2
8+4´N+3
Low part of sample N, variable 2
8+4´N+4
0xXX
8+4´N+5
0xXX
8+4´N+6
CRC
8+4´N+7
0x03
(ETX)
The maximum value of N is limited by the maximum length of the buffer (see section 2.2.3).
Summary of Contents for RM85x
Page 4: ......
Page 8: ...TABLE OF CONTENTS 05 10 2007 CNI Engineering S r l iv...