RS-232 Protocol
Chapter Six: RS-232 Communications Option
86
RS-232 Protocol
Messages sent to the 670 instrument are either commands that instruct the instrument to change
an operating parameter, or requests that prompt the instrument to report information.
Responses sent by the 670 instrument either acknowledge a command issued by the host
computer, or reply to a request sent by the host computer.
All messages must use a carriage return (CR) as the end-of-line delimiter. Use your
communications software on the host computer to assign a CR to the
ENTER
key.
Message Syntax
The information presented in this section applies to all RS-232 messages. The RS-232 message
syntax uses the following conventions:
bold
Messages that you must enter exactly as shown in the manual. Do not
include any spaces in the message string.
italics
Placeholder that represents text or numeric values that you must supply.
response
Format of message sent from the 670 controller.
ENTER
Represents Carriage Return (CR) that must be configured as the end-of-
line delimiter (in your communications software).
Commands
A command message sent to the 670 instrument instructs it to perform a task or change a setting.
All commands sent to the 670 instrument must have the following format:
@parameter id data
ENTER
where:
parameter
is two ASCII bytes representing the command parameter
id
is a single ASCII byte identifying the specific channel or relay,
or a ‘0’ if the command is neither a channel nor relay command
data
is a variable length ASCII field representing the new value for
the parameter
Refer to Table 21, page 90, Table 22, page 92, and Table 23, page 96, for a list of commands.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com