3-60
BOP HIPWR 031912
3.6.4
PROGRAM MESSAGE STRUCTURE
SCPI program messages (commands from controller to power supply) consist of one or more
message units
ending in a
message terminator
. The message terminator is not part of the syntax; it
is defined by the way your programming language indicates the end of a line (“newline” charac-
ter). Sending a character with EOL line asserted is another way of sending a message termina-
tor. The message unit is a keyword consisting of a single command or query word followed by a
message terminator (e.g., CURR?<newline> or TRIG<end-of-line>). The message unit may
include a data parameter after the keyword separated by a space; the parameter is usually
numeric (e.g., CURR 5<newline>), but may also be a string (e.g., OUTP ON<newline>). Figure
3-19 illustrates the message structure, showing how message units are combined. The follow-
ing 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.
FIGURE 3-19. MESSAGE STRUCTURE
3.6.4.1
KEYWORD
Keywords are instructions recognized by a decoder within the BOP, referred to as a “parser.”
Each keyword describes a command function; all keywords used by the BOP are listed in Figure
3-18.
Each keyword has a long form and a short form. For the long form the word is spelled out com-
pletely (e.g. STATUS, OUTPUT, VOLTAGE, and TRIGGER are long form keywords). For the
short form only the first three or four letters of the long form are used (e.g., STAT, VOLT, OUTP,
and TRIG). The rules governing short form keywords are presented in Table 3-21.
CURR:LEV 3.5;:OUTP ON;:CURR?<NL>
MESSAGE TERMINATOR
KEYWORD
QUERY INDICATOR
ROOT SPECIFIER
MESSAGE UNIT SEPARATOR
DATA
KEYWORD
KEYWORD
KEYWORD SEPARATOR
KEYWORD
MESSAGE UNIT SEPARATOR
DATA
MESSAGE UNIT
DATA SEPARATOR
DATA SEPARATOR
ROOT SPECIFIER
Summary of Contents for BOP-MG
Page 2: ......
Page 10: ......
Page 20: ...x BOP 1K 031912 FIGURE 1 1 HIGH POWER BOP SERIES POWER SUPPLY...
Page 37: ...BOP HIPWR 031912 1 17 FIGURE 1 3 BOP OUTPUT CHARACTERISTICS...
Page 53: ...BOP HIPWR 031912 2 15 FIGURE 2 4 PARALLEL CONFIGURATION LOCAL SENSING TYPICAL...
Page 54: ...2 16 BOP HIPWR 031912 FIGURE 2 5 PARALLEL CONFIGURATION REMOTE SENSING TYPICAL...
Page 64: ......
Page 132: ......
Page 192: ......