
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
Used for transmission flow controlling
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
Used for transmission flow controlling
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
Comentarios a estos manuales