beautypg.com

Table 3-5. rules governing shortform keywords, Figure 3-3. message structure, Message structure -9 – KEPCO MST 488 Programmer User Manual

Page 35: Rules governing shortform keywords -9, 3 il

background image

MST488-27 013004

3-9

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-5.

You must use the rules described in Table 3-5 when using keywords. Using an arbitrary short
form such as ENABL for ENAB (ENABLE) or IMME for IMM (IMMEDIATE) will result in an error.
Regardless of which form chosen, you must include all the letters required by that form.

To identify the short form and long form in this manual, keywords are written in upper case let-
ters to represent the short form, followed by lower case letters indicating the long form (e.g.,
IMMediate, EVENt, and OUTPut). The parser, however, is not sensitive to case (e.g., outp,
OutP, OUTPUt, ouTPut, or OUTp are all valid).

FIGURE 3-3. MESSAGE STRUCTURE

TABLE 3-5. RULES GOVERNING SHORTFORM KEYWORDS

IF NUMBER OF LETTERS IN

LONGFORM KEYWORD IS:

AND FOURTH LETTER

IS A VOWEL?

THEN SHORT FORM

CONSISTS OF:

EXAMPLES

4 OR FEWER

(DOES NOT MATTER)

ALL LONG FORM LETTERS

MODE

5 OR MORE

NO

THE FIRST FOUR

LONG FORM LETTERS

MEASure, OUTPut, EVENt

YES

THE FIRST THREE

LONG FORM LETTERS

LEVel, IMMediate, ERRor

CURR:LEV 3.5;:OUTP ON;:CURR?

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