161
_____________________________________________________________________________________________
10.1 RS-232C Interface
______________________________________________________________________________________________
(5) Separators
①
Message unit separator
A semicolon (;) is used as a message unit separator when it is desired to set
out several messages on a single line.
Example: :WITHstand:CLOWer ON;:CONFigure:WITHstand:CLOWer 10
②
Header separator
In a message which has a header and data, a space (represented by " " in the
examples) is used as the header separator to separate the header from the
data.
Example: :MODE MWITH
③
Data separator
If a message has several data items, commas (,) are required as data
separators for separating these data items from one another.
Example: :PROGram:EDIT:FILE 5,1
(6) Abbreviation of Compound Commands
When several compound commands have a common head portion (for
example, :
CONFigure
), then, when and only when writing them directly
following on from one another, this common portion (for example,
:
CONFigure
) can be omitted from each command except for the first one.
This common portion is called "the current path", by analogy with the
general concept of the current directory in the directory structure of UNIX or
MSDOS, and until it is cleared the analysis of following commands is
performed by deeming them to be preceded by the current path which has
been curtailed in the interests of brevity. This manner of using the current
path is shown in the following example:
Normal expression
CONFigure:WITHstand:CUPPer 10;:CONFigure:WITHstand:CLOWer 1.0
Abbreviated expression
CONFigure:WITHstand:CUPPer 10;CLOWer 1.0
The current path is cleared when the power is turned on, when a colon (:)
appears at the start of a command, and when a delimiter is detected.
Messages with particular headers can be executed without relation to the
current path. Further, they have no effect upon the current path.