Motorola LS6000B-U Guía de usuario Pagina 145

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 180
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 144
LS 6000 Scintillation System User’s Manual
PN 247971-F
c-3
RS232
RS232 Data Output
c
<Length> is one printable ASCII character (Hex 20 through 7E or the decimal equivalents
32-126).
The message length includes all characters in the message except <SOH>, <Length>, <CR>
and <LF>. The maximum number of characters on one line is 96, or 94 after <Length>.
Message Length is obtained by subtracting 20 Hex from the <Length> character. For example,
a message with 5 characters would have <Length>
=
<Sequence Number> numbers each message line serially with ASCII characters starting with
<Space>, and ending with
<Message Type> is one printable ASCII character. It identifies the purpose of the message or
its contents as described by the codes in Figure c.2.
<Data Item>
= <Data ID> <Data Type> <Space> <Data Value>
Data ID, type and value are printable ASCII characters as defined below. Data IDs are three
digit numbers and
are listed in Figure c.5 at the end of this section. There are six Data Types
coded by a single letter as defined in Figure c.3.
One or more data items or no data items can be present in a single message. Multiple data
items are separated by semi-co-lons.
Checksum—The checksum is a printable ASCII character, Hex 20 through 7E (or decimal
equivalents 32-126). It is always the lowest two hexadecimal digits of the sum of the ASCII
values of all the characters in the message except <SOH>, <Checksum>, <CR> and <LF>. The
decimal value of the checksum may be computed from the transmitted ASCII characters as:
(ASCII Character of the first value-20 Hex)*64
+ (ASCII Character of the second value-20
Hex).
Carriage Return (CR) is OD, Hex (or 13 decimal). Line Feed (LF) is OA, Hex (or 10,
decimal). Each line closes with CR, LF.
File Header/End of File (F/Z)—During an RS232 session, the LS will indicate the beginning
and end of groups of data with the File Header, F, and the End of File, Z, messages. The File
Figure c.2 Codes for Message Type.
Message Code Purpose/Contents of the Message
DData
E Error
S Send Initiate (Start of Session)
B Break Transmission (End of Session)
F File Header
Z End of file
File Headers are identical in the Datum ID Table.
Vista de pagina 144
1 2 ... 140 141 142 143 144 145 146 147 148 149 150 ... 179 180

Comentarios a estos manuales

Sin comentarios