Input output interface – Ring Communications DNA300 User Manual
Page 9

DNA300 OPERATIONS MANUAL
9
2006/06/13
INPUT OUTPUT INTERFACE
Set the DIP switches so that SW3-7 is OFF and SW3-8 is OFF to activate the I/O software .
COMMUNICATION PROTOCOL
The device receiving from the DNA300 must be setup in the following matter:
The interface is using RS232 between the baud rates of 1200-19200 bps (see S
ETTING
B
AUD
R
ATE
/D
EVICE
T
YPE
S
ELECT
earlier in this chapter).
Hardware flow control (RTS/CTS).
Configurable Parity, Data and Stop bits.
MESSAGE FORMATS
STX
hex 02
CTRL-B Start of Text
RS
hex 1E
CTRL-^ Record Separator
ETX
hex 03
CTRL-C End of Text
BCC
hex 00-7F
XOR Checksum of all characters including STX and ETX
EVENT
One character
BUTTON ADDRESS
Four character (0000-FFFF hex).
PRIORITY
One character (0-9 decimal).
CALL NUMBER
Four character (0000-9999 decimal).
ACK
hex 06
CTRL-F Message acknowlege is expected back after each message is sent.
The DNA300 will retransmit the message if not acknowleged within 1 second. Maximum two retransmits.
The DNA300 will send ACK after receiving a valid message from the external device.
The message format is in the following format for output messages from the DNA300:
| STX | EVENT | RS | BUTTON ADDRESS | RS | PRIORITY |RS| CALL NUMBER | ETX | BCC |
Events:
I (hex 49) = INITIALIZE (hex string: 02 49 03 48)
F (hex 46) = FAULT
E (hex 45) = ALARM
C (hex 43) = CALL
T (hex 54) = TALK
B (hex 42) = BUSY
P (hex 50) = PARK
R (hex 52) = CLEAR