Basic Protocol; Packet Structure - Comtech EF Data CDM-710G Installation And Operation Manual

High-speed satellite modem
Table of Contents

Advertisement

CDM-710G High-Speed Satellite Modem
Remote Control
A.3
RS-232
This a much simpler configuration in which the controller device is connected directly to the
target via a two-wire-plus-ground connection. Controller-to-target data is carried, via RS-232
electrical levels, on one conductor, and target-to-controller data is carried in the other direction on
the other conductor.
A.4

Basic Protocol

Whether in RS-232 or RS-485 mode, all data is transmitted as asynchronous serial characters,
suitable for transmission and reception by a UART. In this case, the asynchronous character
formats is 8N1. The baud rate may vary between 1200 and 57,600 baud.
All data is transmitted in framed packets. The controller is assumed to be a PC or ASCII dumb
terminal, which is in charge of the process of monitor and control. The controller is the only
device which 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.
All bytes within a packet are printable ASCII characters, less than ASCII code 127. In this
context, the Carriage Return and Line Feed characters are considered printable.
All messages from controller to target require a response (with one exception). This will be either to
return data which has been requested by the controller, or to acknowledge reception of an instruction
to change the configuration of the target. The exception to this is when the controller broadcasts a
message (such as Set time/date) using Address 0, when the target is set to RS-485 mode.
A.5

Packet Structure

Start of Packet
<
ASCII code 60
(1 character)
Example:
Start of Packet
>
ASCII code 62
(1 character)
(4 characters)
Example:
Target
Address
Address
De-limiter
/
ASCII code 47
(4 characters)
(1 character)
<0135/TFQ=0070.2345{CR}
Target-to-Controller
Target
Address
Address
De-limiter
/
ASCII code 47
(1 character)
>0654/TFQ=0070.2345{CR}{LF}
Controller-to-Target
Instruction
Code Qualifier
Code
= or ?
ASCII code 61
or 63
(3 characters)
(1 character)
Instruction
Code Qualifier
Code
=, ?, !, or *
ASCII code 61,
63, 33 or 42
(1 character)
(3 characters)
A–2
Revision 1
MN-CDM710G
Optional
End of Packet
Arguments
Carriage Return
ASCII code 13
(n characters)
(1 character)
Optional
End of Packet
Arguments
Carriage Return,
Line Feed
ASCII code
13,10
(From 0 to n
(2 characters)
characters)

Advertisement

Table of Contents
loading

Table of Contents