2 - 1
2 RECEIVING FUNCTIONS
Chapter 2 RECEIVING FUNCTIONS
This chapter describes the program set commands and program control commands.
Remember first to open a device by invoking the ESC O command before the set or
control commands can be sent.
2.1 General Rules for Commands
A command is represented by ASCII codes and consists of an identifier, parameters,
delimiters and a terminator.
Example: SR01, VOLT, 20 mV, 0, 10000 terminator
Parameters
Identifier
Identifier
• Defined by two alphabetical, capital letters.
Parameters
• Parameters must be separated by a delimiter (comma).
• Numeric data are displayed as integers (e.g., +20, -240).
• When parameters are numeric, the effective setting ranges depend on these
parameters.
• Spaces preceding and following a parameter and spaces within a parameter are
ignored. Spaces within a parameter specified by ASCII characters (engineering units,
tags, and messages) are valid.
• Parameters which do not need to be changed do not need to be specified. (E.g., the
command “SR01,, 20mV” leaves the mode unchanged.)
• A string of delimiters at the end of the command/parameter string may be omitted
(see the example below).
Example: The last four commas of
SR01, VOLT,,,,
can be omitted.
• The lengths of the following parameters are fixed. If the length differs, a syntax error
occurs.
- Date and time: YY/MM/DD (8 characters)
HH:MM:SS (8 characters)
- Channel: CC (2 characters). For example, channel 1 must be entered as
“01.”
Terminator
A command must end with either of the following terminators:
CR + LF
or,
LF
For the open (ESC O) and close (ESC C) commands, only CR+LF can be used.
2.1 General Rules for Commands