4 program message structure, Table 3-4. scpi command index, 1 keyword – KEPCO MST 488 Programmer User Manual
Page 34: Program message structure -8, Keyword -8, Scpi command index -8, E 3-4)

3-8
MST488-27 013004
3.4.4
PROGRAM MESSAGE STRUCTURE
SCPI program messages consist of one or more message units ending with a terminator. The ter-
minator is not part of the syntax; it is defined by the way your programming language indicates
the end of a line. The message unit is a keyword consisting of a single command or query word
followed by a terminator (e.g., CURR?
include a data parameter after the keyword separated by a space; the parameter is usually
numeric (e.g., CURR 5
3-3 illustrates the message structure, showing how message units are combined. The following
subparagraphs explain each component of the message structure.
NOTE: An alternative to using the message structure for multiple messages defined in the fol-
lowing paragraphs is to send each command as a separate line. In this case each com-
mand must use the full syntax shown in Appendix B.
3.4.4.1
KEYWORD
Keywords are instructions recognized by a decoder within the MST 488-27 controller, referred to
as a “parser.” Each keyword describes a command function; all keywords used by the MST 488-
27 controller are listed in Figure 3-2.
TABLE 3-4. SCPI COMMAND INDEX
COMMAND
PAR.
REFERENCE
COMMAND
PAR.
REFERENCE
COMMAND
PAR.
REFERENCE
*CLS
INST:SEL, ?
STAT:QUES?
*ESE
INST:STAT
STAT:QUES:COND?
*ESE?
MEAS:CURR?
STAT:QUES:ENAB
*ESR?
MEAS:VOLT?
STAT:QUES:ENAB?
*IDN?
OUTP:[STAT]
STAT:QUES:INST[1]?
*OPC
OUTP:[STAT}?
STAT:QUES:INST2?
OPC?
[SOUR]:CURR
STAT:QUES:INST[1]:ENAB, ?
OPT?
[SOUR]:CURR?
STAT:QUES:INST2:ENAB, ?
*RST
[SOUR]:CURR:TRIG
STAT:QUES:INST:ISUM?
*SRE
[SOUR]:CURR:TRIG?
STAT:QUES:INST:ISUM:ENAB, ?
*SRE?
[SOUR]:VOLT
SYS:COMM:GPIB:ADDR
*STB?
[SOUR]:VOLT?
SYST:COMM:SER:BAUD
*TRG
[SOUR]:VOLT:TRIG
SYST:COMM:SER:ECHO
*TST
[SOUR]:VOLT:TRIG?
SYST:COMM:SER:PACE
*WAI
[SOUR]:FUNC:MODE
SYST:COMM:SER:PROM
INIT[:IMM]
STAT:OPER:COND?
SYST:ERR
INIT:CONT
STAT:OPER:ENAB
SYST:LANG
INIT:CONT?
STAT:OPER:ENAB?
SYST:SET
INST:CAT
STAT:OPER?
SYST:VERS?
INST:NSEL
STAT:PRES