Tutorial
KIKUSUI Electronics Corp.
PWR-01 Interface Manual
■
STATus:QUEStionable
The STATus:QUEStionable register records events or signals that indicate abnor-
mal operation.
To check if the protection function is working, check the OV bit (bit 0) on the STA-
Tus: QUEStionable register.
STATus:QUEStionable?
'Check whether the OV bit is set
When multichannel is in use, even if bit 0 is true, you cannot tell on which channel
the overvoltage protection function has been activated. To check which channel is
operating abnormally, check the STATus:QUEStionable:INSTrument subregister.
STATus:QUEStionable:INSTrument?
'Check which channel is operating
abnormally.
All channels whose corresponding bits are true are operating abnormally. You can
determine how the specified channel is operating abnormally by checking the STA-
Tus:QUEStionable:INStrument:ISUMmary<n> subregister of the channel.
STATus:QUEStionable:INSTrument:ISUMmary2?
'Check whether the OV
bit of channel 2 is set.
■
PON (Power ON) bit
The PON bit (bit 7) in the event status register is set whenever the PWR-01 is
turned on. The most common use for the PON bit is to generate an SRQ at pow-
er-on to keep track of unexpected loss of power or power line failure. To do this,
follow the steps shown below.
1
Set *PSC (Power-on Status Clear) to 0 (or OFF).
Enable the backup function of the event status enable register and service re-
quest enable register (*PSC 0).
2
Set the PON bit (bit 7) of the event status enable register.
Permit the transmission of a power-on event to the upper layer (*ESE 128).
3
Set the ESB bit (bit 5) of the status byte enable register.
Permit the generation of an SRQ caused by a standard event (*SRE 32).
*PSC 0;*ESE 128;*SRE 32
When using the RS232C interface, the PON bit cannot be assigned to the service
request, because SRQs are not generated.
Though the SRQ feature itself is provided by communication protocol on the USB
interface or LAN (VXI-11/ HiSLIP) interface, a Connection Lost error in the VISA I/O
session occurs immediately before the power-on event. It may be difficult to handle
PON events when using the USB interface.