Common Command Group - YOKOGAWA WT110 User Manual

Digital power meter
Table of Contents

Advertisement

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>
*ESR
?
*IDN
?
*OPC
*OPC
?
*OPT
?
*PSC
<Space>
*RST
*SRE
<Space>
*STB
?
*TRG
*TST
?
*WAI
*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.
IM 253401-01E
<NRf>
?
<NRf>
?
<NRf>
?
*ESR?
Function
Syntax
Example
Description
*IDN?
Function
Syntax
Example
Description
*OPC
Function
Syntax
*OPC?
Function
Syntax
Appendix 2.3 Commands
Queries the value of the standard event register and
clears it at the same time.
*ESR?
*ESR?→32
• 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.
Queries the instrument model.
*IDN?
*IDN?→YOKOGAWA,253503,0,F1.11
A reply consists of the following information:
<Model>,<Type>,<Serial No.> and <Firmware
version>
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.
*OPC
When *OPC? is sent, "1" in (ASCII code) will be
returned. This command is not supported by this
instrument.
*OPC?
App
App2-33

Advertisement

Table of Contents
loading

This manual is also suitable for:

Wt130

Table of Contents