1 scpi messages, 2 common commands/queries, 3 scpi subsystem command/query structure – KEPCO MST 488 Programmer User Manual
Page 33: Scpi messages -7, Common commands/queries -7, Scpi subsystem command/query structure -7

MST488-27 013004
3-7
3.4.1
SCPI MESSAGES
There are two kinds of SCPI messages: program messages from controller to power supply,
and response messages from the power supply to the controller. Program messages consist of
one or more properly formatted commands/queries and instruct the power supply to perform an
action; the controller may send a program message at any time. Response messages consist of
formatted data; the data can contain information regarding operating parameters, power supply
state, status, or error conditions.
3.4.2
COMMON COMMANDS/QUERIES
Common commands and queries are defined by the IEEE 488.2 standard to perform overall
power supply functions (such as identification, status, or synchronization) unrelated to specific
power supply operation (such as setting voltage/current). Common commands and queries are
preceded by an asterisk (*) and are defined and explained in Appendix A (see Table 3-4). Refer
also to syntax considerations (PARs 3.4.3 through 3.4.6).
3.4.3
SCPI SUBSYSTEM COMMAND/QUERY STRUCTURE
Subsystem commands/queries are related to specific power supply functions (such as setting
output voltage, current limit, etc.) Figure 3-2 is a tree diagram illustrating the structure of SCPI
subsystem commands used in the MST 488-27 controller with the “root” at the left side, and
specific commands forming the branches. The subsystem commands are defined and
explained in Appendix B (see Table 3-4).
FIGURE 3-2. TREE DIAGRAM OF SCPI COMMANDS USED WITH MST 488-27 CONTROLLER
INITiate
[:IMMediate]
:CONTinuous
INSTrument
:CATalog
:NSELect
:SELect
:STATe
MEASure
:CURRent?
:VOLTage?
OUTPut
[:STATe]
[SOURce:]
VOLTage
[:LEVel]
[:IMMediate]
:TRIGgered
CURRent
[:LEVel]
[:IMMediate]
:TRIGgered
FUNCtion
:MODE
ROOT : (colon)
STATus
:OPERation
:CONDition?
:ENABle
[:EVENt]?
:PRESet
:QUEStionable
:CONDition?
:ENABle
[:EVENt]?
:INSTrument?
:ENB
:ISUM
:INSTrument1?
:ENB
:INSTrument2?
:ENB
SYSTem
:COMMunication
:GPIB:ADDRess
:SERial
:BAUD
:ECHO
:PACE
:PROM
:ERRor?
:CODE?
:ALL?
:LANGuage
:SET
:VERSion?