TITAN-SVX Software Manual
page 9
Rev 4.01
3. TITAN-ASCII Protocol
3.1. Communication Mode 0
Communication Mode 0 is the TITAN-ASCII Protocol with Error Reply. RS-485,
USB, and Ethernet communication will use the format below.
Command from Master to TITAN-SVX
Start NetID Sep
Command
End1 End2
Char
#
1
2
1
XX…Xn
1
1
ASCII
Char
@
NN
:
[Command String with “
;
”
delimiters]
CR
LF
Table 3.0
Reply from TITAN-SVX to Master
Start NetID Sep
Reply
End1 End2
Char
#
1
2
1
XX
1
1
ASCII
Char
#
NN
:
[Reply String with “
;
” delimiters]
CR
LF
Table 3.1
Note: ASCII value of CR = 13, ASCII value of LF = 10
•
Command will be processed only if the Start Character, Network ID, and
Separation Characters are valid. If the characters do not match, no reply
from TITAN-SVX will be sent.
•
The Network ID range is from
01
to
99
.
•
Any invalid command following valid start characters will result in a reply with
command error message.
•
After sending a command string with @ as a start and LF as end characters,
Master must release the RS485 signal after the LF character and must not
send any characters until a complete reply is sent from TITAN-SVX.
If a
string or character is sent immediately after command string, the reply string
will collide with the message sent from the master and will result in a garbled
string.
•
If the RS485 line cannot be released immediately by the master after sending
the command, use
TXDELAY
command to set the delay time for the TITAN to
delay before the reply is sent back to the master.
•
The maximum length of the command and the reply is 256 characters.
•
Multiple commands can be sent in one string. Commands must be separated
by a semicolon character “
;
”.