Installation manual
21
www.smartavi.com
Command Mode continued:
<CHK> stands for CHECKSUM: the <CHK> value is
calculated by performing an XOR of the full com-
mand string. For example: //F00M12I03 will XOR
to the hexadecimal value 0x42, therefore the value
of <CHK> is 0x42.
CALCULATING THE <CHK>
IMPORTANT
5) To query crosspoints from PC:
//FxxU<CHK><CR>
•Ifalloutputsareconnectedtoinput1thena4x4Matrixwillrespond
with <0x80><0x80><0x80><0x80><CR>
•Therouterwillsendbackonebyteforeachoutputandthestring
ends with a <CR>. The rst byte sent is Output #1. In the example
above, since there are 5 bytes total, we know that there are 4
outputs.
•Tocalculatetheinputnumber,theroutersendstheinputnumber
with the 7th bit set.
0x80 = “1000 0000” input 0
0x81 = “1000 0001” input 1
…
0x8F “1000 1111” input 15
Notes:
When successful, commands #1-4 will acknowledge by sending the
checksum with nibbles swapped & <CR><LF>
e.g. checksum of 0x24 acknowledges with <0x42><CR><LF>
Using RS-232 Control (continued)