Attachment II
Communication protocol of electric tripod turnstile
1.
Hardware protocol
Communication signal: RS485
Communication baud rate: 9600bps
Start and end from one bit
Data bits: 8 bits
Parity check bit: No
2.
Frame Agreement
1. The frame format of upper computer: Synchronization code + equipment ad-
dress + command code +check code
Synchronization code: Receiving and sending message in hex 235 ( decimal sy-
stem)
Equipment address: Sending and receiving message in hex
Range of equipment address: 0-255( decimal system)
Command code/Data
1
Left-open order
2 Right-open order
3
Pole dropping order
4 Pole arising order
5 Standby
6 Standby
7 Ban on transit
8 Order of transit recovery
Check code: (Synchronization code) XOR(Equipment address) XOR( Order)
e.g.: Equipment address: 1 interval order
Left-open order
Right-open order
Pole dropping order
Pole arising order
12
40H
41H
42H
43H
43H
43H
4Ah
4BH
EB 01 40 00 AA
EB 01 41 00 AB
EB 01 42 00 AB
EB 01 43 00 AB
00H
00H
00H
00H
00H
00H
00H
00H