
6-115
IM WT3001E-17EN
1
2
3
4
5
6
7
App
Index
Communication Commands
*OPC(OPeration Complete)
Function
Sets bit 0 (OPC bit) of the standard event register
to 1 upon the completion of the specified overlap
command.
Syntax
*OPC
Example
*OPC
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.
Syntax
*OPC?
Example
*OPC? -> 1
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.
Syntax
*OPT?
Example
*OPT? ->G6,B5,FQ,DA,V1,C2,C7,C5,FL,
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.
*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
Syntax
*PSC {<NRf>}
*PSC?
<NRf> = 0 (not clear), non-zero (clear)
Example
*PSC 1
*PSC? -> 1
Description For details on the registers, see chapter 7.
*RST(ReSeT)
Function
Initializes the settings.
Syntax
*RST
Example
*RST
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.
Syntax
*SRE {<NRf>}
*SRE?
<NRf> = 0 to 255
Example
*SRE 239
*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.
6.24 Common Command Group