beautypg.com

6 optional message arguments, 7 end of packet – Comtech EF Data CPA User Manual

Page 105

background image

CPA C-Band Solid State Power Amplifier

Revision 1

Serial-based Remote Product Management

MN/CPA-IN.IOM

7–5

2.

From Target-to-Controller, the only permitted value is:

Symbol

Definition

=

(ASCII code 61)

The = code is used in two ways:
First, if the controller has sent a query code to a t arget (for example MUT?, meaning ‘is mute enable or disable?’), the target would

respond with MUT=x, where x represents the state in question: 1 being ‘enable’ and 0 being disable.
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 MUT= (with no message arguments).

3.

The SSPA will display the following error messages:

>DEV?COM_COMMAND UNRECOGNIZED'cr''lf']

>DEV?COM_INVALID PARAMETER'cr''lf']

>DEV?COM_DEVICE IN LOCAL MODE'cr''lf']

>DEV?COM_DEVICE IN AUTO MODE'cr''lf']

>DEV?COM_COMMAND NOT AVAILABLE'cr''lf']

>DEV?COM_DEVICE IS NOT IN SERIAL MODE'cr''lf']

>DEV?COM_DEVICE IS NOT IN ETHERNET MODE'cr''lf']

7.4.6 Optional Message Arguments

Arguments are not required for all messages. Arguments are ASCII codes for the characters 0 to 9 (ASCII codes 48 to 57), period (ASCII code

46), and comma (ASCII code 44).

7.4.7 End of Packet

Controller-to-Target: This is the ‘Carriage Return’ character (ASCII code 13).

Target-to-Controller: This is the two-character sequence ‘Carriage Return’, ‘Line Feed’ (ASCII codes 13 and 10). Both indicate the

valid termination of a packet.

For the error message or the old remote command, it is the three-character sequence ‘Carriage Return’, ‘Line Feed’, ‘]’ (ASCII codes 13,

10, and 93). All indicate the valid termination of a packet.