59
6-5-3 Query Commands
! R0 command
R0 command is used for requesting the meter to return its current status.
The meter will then respond the following 10-digit character string to the host after
receiving the R0 command:
<h
1
h
2
><g
1
g
2
><v><x><f
1
><r
1
><f
1
><r
1
>
For detail information of using R0 command, please refer to Table 6-11 and Table 6-12.
Table 6-11. Descriptions for R0 Command and Response
Syntax Response Description
R0
R0 command is used to read the status of the meter.
The meter will respond the following character string:
<h
1
h
2
><g
1
g
2
><v><x><f
1
><r
1
><f
2
><r
2
>
Response Description
<h
1
h
2
> is a two-digit hex number; each digit contains 4-bit binary codes
(Bit 7-4 and Bit 3-0 respectively) to represent eight types of status
about the meter.
<h
1
> and <h
2
> representations are described as follows.
<h
1
> indicates the results of compare (COMP) function and whether the
meter is operating in a dual display mode;
<h
2
> represents the ON/OFF status for other four types of arithmetic
function.
Example: If <h
1
h
2
> contains a character string “A8”, convert it to an
8-bit binary format “10101000” that means the meter is in Dual
display mode, compare function is ON, and the result of compare is
Pass.
<h
1
h
2
>
Bit Status 0 1
7 Compare mode off on
6 Relative mode off on
5 dB mode off on
<h
1
>
4 dBm mode off on
3 Display Mode Single Dual
2 x Hi
1 x Pass
<h
1
h
2
>
<h
2
>
0
Compare Result
x Lo