Table 4-4. Default Power On Register States
Register | Condition | Caused By |
Operation PTR; Questionable PTR | All bits = 1 | STAT:PRE |
Operation NTR; Questionable NTR | All bits = 0 | STAT:PRE |
Operation Event; Questionable Event | All bits = 0 | *CLS |
Operation Enable; Questionable Enable | All bits = 0 | STAT:PRE |
Standard Event Status Enable | All bits = 01 | *ESE 0 |
Status Byte | All bits = 0 | *CLS |
Status Request Enable | All bits = 01 | *SRE 0 |
Output Queue | Cleared | *CLS |
1If PSC=1. If PSC = 0, then the last previous state before turn on is recalled. The value of PSC is stored in nonvolatile memory.
The PON (Power-On) Bit
The PON bit in the Standard Event register is set whenever the power supply is turned on. The most common use for PON is to generate an SRQ at power on following an unexpected loss of power. To do this, bit 7 of the Standard Event Enable register must be set so that a
*ESE 128 *SRE 32
If *PSC is programmed to 0, the contents of the Standard Event Enable and Service RequestEnable registers are saved in nonvolatile memory and recalled at power on. This allows a PON event to generate SRQ at power on. Programming *PSC to 1 prevents these registers from being saved and they are cleared at power on. This prevents a PON event from generating SRQ at power on.
Examples
Note | These examples are generic SCPI commands. See "Chapter 2 - Remote Programming" for |
| information about encoding the commands as language strings. |
|
|
Servicing an Operation Status Mode Event
This example assumes you want a service request generated whenever the power supply switches to the CC (constant current) mode. From Figure
Status Reporting 55