YOKOGAWA WT3001E User Manual page 159

Precision power analyzer communication interface
Hide thumbs Also See for WT3001E:
Table of Contents

Advertisement

*OPC(OPeration Complete)
Function
Sets bit 0 (OPC bit) of the standard event register
to 1 upon the completion of the specified overlap
command.
*OPC
Syntax
*OPC
Example
Description • For the description regarding how to
synchronize the program using *OPC , see
page 5-9.
• The " COMMunicate:OPSE " command is used
to specify the overlap command.
• If *OPC is not the last command of the
message, the operation is not guaranteed.
*OPC?(OPeration Complete)
Function
ASCII code "1" is returned when the specified
overlap command is completed.
*OPC?
Syntax
*OPC? -> 1
Example
Description • For the description regarding how to
synchronize the program using *OPC?, see
page 5-9.
• The "COMMunicate:OPSE" command is used
to specify the overlap command.
• If *OPC? is not the last command of the
message, the operation is not guaranteed.
*OPT?(OPTion)
Function
Queries the installed options.
*OPT?
Syntax
*OPT? ->G6,B5,FQ,DA,V1,C2,C7,C5,FL,
Example
MTR
Description • The presence or absence of the following is
returned: harmonic computation function (G6),
built-in printer (B5), frequency measurement
addition (FQ), 20chDA output (DA), VGA output
(V1), RS-232 communications (C2), USB port
(for PC, C12), Ethernet (C7), USB port (for
peripherals, C5), measurement (FL), and motor
evaluation function (MTR).
• If none of the options is installed, an ASCII
code "0" is returned.
• The *OPT? query must be the last query of the
program message. An error occurs if there is a
query after this query.
IM WT3001E-17EN
6.24 Common Command Group
*PSC(Power-on Status Clear)
Function
Sets whether to clear the registers below at
power on or queries the current setting. The
register is cleared when the value rounded to an
integer is a non-zero value.
• Standard event enable register
• Extended event enable register
• Transition filter
*PSC {<NRf>}
Syntax
*PSC?
<NRf> = 0 (not clear), non-zero (clear)
*PSC 1
Example
*PSC? -> 1
Description For details on the registers, see chapter 7.
*RST(ReSeT)
Function
Initializes the settings.
*RST
Syntax
*RST
Example
Description • Also clears *OPC and *OPC? commands that
have been sent earlier.
• All settings except communication settings are
reset to factory default values.
*SRE(Service Request Enable register)
Function
Sets the service request enable register or
queries the current setting.
*SRE {<NRf>}
Syntax
*SRE?
<NRf> = 0 to 255
*SRE 239
Example
*SRE? -> 175 (since the bit 6 (MSS) setting is
ignored)
Description • Specify the value as a sum of decimal values
of each bit.
• For example, specifying "*SRE 239" will
cause the service request enable register to
be set to "11101111." In this case, bit 4 of the
service request enable register is disabled
which means that bit 4 (MAV) of the status
byte register is not set to 1, even if "the output
queue is not empty."
• Bit 6 (MSS) of the status byte register is the
MSS bit itself, and therefore, is ignored.
• The default value is "*SRE 0" (all bits disabled).
• A query using *SRE? will not clear the contents
of the service request enable register.
• For details on the service request enable
register, see page 7-3.
1
2
3
4
5
6
7
App
Index
6-115

Advertisement

Table of Contents
loading

This manual is also suitable for:

Wt3002eWt3003eWt3004e

Table of Contents