2 operational status register, 3 questionable status register, 8 scpi program examples – KEPCO KLP Series (older -1200 models) Operator Manual User Manual
Page 68: Operational status register -28, Questionable status register -28, Scpi program examples -28
3-28
KLP073008
3.6.7.2
OPERATIONAL STATUS REGISTER
The OPERational condition register contains conditions which are a part of the instrument’s nor-
mal operation. The definition of each of these bits (condition register) is as follows:
• 1 through 4 - Not Used — always zero.
• 5 - Waiting for Trigger Summary — 1 indicates the unit is waiting for trigger
• 6 and 7 - Not Used — always zero.
• 8 - Constant Voltage — 1 indicates the instrument is in constant voltage mode.
• 9 - Not Used — always zero.
• 10 - Constant Current — 1 indicates the instrument is in constant current mode.
• 11 through13 - Not Used — always zero.
• 14 - PROGram Running — 1 indicates the program is running.
• 15 - Not Used — always zero.
3.6.7.3
QUESTIONABLE STATUS REGISTER
The QUEStionable condition register (see Figure 3-4) contains status bits representing data/sig-
nals which give an indication of the quality of various aspects of the signal.
A bit set in the QUEStionable condition register indicates that the data currently being acquired
or generated is of questionable quality due to some condition affecting the parameter associ-
ated with that bit.
• 0 - Overvoltage Error — 1 indicates an overvoltage fault has been detected.
• 1 - Overcurrent Error — 1 indicates an overcurrent fault has been detected.
• 2 - Power Lead Error — 1 indicates that sense lead connections are not complete.
• 3 - Overtemperature Error — 1 indicates a thermal error has been detected.
• 4 - Input Power Error — 1 indicates input mains error.
• 5 - Fan Error — 1 indicates inoperative fan.
• 6 - 15 Not Used — always zero.
3.6.8
SCPI PROGRAM EXAMPLES
Refer to Appendix B, Figures B-1 through B-7 for examples illustrating the use of SCPI com-
mands.
Figure 3-5 is an example of a program using SCPI commands to program the KLP Power Sup-
ply. The program illustrated is for a configuration using an IBM PC or compatible with a National
Instruments GPIB interface card. (It will be necessary to consult the manufacturer’s data to
achieve comparable functions with an interface card from a different manufacturer.) This pro-
gram sets output voltage (Voltage mode) or voltage limit (Current mode) to 5V, and current limit
(Voltage mode) or output current (Current mode) to 1A, then reads the measured (actual) volt-
age and current, then prints the measurements.