Rgblink DXP D1616 User Manual Manual do Utilizador Página 72

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 76
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 71
DXP D1616 User Manual 72
D. Serial Communication Protocol
Serial protocol
Baud rate 115200 BPS. 1 bit start bit; 1 bit stop bit; No parity bit.
Protocol data format
Sending data format as follows, defined as shown in table 1.
ADDR * SN * CMD * DAT1 * DAT2 * DAT3 * DAT4 * CHKSUM
Table 2 sends data format definition
Symbol
Byte
Definition
Note
ADDR
1
Address
SN
1
Used for transmission flow controlling
CMD
1
Command type
DAT1
1
DAT2
1
DAT3
1
DAT4
1
CHKSUM
1
All protocol data
Receiving data format as follows, defined as shown in table 3.
ADDR * SN * CMD * DAT1 * DAT2 * DAT3 * DAT4 * CHKSUM
Table 4 receiving data format definition
Symbol
Byte
Definition
Note
ADDR
1
Address
Not used
SN
1
Used for transmission flow controlling
CMD
1
Command type
DAT1
1
DAT2
1
DAT3
1
DAT4
1
CHKSUM
1
All protocol data
CHKSUM = ADDR + SN + CMD + DAT1 + DAT2 + DAT3 + DAT4.
SN is used for flow controlling, with beginning connection settings SN = 0,
each command PC send, SN plus one. The back command lower machine
send should be consistent with the receiving SN command. Lower machine
should at least cache five receiving commands. PC should well flow control
Vista de página 71
1 2 ... 67 68 69 70 71 72 73 74 75 76

Comentários a estes Manuais

Sem comentários