General Serial Communication Commands - Ametek Dycor CG1000-RTP User Manual

Table of Contents

Advertisement

General Serial Communication Commands

This section provides general serial communication commands. Program-
ming commands and factory setup commands are provided later in this
chapter. Normally you will use these general serial communication com-
mands.
Read Number (F)
Read the value of a variable stored in the CG1000-RTP.
The data section of this command is a number from 00-FF. These numbers
correspond to the type of variable you want to read. The Variable Table
shown in Figure A-3 provides a list of these variables and their location
codes. If a variable is selected beyond the end of the Variable Table shown,
an error will be returned. The value returned is followed by a text string
for the units, where applicable.
Example:
Request oxygen with the following string: >>00F080E
Returned string : A20.9 %O2D4
Write Number (H)
Set a value at the CG1000-RTP.
The data section of this command is a two-digit hex number (00-FF) to
point to the location to write from the Variable Table (Figure A-3), fol-
lowed by the value of the variable. A simple acknowledge is returned if
the command was accepted.
Read Date and Time (M)
Read the dates and times stored in the CG1000-RTP.
The data consists of a single digit where:
• 0 is used to read the current date and time,
• 1 is used to read the date and time of the last calibration, and
• 2 is used to read the date and time of the last verification.
Date and time is returned as mm/dd/yy hh:mm in 24 hour (military) time.
Set Date and Time (N)
Set the CG1000-RTP current date and time.
The data string is of the form: mm/dd/yy hh:mm in 24 hour (military)
time. Leading zeroes are required, for example: 03/18/93 20:02.
|
Serial Communications
A-3

Advertisement

Table of Contents
loading

Table of Contents