Anatel A643a - Serial Communications 149 of 220
RPS - June 2007 - Edition 12
Anatel Operator Manual
12.3 Anatel A643a Command Set
Serial interface commands consist of Mode Set, Parameter Set, Data Read, Data Logger and
Data History functions. The commands consist of twocharacter ASCII text mnemonics. Some
commands also require one or more arguments, each delimited by at least one space (ASCII
32; 20 Hex), followed by the command mnemonic. Each command string is terminated with a
carriage return (ASCII 13; 0D Hex).
Anatel A643a Analyzers respond to either uppercase or lowercase commands.
The Anatel A643a Analyzer will respond with an “OK>” prompt after the command has been
accepted. In addition, Data Read and Parameter Set commands elicit a reply that consists of
one or more numeric or text values, each delimited by at least one space, and terminated by a
carriage return, linefeed pair (ASCII 13,10; 0D,0A Hex).
Both commands and replies use a “free field” format, so the number of delimiting spaces and
length of each argument or data field may vary. If a command is rejected due to invalid syntax,
for instance, refusal is indicated by a question mark (ASCII63; 3F Hex) reply preceding the
“OK>” prompt.
The notations used to represent command arguments below are as follows:
12.3.1 Mode Set Commands
The Mode Set commands are used to determine the instrument’s operational mode.
hh:mm:ss hours:minutes:seconds
n decimal number (e.g., “1.234)
i integer (e.g., “1”)
s text string (e.g., “SENSOR_NAME”)
b binary flag (“1” or “0”)
Table 12-1 : Mode Set Commands
Command Function Comment
MC Self-Clean Mode Valve open, lamp on.
MD Auto TOC Mode Continuous TOC analyses.
ME Clear Code Log Erases Codes from memory.
MO i Start TOC Analysis One or more TOC analyses, then goes to Idle State. The default is
one analysis cycle if an argument (“i”) is not specified.
MP Purge Mode Valve open, lamp off, shows resistivity/conductivity and temperature.
MZ Idle State Places the Analyzer in the Idle State (if present).