beautypg.com

3 instruction code, 4 instruction code qualifier – Comtech EF Data CDM-700 User Manual

Page 154

background image

CDM-700 High Speed Satellite Modem

Revision 5

Remote Control

MN/CDM700.IOM

11–4

11.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).

11.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=0950.0000 would mean ‘set
the transmit frequency to 950
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)

# (ASCII code 35)

~ (ASCII Code 126)

They have these meanings: