beautypg.com

5 instruction code qualifier – Comtech EF Data CDD-880 User Manual

Page 106

background image

CDD-880 Multi Receiver Router

Revision 1

Serial-based Remote Product Management

MN-CDD880

6–6

6.2.2.5 Instruction Code Qualifier

This is a single character that further qualifies the preceding instruction code. Code Qualifiers obey the following rules: 
 
From Controller‐to‐Target
, the only permitted characters are: 

 

Character

Definition

=
(ASCII code 61)

This character is used as the Assignment Operator (AO). It establishes that the Instruction Code that precedes it is to
be used as a command to assign or configure operation. The instruction set that follows serves to assign the Target’s
new parameter setting or operational value.

Example: In a message from Controller-to-Target, IG1=aaa.bbb.ccc.ddd/yy means “set the GE Port IP address to
aaa.bbb.ccc.ddd/yy”

?
(ASCII code 63)

This character is used as the Query Operator (QO). It establishes that the Instruction Code that precedes it is to be used
as a query that returns the Target’s current configured parameter setting or operational value.

Example: From Controller-to-Target, IG1? means “what’s the current GE Port IP address?”

 
From Target‐to‐Controller
, the only permitted characters are: 

 

Character

Definition

=
(ASCII code 61)

This character is used in two ways:

a. If the Controller sends a query to the Target – for example, CMD? (meaning “what’s current value of this parameter?”)

– the Target responds with CMD=xxx, the value for that queried parameter.

b. If the Controller sends an instruction to set a parameter to a particular value, and the value sent is valid, the Target

acknowledges the message and responds with CMD= (with no message arguments).

?
(ASCII code 63)

If the Controller sends an instruction to set a parameter to a particular value, and the value sent is not valid, the Target then
acknowledges the message and responds with, for example, CMD? (with no message arguments). This indicates that there
was an error in the message sent by the Controller.