5-120
IM 701730-17E
*OPC? (OPeration Complete)
Function
After “
*OPC?
” is sent, “1” (ASCII) will be
returned if execution of the designated overlap
command has been completed.
Syntax
*OPC?
Example
*OPC? -> 1
Description
• For a description of the synchronization
method using “
*OPC?
,” refer to page 4-8.
• Designation of an overlap command is
performed using “
COMMunicate:OPSE
.”
• Operation is not guaranteed if “
*OPC
” is not
appended to the end of the message.
*OPT? (OPTion)
Function
Queries the installed options.
Syntax
*OPT?
Example
*OPT? -> CH4MW,FLOPPY,PRINTER,
LOGIC,SCSI,ETHER,USERDEFINE
Description
• Returns the presence of <memory model>,
<floppy disk or Zip drive>, <printer>, <logic>,
<SCSI>, <Ethernet>, and <user-defined
computation>.
• The “
*OPT?
” query must be the last query of
the program message. An error occurs if
there is a query after this query.
*PSC (Power-on Status Clear)
Function
Selects/queries whether following registers are
cleared when power is turned ON. However,
they cannot be cleared if the parameter is “0”
when rounded.
• Standard event enable register
• Extended event enable register
• Transit filter
Syntax
*PSC {<NRf>}
*PSC?
<NRf>=0 (does not clear the registers), a value
other than 0 (clears the registers)
Example
*PSC 1
*PSC? -> 1
Description
For details of each register, refer to Chapter 6.
*RST (ReSeT)
Function
Resets the current settings of the following
groups at once.
ACCumulate, ACQuire, CHANnel<x>,
TIMebase, TRIGger
Syntax
*RST
Example
*RST
Description
Previously sent
*OPC
and
*OPC?
commands
are also cleared.
*SRE (Service Request Enable
register)
Function
Sets the value of the service request enable
register/inquires about the current setting.
Syntax
*SRE <NRf>
*SRE?
<NRf>=0 to 255
Example
*SRE 239
*SRE? -> 239
Description
• <NRf> is the sum of the bits expressed as a
decimal number. For example, if “*ESE 239”
is set, the service request enable register will
be set to “11101111.” This means that bit 4
of the service request enable register is
disabled, so that bit 5 (ESB) of the status
byte register will not be set to “1,” even if the
output queue is not empty. However, bit 6
(MSS) of the status byte register is the MSS
bit, so it will be ignored.
• Default is “*SRE 0,” i.e. all bits are disabled.
• The service request enable register will not
be cleared, even if a query is made using
“
*SRE?
.”
• For details of the service request enable
register, refer to page 6-1.
*STB? (STatus Byte)
Function
Queries about the value of the status byte
register.
Syntax
*STB?
Example
*STB? -> 4
Description
• The sum of the bits expressed as a decimal
value is returned.
• Bit 6 is MSS not RQS, since the register is
read without serial polling. For example, if
“4” is returned, the status byte register is set
to “00000100,” i.e. the error queue is not
empty (an error has occurred).
• The status byte register will be cleared, even
if a query is made using “
*STB?
.”
• For details of the status byte register, refer to
page 6-2.
*TST?
Function
Executes self test and queries the result. The
self test involves internal memory tests.
Syntax
*TST?
Example
*TST? -> 0
Description
“0” is returned if the self test is successful, “1” if
it is not.
*WAI (WAIt)
Function
Waits for the command following “
*WAI
” until
execution of the designated overlap command
is completed.
Syntax
*WAI
Example
*WAI
Description
• For a description of the synchronization
method using “
*WAI
,” refer to page 4-8.
• Designation of overlap commands can be
performed using “
:COMMunicate:OPSE
.”
5.34 Common Command Group