YOKOGAWA WT1800 User Manual page 135

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

Advertisement

*OPC?
Function
Returns ASCII code 1 if the specified overlap
command has finished.
*OPC?
Syntax
*OPC? -> 1
Example
Description • For information about how to synchronize a
program using *OPC, see page 4-8.
• The COMMunicate:OPSE command is used to
specify the overlap command.
• If *OPC? is not the last command of the
message, its operation is not guaranteed.
*OPT?
Function
Queries the installed options.
*OPT?
Syntax
*OPT? -> EX6,B5,G5,DT,FQ,V1,DA,MTR
Example
Description • Returns the presence of the following options:
the external current sensor input option (EX1
for the WT1801, EX2 for the WT1802, EX3 for
the WT1803, EX4 for the WT1804, EX5 for the
WT1805, and EX6 for the WT1806), the built-
in printer (B5), the harmonic measurement
option (G5), the simultaneous dual harmonic
measurement option (G6), the delta
computation option (DT), the add-on frequency
measurement option (FQ), the RGB output
option (V1), the 20-channel D/A output option
(DA), the motor evaluation function (MTR), the
auxiliary input option (AUX), and high speed
data capturing option (HS).
• If none of the options are installed, ASCII code
0 is returned.
• The *OPT? query must be the last query of a
program message.
An error occurs if there is a query after the
*OPT query.
*RST
Function
Initializes the settings.
*RST
Syntax
*RST
Example
Description • Also clears *OPC and *OPC? commands that
have been sent.
• All settings except communication settings are
reset to their factory default values.
IM WT1801-17EN
5.23 Common Command Group
*SRE
Function
Sets or queries the service request enable
register.
*SRE {<NRf>}
Syntax
*SRE?
<NRf> = 0 to 255
*SRE 239
Example
*SRE? -> 175 (because the bit 6,
MSS, setting is ignored)
Description • Specify the value as a sum of the values of
each bit in decimal format.
• For example, specifying *SRE 239 will cause
the standard enable register to be set to
11101111.In this case, bit 4 of the service
request enable register is disabled. This 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 is therefore 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 information about the service request
enable register, see page 6-3.
*STB?
Function
Queries the status byte register.
*STB?
Syntax
*STB? -> 4
Example
Description • A sum of the values of each bit is returned as a
decimal value.
• Because the register is read without executing
serial polling, bit 6 is an MSS bit, not an RQS
bit.
• For example, if a value of 4 is returned, this
indicates that the status byte register is set to
00000100.This means that the error queue is
not empty (in other words, an error occurred).
• A query using *STB? will not clear the contents
of the status byte register.
• For information about the status byte register,
see page 6-3.
*TRG
Function
Executes single measurement (the same
operation as when SINGLE is pressed).
*TRG
Syntax
*TRG
Example
Description A multi-line message GET (Group Execute
Trigger) will perform the same operation as this
command.
1
2
3
4
5
6
App
Index
5-103

Advertisement

Table of Contents
loading

Table of Contents