6. RS-232 & RS-485 Protocol
6.1 Setup
6.1.1Use a Null Modem cable (the standard
6.1.2Set the
6.1.3Set the PC communication parameters: 9600 bps, No Parity, 8 Data Bits, 1 Stop Bit.
6.2Communication Protocol:
6.2.0General Command Format
<Lead Code = 0x41>, < Dest ID >, < Src ID >, <Main category >, <Second category >, {<Number of parameters>,<Parameter 1>, <Parameter 2> ..,} <End Code= 0x4f>
Lead Code | = 0x41 |
|
Dest ID | = 0x01 |
|
Src ID | = 0x20 |
|
Main Category = 0x01 | Keys and Signals | |
| = 0x02 | Command |
Second Category = 0x01 Handshake
=0x02 Request Time/Set Time
=0x06 Request System State
End Code= 0x4f
53