Teledyne API Model 401 O
3
Photometric Calibrator Instruction Manual, 01124, Rev. J2
7 RS-232 COMMUNICATIONS
The Model 401 Photometric Calibrator features a powerful RS-232 interface which is used both
for reporting test results and for controlling the Photometer from a host computer. Because of the
dual nature of the RS-232 interface, the message format has been carefully designed to
accommodate both printers and host computers.
All message outputs from the Model 401 Photometric Calibrator have the following format:
"X DDD:HH:MM IIII MESSAGE<CRLF>"
The "X" is a character indicating the message type (see Table 7-1).
Table 7-1: RS-232 Message Types
Character Message Type
R DAS Report
W Warning
C Control/Status
D Diagnostic
T Test Measurement
V Variable Value
? HELP Screen
The "DDD:HH:MM" is a time-stamp indicating the day-of-year ("DDD") as a number from 1 to
366, the hour of the day ("HH") as a number from 00 to 23, and the minute ("MM") as a number
from 00 to 59.
The "IIII" is a 4-digit Analyzer I.D. number.
The "MESSAGE" field contains variable information such as warning messages, test
measurements, DAS reports, etc.
The "<CRLF>" is a carriage return-line feed combination which terminates the message and also
makes the messages appear neatly on a printer.
The uniform nature of the output messages makes it easy for a host computer to parse them.
Input messages to the Model 401 have a format which is similar to that for output messages:
"X COMMAND<CRLF>"
7-1