Answer; Example 1 Byte By Value - envea Cairpol Cairsens Notice Technique

Table des Matières

Publicité

Les langues disponibles

Les langues disponibles

10
Cairsens - UART Version
· HeaderUart REF CMD CRC ETX
· Command byte CMD = 0x12
7.2

Answer

HeaderUart REF RSP PARAM=0xXX CRC TrailerUart
· Answer byte RSP = 0x13
· Instant value byte PARAM (see below)
The last value (last data stored) is expressed as follows:
· Parameter 1: 1 data
7.3

Example 1 byte by value

· Query:
SYNC
STX
LG
REF
CMD
CRC
ETX
1 byte
0xFF
1 byte
0x02
1 byte
0x13
7 bytes
0x30
0x01
0x02
0x03
0x04
0x05
0x06
8 bytes
0xFF
0xFF
0xFF
0xFF
0xFF
0xFF
0xFF
0xFF
1 byte
0x12
2 bytes
0xAF
0x88
1 byte
0x03
© 2017 Cairpol

Publicité

Chapitres

Table des Matières
loading

Table des Matières