10-17
IM 755601-01E
Communication
Commands
10
:COMMunicate:OPSE
(Operation Pending Status Enable register)
Function
Sets the overlap commands that are subject to
*OPC
,
*OPC?
, and
*WAI
or queries the current
setting.
Syntax
:COMMunicate:OPSE <Register>
:COMMunicate:OPSE?
<Register> = 0 to 65535 (Operation
pending status enable register, see
the description of the :COMMunicate:
OVERlap command)
Response
<NR1>
Example
:COMMUNICATE:OPSE 65535
:COMMUNICATE:OPSE?
→
:COMMUNICATE:OPSE
8192
Description In the above example, all bits are set to “1” so
that all overlap commands are subject to
*OPC
,
*OPC?
, and
*WAI
. However, because the bits
that are fixed to “0” cannot be changed, only bit
13 shows a “1” when a query is made.
:COMMunicate:OPSR?
(Operation Pending Status Register)
Function
Queries the operation pending status register
value.
Syntax
:COMMunicate:OPSR?
Response
<NR1> (Operation pending status enable
register, see the description of the
:COMMunicate:OVERlap command)
Example
:COMMUNICATE:OPSR?
→
0
:COMMunicate:OVERlap
Function
Sets the commands that will operate as overlap
commands or queries the current setting.
Syntax
:COMMunicate:OVERlap <Register>
:COMMunicate:OVERlap?
<Register> = 0 to 65535 (Overlap enable
register, see the diagram below)
Response
<NR1>
Example
:COMMUNICATE:OVERLAP 65535
:COMMUNICATE:OVERLAP?
→
:COMMUNICATE:OVERLAP 8192
Description • In the above example, all bits are set to “1”
so that all overlap commands are enabled.
However, because the bits that are fixed to
“0” cannot be changed, only bit 13 shows a
“1” when a query is made.
• For the procedures regarding the use of the
“
:COMMunicate:OVERlap
” command for
synchronization, see page 10-7.
• Operation pending status (enable) register/
overlap enable register
15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0
0
0 PRN 0
0
0
0
0
0
0
0
0
0
0
0
0
When bit 13 (PRN)=1: External printer output
operation incomplete
:COMMunicate:REMote
Function
Switches to remote/local mode or queries the
current setting. When the setting is set to ON, it
is set to the remote mode.
Syntax
:COMMunicate:REMote {<Boolean>}
:COMMunicate:REMote?
Response
{0|1}
Example
:COMMUNICATE:REMOTE ON
:COMMUNICATE:REMOTE?
→
:COMMUNICATE:REMOTE 1
Description This is a dedicated command of the serial (RS-
232) interface.
:COMMunicate:STATus?
Function
Queries the line status.
Syntax
:COMMunicate:STATus?
Response
<NR1>
Example
:COMMUNICATE:STATUS?
→
0
Description • The descriptions of the status bits are as
follows.
Bit
RS-232
GP-IB
0
Parity error
Unrecoverable
transmission error
1
Framing error
Always 0
2
Break character Always 0
detected
Others Always 0
Always 0
• When a causing event occurs, the
corresponding status bit is set. When the
status is read, it is cleared.
:COMMunicate:VERBose
Function
Sets the response messages to full form or
abbreviated form or queries the current setting.
Syntax
:COMMunicate:VERBose {<Boolean>}
:COMMunicate:VERBose?
Response
{0|1}
Example
:COMMUNICATE:VERBOSE ON
:COMMUNICATE:VERBOSE?
→
:COMMUNICATE:VERBOSE 1
Description For example, the response data to the
“
:TRIGGER:MODE?
” query is “
:TRIGGER:MODE
EXTERNAL
” when it is returned in the full form
and “
:TRIG EXT
” when it is returned in the
abbreviated form.
:COMMunicate:WAIT
Function
Waits for a specified extended event.
Syntax
:COMMunicate:WAIT <Register>
<Register> = 0 to 65535 (Extended event
register, see page 10-39)
Example
:COMMUNICATE:WAIT 65535
Description For the procedures regarding the use of the
“
:COMMunicate:WAIT
” command for
synchronization, see page 10-9.
10.2 Commands