Chapter Six: RS-232 Communications Option
RS-232 Protocol
87
Requests
A request message sent to the 670 instrument causes it to send back information. All requests
sent to the 670 instrument use the same basic format as commands:
@parameter id ?
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
?
is a ‘?’ to request the current setting of the parameter
Note
The data entry is a ? to identify the message as a request rather than a
command.
Responses
All RS-232 messages sent to the 670 instrument initiate a response.
Response to a Command
The response to a command will follow the format listed below:
status parameter id data <CR>
where:
status
‘@’ command accepted
‘>’ parameter value is unrecognized
‘?’ data field value invalid
‘=’ command is inappropriate
parameter
is identical to the parameter field of the command received
id
is identical to the id field of the command received
data
is identical to the data field of the command received
Note
The parameter, id, and data fields in the response will be identical to the
parameter, id, and data fields contained in the command received by the
670 instrument.
Table 20, page 88, shows the response and the cause for rejected commands.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com