10
Remote Control Protocol
The control port of your DTS-6 is in fact a serial I/O port compatible with standard USB ports. In
the future, LDG may release Windows software and a USB cable enabling you to control your
DTS-6 from your PC! In the meantime, this section documents the control protocol; you can write
your own software to control the switch. The protocol below describes the dialog between the
DTS-6R remote and the DTS-6 switch. Under PC control, the PC program you write would take
the place of the remote. Simply open the port, send the appropriate commands as character text
strings, and receive and process the replies as desired. Note the space between the letter prefix (M
or R) and the numeric code.
Example: to select antenna 1, your program would send the characters "R 02" to the switch via
the USB connection. Your program would then receive the code "M 02" from the switch,
indicating that the switch is set.
Codes sent by the DTS-6 switch to the DTS-6R remote:
M 00 - Main unit tells remote that buttons 5&6 were pushed. Causes remote to flash LEDs
5&6 twice
M 01 - Main unit tells remote that all relays are grounded. Remote turns all LEDs off.
M 02 - Main tells remote that antenna 1 is selected. Remote lights proper LED.
M 03 - Main tells remote that antenna 2 is selected. Remote lights proper LED.
M 04 - Main tells remote that antenna 3 is selected. Remote lights proper LED.
M 05 - Main tells remote that antenna 4 is selected. Remote lights proper LED.
M 06 - Main tells remote that antenna 5 is selected. Remote lights proper LED.
M 07 - Main tells remote that antenna 6 is selected. Remote lights proper LED.
M 09 - Not used.
M 10 - Main tells remote that the radio sense mode is now off. Remote flashes LEDs 2 & 3
twice.
M 11 - Main tells remote that the radio sense mode is now on. Remote flashes LEDs 1 & 2
twice.
M 15 - Main sends this when RF is present and a button was pressed or command received.
M 17 - Main tells remote that an operation failed because radio sense is on and there is no
radio. Remote flashes LEDs 1 and 2 three times.
M 18 - Not used.
M 19 - Main will force remote to check status of the radio. Remote responds with radio status.
M 20 - Main asks remote to do a self-check. Main expects a response of “R 21” to show the
remote has started the check. If “R 21” is not received, then Main flashes LEDs 1 and 4. If “R
21” is received, main unit will scroll the LEDs and wait for another response.
M 21 - This is sent to the remote when the remote requests a self-check of the main unit.
M 22 - After doing a self-check, everything is correct, so main tells remote.
M 23 - After doing a self-check, button 1 is stuck, so main tells remote.
M 24 - After doing a self-check, button 2 is stuck, so main tells remote.
M 25 - After doing a self-check, button 3 is stuck, so main tells remote.
M 26 - After doing a self-check, button 4 is stuck, so main tells remote.
M 27 - After doing a self-check, button 5 is stuck, so main tells remote.
M 28 - After doing a self-check, button 6 is stuck, so main tells remote.