
AC-MX
44
/88
-
AUHD-HDBT
pg.
25
AVProEdge ~ 2222 E 52nd St N Sioux Falls, SD 57104~ 1.877.886.5112 ~ +1.605.274.6055 ~
How to route RS232 Commands when using serial:
The routing command is very straight forward but you have to take care to make sure you format it correctly.
The main thing to consider before you begin:
1. You are actually sending 2 commands (route & device command) so depending on what you are using
to send the command the format varies slightly - We show some examples below.
2. You have to know the baud rate of the device you are sending the command to.
3. For "hybrid" ASCII commands, you may have to convert the numbers to the decimal value.
Ex: If the command is "ka 00 01" you only send "ka 0 1"
The Command:
0 - 9600
1 - 14400
2 - 19200
3 - 38400
4 - 57600
5 - 115200
There is a carriage return immediately following this command.
After this command you immediately follow it with the command you want to send to the device (no spaces).
That command it then followed by another carriage return.
The fist command is your "route" and it looks like this:
AxxSET RS PTH OUTx LENx BRx
A = Device Address (use this even if using a single unit, just put 00)
OUT = The Output you want to route the forthcoming command to
LEN = Forthcoming command length - for ASCII this includes EVERY character including spaces. For HEX it
includes only the BYTE count.
Ex1: If the ASCII command is "ka 0 1" the length is 6. Count spaces. NOTE: You can exceed the
length by 2 if unsure. If you exceed the length by more than 2 it will not work.
Ex2: If HEX command is "6B 68 20 30 20 31" the length is 6. Do not count spaces. Again, you can
exceed by 2.
BR = Baud Rate of the device you are sending to - You use a single digit to replace "x" and they are: