
LS 6000 Scintillation System User’s Manual
PN 247971-F
c-2
RS232
RS232 Data Output
When XOFF is received, data transmission stops until an XON is received. Data transmission
starts automatically after 30 minutes have elapsed unless XON is sent prior to that time. If the
printer is not ON after the 30 minute time out, the LS counter itself stops.
There is no ACK/NAK (acknowledge/no acknowledge) or re-transmit protocol in the data
output mode.
CTS and DTR are used as handshake lines as summarized in Figure c.1
. Note that the output
lines DSR and DCD are always held high by the LS.
c.3 RS232 Data Output
General Format of Messages
The basic unit of transmission is a message of up to 96 characters terminated by a carriage
Return-Line Feed (CR,LF). Each message contains a code to identify the type of message
being sent. If the message contains data, each data item is coded to identify the particular
datum being sent followed by its actual value. The actual value may be boolean, an integer, a
real number or text depending upon the specific datum.
RS232 Session: Definition and Message Format
The LS signals the start of any operation that involves RS232 transmission by sending a Send
Initiate message, message Type S. If the LS is terminating RS232 transmission, then it sends a
Break Transmission message, message Type B. These messages require no response by the
external device. The period between Send Initiate and Break Transmission messages is called
an RS232 Session.
During an R5232 Session involving Output, a specific format is used for messages as given
below.
<Message>
= <SOH> <Length> <Sequence Number><Message Type>{<Data
Item>{<Seml-colon> <Data Item>}) <Checksum> <CR> <LF>
where <Data Item>
= <Data ID> <Data Type> <Space> <Data Value>
Each item of the message is explained in the following para-graphs.
<SOH>, Start of Message
<SOH>
= Control-A (Hex 01 or ASCII decimal 1)
8* DCD Signal Ground
20 DTR Output
*These lines are held high by
the instrument.
Input (Handshake)
Figure c.1 RS232 Pin Designation.
Pin Number Signal Name Direction
Comentarios a estos manuales