App 2-5
IM CW120-E
Communication Commands
App
Appendix 2. Communication Commands
Higher-level Query
A query with a question mark (?) on the
topmost-level command in a group is called a
higher-level query. Executing a higher-level
query allows all the setup data items available
with the group to be received at one time.
A response to a higher-level query can be sent
exactly as it was received, as a program
message to the CW120.
Rules of Header Interpretation
The CW120 interprets a received header
according to the following rules.
• Mnemonics are not case-sensitive.
Example: SYSTem can also be written as
system or System.
• The lower-case portion of a header can be
omitted.
Example: SYSTem can also be written as
SYSTE or SYST.
• The question mark (?) at the end of the
header denotes a query. You cannot omit the
question mark.
Example: SYSTem? cannot be abbreviated to
anything shorter than SYST?.
• If the x (numeric value) at the end of the
header is omitted, it is assumed to be "1".
Example: If CHANnel<x> is written as CHAN,
this represents CHAN1.
1.3
Response
Upon receiving a query from the personal
computer, the CW120 returns a response
message to the computer. A response
message is sent in either of the following forms.
• Response consisting of a header and data
If the response can be used directly as a
program message, the response message
will include the command header.
• Response consisting of data only
If the response cannot be used directly as a
program message (i.e., the response is a
query-only command), the response
message will include only the data. However,
some query-only commands will include a
header.
●
When you want a response without a
header
You can have the header removed from a
response that has a header and data by using
the COMMunicate:HEADer command.
●
Abbreviated form
Usually, the lower-case letter portion of a
response header is abbreviated when it is
returned. You can have it not abbreviate the
lower-case letters by using the COMMunicate:
VERBose command.