24
────────────────────────────────────────────────────
6.6 Delimiters
────────────────────────────────────────────────────
NOTE
NOTE
6.6 Delimiters
6.7 Separators
The term "delimiter" is used to refer to the following possibility for separating
data sequences.
The 3157 recognizes either a carriage return (CR) or a carriage return plus
linefeed (CR+LF) as delimiters.
The 3157 only begins to analyze a command after recognizing the delimiter.
(1) 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
:UNIT
_
OHM;:UPPER
_
ON;:CONFIGURE:RUPPER
_
0.100
When messages are combined in this way, if a syntax error occurs, all
subsequent messages up to the next terminater will be ignored.
(2) 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
:ADjust
_
ON
(3) Data separator
If a message has several data items, commas (,) are required as data
separators for separating these data items from one another.
Example
:KEY
_< first byte>, <second byte>
Summary of Contents for 9593-02
Page 2: ......
Page 6: ...ii Introduction...
Page 16: ...10 2 3 Specifications...
Page 76: ...70 8 1 Sample program Flowchart...
Page 86: ...80 8 2 Sample programs...
Page 88: ...82...
Page 89: ......
Page 90: ......
Page 91: ......
Page 92: ......