19
RS-232C CODE
Introduction
This document represents simple UART protocol for controlling system operation using RS232C.
Communication Protocol
1
N.C
Communication parameter
2
TxD
Baud rate
115200
3
RxD
Data
8
4
N.C
Parity
None
5
GND
Stop bit
1
6
N.C
7
N.C
8
N.C
9
N.C
Communication general spec
ID should show hexadecimal value of assigned ID.
ID should be set on menu of the display.
If you want to control every mechanism connected with Serial Cable regardless of its ID, set ID to «
0x00 » and send commands. Then each SET will follow commands but it will not respond without
ACK.
Don’t use 0x00, 0x8A(138) and 0xA9(168) for Set ID.
Transmission format
Start
Command
ID
Data
End
0xA9
0xXX
0xXX
0x8A
For example: Power on & ID = 0x11
Start
Command
ID
Data
End
0xA9
0x11
0x01
0x8A
↓
Start
Command
ID
Data
End
0xA9
0x01
0x01
0x01
0x8A