106
────────────────────────────────────────────────────
8.4 Command Reference
────────────────────────────────────────────────────
8.4.1 Standard Commands
■ Clears the status byte register and the event registers.
Syntax
*CLS
Function
This instruction clears the event registers and the bits of the status byte register
associated with that register (SESR, ESR0, ESR1, ESR2, RS232c:ERRor).
Note
This has no effect upon the output queue, the various enable registers, or bit 4
(the MAV bit) of the status byte register.
Error
This command is executed even in the event of a system error.
■ Sets the standard event status enable register. (Refer to Section 8.3.13.)
Syntax
*ESE_<NR1>
<NR1>
0to255
Function
・
This instruction sets the standard event status enable register (SESER) to a bit
pattern which is used to mask the standard event status register (SESR).
・
The decimal fraction is rounded (rounding up a final 5).
128 64 32 16 8 4 2 1
bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0
PON URQ CME EXE DDE QYE RQC OPC
Standard Event Status Enable Register (SESER)
Note
When the power is turned on, and when a reset has taken place upon key
input, the data is reinitialized to 0.
Errors
・
Execution error/ If the setting data is outside of the range.
・
Command error/ If the setting data is not in NRf format.
・ System error/ This command is not executed. A device dependent error occurs.
Example
Transmission
"*ESE 36"
Bits 2 and 5 of SESER are set to 1.
*
CLS
*
ESE