B.5.4 instruction code qualifier – Comtech EF Data CLO-10 User Manual

Page 116

Advertising
background image

CLO-10 Link Optimizer

Revision 1

Remote Control

MN/CLO-10.IOM

B.5.4

Instruction Code Qualifier

This single character 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)

The = (ASCII code 61) 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) that follow it.

For example: In a message from controller to target, TFQ=0070.0000
would mean ‘set the transmit frequency to 70 MHz.

?

(ASCII code 63)

The ? (ASCII code 63) 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: A message from the 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)

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=xxxx.xxxx, where xxxx.xxxx represents the frequency
in question.

Second, if the controller sends an instruction to set a parameter to a
particular value, then, providing the value sent in the argument is valid,
the target will acknowledge the message by replying with TFQ= (with no
message arguments).

?

(ASCII code 63)

The ? code (Target to Controller) is only used as follows:

If the controller sends an instruction to set a parameter to a particular
value, then, if the value sent in the argument is not valid, the target will
acknowledge the message by replying with (for example) TFQ? (with no
message arguments). This indicates that there was an error in the
message sent by the controller.

!

(ASCII code 33)

The ! code (Target to Controller) is only used as follows:

If the controller sends an instruction code which the target does not
recognize, the target will acknowledge the message by echoing the
invalid instruction, followed by the ! character with (for example) XYZ!

*

(ASCII code 42)

The * code (Target to Controller) is only used as follows:

If the controller sends an instruction to set a parameter to a particular
value, then, if the value sent in the argument is valid, BUT the link
optimizer will not permit that particular parameter to be changed at that
time, the target will acknowledge the message by replying with (for
example) TFQ* (with no message arguments).

B-4

Advertising