CDM-840 Remote Router MN-CDM840
Appendix G Revision 3
G–11
G.3.1 ECM Operation – CDM-840 Serial Remote Control
Chapter 7. SERIAL-BASED REMOTE PRODUCT MANAGEMENT
The CDM-840’s serial remote product management interface is an electrical interface that is
either an EIA-485 multi-drop bus (for the control of multiple devices) or an EIA-232 connection
(for the control of a single device). The interface uses ASCII characters in asynchronous serial
form to transmit data between the Controller (e.g., a User PC) and Target (e.g., the modem and
ODU). This data consists of control and status information, transmitted in packets of variable
length in accordance with the structure and protocol explained in detail in Chapter 7.
The Controller is in charge of the process of monitor and control, and is the only device that is
permitted to initiate, at will, the transmission of data. Targets are only permitted to transmit
when they have been specifically instructed to do so by the Controller.
The exchange of information is transmitted, Controller-to-Target and Target-to-Controller, in
‘packets’. Each packet contains a finite number of bytes consisting of printable ASCII characters,
excluding ASCII code 127 (DELETE).
In this context, the Carriage Return and Line Feed characters are considered printable. With one
exception, all messages from Controller-to-Target require a response – this will be either to return
data that has been requested by the Controller, or to acknowledge reception of an instruction to
change the configuration of the Target.
Controller-to-Target (Issued Command or Query)
Start of Packet Target Address
Delimiter
Code
Code Qualifier
Arguments
End of Packet
ASCII Code 60
ASCII Code 47
ASCII Codes 61
or 63
ASCII Code 13
Packet “issued command” example: <0000/MSG=Comtech EF Data[cr]
Packet “issued query” example: <0000/MSG?[cr]
Target-to-Controller (Response to Command or Query)
Start of Packet Target Address
Code Qualifier
End of Packet
ASCII Code 62
ASCII Code 47
(ASCII Codes
61, 63, 33, 42,
35, or 126)
ASCII Code 13
Packet example – response received for issued query: >0000/MSG=Comtech EF Data[cr][lf]