Instruction code, Instruction code qualifier – Comtech EF Data CDM-500 User Manual

Page 69

Advertising
background image

Remote Control

CDM-500 Closed Network Satellite Modem

B–4

Rev.

1.3

B.5.3 Instruction

Code

This is a three-character alphabetic sequence which identifies the subject of the message.
Wherever possible, the instruction codes have been chosen to have some significance.
For example TFQ for transmit frequency, RMD for receive modulation type, etc. This
aids in the readability of the message, should it be displayed in its raw ASCII form. Only
upper case alphabetic characters may be used (A-Z, ASCII codes 65 - 90).

B.5.4

Instruction Code Qualifier

This is a single character which further qualifies the preceding instruction code.

Code Qualifiers obey the following rules:

1) From Controller to Target, the only permitted values are:

= (ASCII code 61)
? (ASCII code 63)

They have these meanings:

The ‘=’ code (controller to target) is used as the assignment operator, and is used
to indicate that the parameter defined by the preceding byte should be set to the
value of the argument(s) which follow it.

For example, in a message from controller to target, TFQ=070.0000 would mean
‘set the transmit frequency to 70 MHz’

The ‘?’ code (controller to target) is used as the query operator, and is used to
indicate that the target should return the current value of the parameter defined
by the preceding byte.

For example, in a message from controller to target, TFQ? would mean ‘return
the current value of the transmit frequency’


2) From Target to Controller, the only permitted values are:

= (ASCII code 61)
? (ASCII code 63)
! (ASCII code 33)
* (ASCII code 42)

They have these meanings:

The ‘=’ code (target to controller) is used in two ways:

First, if the controller has sent a query code to a target (for example TFQ?,
meaning ‘what’s the Transmit frequency?’), the target would respond with
TFQ=xxx.xxxx, where xxx.xxxx represents the frequency in question.

Advertising