Torniquete
Tx1500
7.5.
Serial communication
Turnstile Tx1500 Duo
's control board allows serial con
fi
guration of the equipment. The
communication protocol used is as follows:
Where:
-
represents beginning of transmission (0x02)
STX
-
is the byte with the least signi
fi
cant size component
Size(LSB)
-
is the byte with the most signi
fi
cant size component
Size(MSB)
-
is the information sent to the equipment (one or two bytes);
Commands
-
is the XOR operation for all bytes sent, from STX to Commands
BCC
The following table shows the enabling commands that can be sent to
Turnstile Tx1500
Duo
:
The following table shows the return commands that can be sent by the equipment:
The following table shows some examples of command:
STX
Tamanho(LSB)
Tamanho(MSB)
Comandos
BCC
HEXA
ASCII
FUNCTION
0x48
H
Clears direction from right to left
0x41
A
Clears direction from left to right
0x44
D
Clears both directions
0x43
C
Back to controlling (command used to leave free state)
0x4C
L
Turnstile free (include free direction <0x4C> + <0x48>)
0x53
S
Direction programming (include direction to be programmed <0x53>
+ <0x48>)
HEXA
ASCII
FUNCTION
0x48
H
free from right to left
0x06
ª
ACK, indicates command OK
0x15
§
NACK, indicates invalid command
0x1A
®
Return command form right to left (RET1)
0x1B
¬
Return command from left to right (RET2)
Free from left to right (1 passage):
0x02
0x02
0x00
0x48
0x48
Configure from left to right as always free:
0x02
0x03
0x00
0x4C
0x48
0x05
Return OK command:
0x02
0x02
0x00
0x06
0x06
ATTENTION:
- Size corresponds to the number of bytes sent (total command
bytes: 1).
- The protocol communication rate is 115,200 bps.
31
Содержание Tx1500
Страница 1: ...Installation Manual Turnstile Tx1500...
Страница 2: ......
Страница 29: ...29 Torniquete Tx1500 29 Connect the outputs according to the following image Sound alarm Maximum current 500mA...
Страница 34: ......
Страница 35: ......