IM 253401-01E
App2-33
App
Appendix 2.3 Commands
Communication Commands 2
2.3.15 Common Command Group
The commands in the common command group are independent of the instrument’s functions, and are specified in IEEE 488.2-
1987. There is no front panel key that corresponds to this group.
*CLS
*ESE
<Space>
<NRf>
?
*ESR
?
*IDN
?
*OPT
?
*PSC
<Space>
<NRf>
?
*RST
*SRE
<Space>
<NRf>
?
*STB
?
*TRG
*WAI
;
*OPC
*OPC
?
*TST
?
*CLS
Function
Clears the standard event register, extended event
register and error queue.
Syntax
*CLS
Example
*CLS
Description
• The output will also be cleared if a
*CLS
command is
appended after the program message terminator.
• For details on the registers and queues, refer to
appendix 2.4.
*ESE
Function
Sets the value for the standard event enable register, or
queries the current setting.
Syntax
*ESE {<NRf>}
*ESE?
{<NRf>}=0 to 255
Example
*ESE 253
*ESE?
→
253
Description
• Each bit is expressed as a decimal number.
• For example, if “
*ESE 253
” is set, the standard
enable register will be set to “
11111101
”. This
means that bit 2 of the standard event register is
disabled so that bit 5 (ESB) of the status byte
register will not be set to “
1
”, even if a query error
occurs.
• Default is “
*ESE 255
” , i.e. all bits are enabled.
• The standard event enable register will be cleared
when an inquiry is made using
*ESE?
.
• For details referring the standard event enable
register, refer to page App2-36.
*ESR?
Function
Queries the value of the standard event register and
clears it at the same time.
Syntax
*ESR?
Example
*ESR?
→
32
Description
• Each bit is expressed as a decimal number.
• It is possible to ascertain the type of event which has
occurred, while SRQ is occuring.
• For example, if “
*ESR 32
” is returned, this means
that the standard event register is “00100000” , i.e.
the SRQ has occurred due to a command syntax
error.
• If a query is made using
*ESR?
, the standard event
register will be cleared.
• For details referring the standard event enable
register, refer to page App2-37.
*IDN?
Function
Queries the instrument model.
Syntax
*IDN?
Example
*IDN?
→
YOKOGAWA,253503,0,F1.11
Description
A reply consists of the following information:
<Model>,<Type>,<Serial No.> and <Firmware
version>
*OPC
Function
When
*OPC
is sent, this command sets bit 0 (the OPC
bit) of the standard event register to “
1
”. This
command is not supported by this instrument.
Syntax
*OPC
*OPC?
Function When
*OPC?
is sent, “
1
” in (ASCII code) will be
returned. This command is not supported by this
instrument.
Syntax
*OPC?