5-206
IM 701310-17E
*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 4-7.
• 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 If *OPC? is transmitted and the specified overlap
command is completed, ASCII code 1 is returned.
Syntax
*OPC?
Example
*OPC? -> 1
Description • For the description regarding how to synchronize
the 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,
the operation is not guaranteed.
*OPT? (OPTion)
Function Queries the installed options.
Syntax
*OPT?
Example
*OPT? -> CH6.25MW,PRINTER,ETHER,HDD,
USERDEFINE,I2C,CAN,LIN,SPI,UART,PROBEPO
WER,PANALYZE,LXIHDDETHER,LXIETHER
Description • Returns the memory model as well as the
presence/absence of the built-in printer, Ethernet,
internal hard disk, user-defined computation, I
2
C
analysis function, CAN analysis function, LIN
analysis function, SPI analysis function, UART
analysis function, power supply analysis function,
and rear panel probe power, internal hard disk +
LXI Ethernet, and LXI Ethernet.
• 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 or not 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 6.
5.32 Common Command Group
*RST (ReSeT)
Function Initializes the settings.
Syntax
*RST
Example
*RST
Description Also clears
*OPC
and
*OPC?
commands that have
been sent earlier.
*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? -> 239
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 6-2.
*STB? (STatus Byte)
Function Queries the status byte register.
Syntax
*STB?
Example
*STB? -> 4
Description • The sum of the bits is returned as a decimal value.
• Since the register is read without executing serial
polling, bit 6 is a MSS bit not RQS.
• For example, if a value of 4 is returned, this
indicates that the status byte register is set to
“00000100.” In this case, you can see that “the
error queue is not empty” (an error occurred).
• A query using
*STB?
will not clear the contents of
the status byte register.
• For details on the status byte register, see page
6-3.