Rs-232 Commands; Conventions; Setup - Hach ANATEL PAT700 Operator's Manual

On-line total organic carbon analyzer
Hide thumbs Also See for ANATEL PAT700:
Table of Contents

Advertisement

Page 26
2.7

RS-232 commands

Commands consist of 2-character, ASCII text mnemonics. Some commands require one or
more arguments, each delimited by at least one space (ASCII 32, 20
command mnemonic. Each command string is terminated by a carriage return (ASCII 13,
0D
Hex
The analyzer responds to commands with an "OK>" prompt after the command has been
processed. Data read and parameter read commands elicit a reply consisting of one or more
numeric or text values delimited by at least one space and terminated by a carriage return,
linefeed pair – "\r\n" (ASCII 13, 10; 0D, 0A
in which the number of delimiting spaces and length of each argument or data field vary. If a
command is rejected (for example, due to invalid syntax), the "OK>" prompt followed by a
question mark (ASCII 63, 3F
Normally, the analyzer transmits only in response to a specific command. For unattended
data collection, you can issue the "SA" command to make the analyzer transmit results.
You can combine multiple commands on a single line by separating them with a semicolon.
The repeat command (an exclamation point followed by a repetition count, such as "!10")
causes the previous valid command line to repeat for the specified number of times.
• To read current values for a parameter set command, enter the command without
• Every command must have a suffix with a carriage return.
• Send a carriage return without any command to see the "OK>" prompt.

Conventions

• f = Floating point number (such as 1.23, 1.23e3, –1.23, etc.)
• u = Unsigned integer from 0 to 65535
• s = ASCII text string
• YYYY mm DD = 4-digit year, month (where 1 = January and 12 = December), day of
• HH MM SS = Hours, minutes, seconds
• Any command that replies with temperature is in °C.

Setup

The PAT700 communicates at 9600 baud with no parity, 8 data bits, 1 stop bit. The analyzer
supports full-duplex communication without hardware or software handshaking. The "BD"
command can be used for temporarily increasing the baud rate to 115200 baud to reduce the
time required for downloading the data log.
• "BDu" = Set baud rate, Where u: 0 = 9600 baud or 1 = 115200 baud
• "BD" = Get baud rate, returns 0 = 9600 baud or 1 = 115200 baud
Operator Manual
).
arguments.
month (1 to 31)
Installation – PAT700 Total Organic Carbon Analyzer
). Commands and replies use a free field format,
Hex
) reply indicates the rejection.
Hex
), following the
Hex
Anatel

Advertisement

Table of Contents
loading

Table of Contents