Receiving data, Serabr, Prnopt – Red Lion C48C User Manual
Page 38
![background image](/manuals/408875/38/background.png)
It is recommended that a “Transmit Value” command follow a “Change
Value” Command. If this is done, the reception of the data can provide a timing
reference for sending another command and will ensure that the change has
occurred. When a “Change Value or Reset Value” command is sent to the C48,
there is time required for the unit to process the command string. The diagrams
show the timing considerations that need to be made.
Receiving Data
Data is transmitted from the C48C when a “T” Transmit Value or a “P”
Transmit Print Options command is sent to the unit via the serial port or when
a User Input, programmed for the Print Request function, is activated. The
C48C will wait a minimum of 100 msec and then begin transmissions. The
C48C can also be programmed to transmit mnemonics. The format for a typical
transmission string with mnemonics is shown below:
The first two digits transmitted are the unit address followed by one blank
space. The next three characters are the mnemonics followed by three or more
blank spaces. The numerical data value is transmitted next. The decimal point
position will “float” within the data field depending on the actual value it
represents. The numeric data is right justified without leading zeros.
When a “T” command or print request is issued, the above character string is
sent for each line of a block transmission. An extra
transmitted following the last line of transmission from a print request, to
provide separation between print outs.
If serial is abbreviated (
SErAbr
=
YES
), just numeric data is sent with no
time delay. If the C48C transmits mnemonics, there is a 400 msec built-in time
delay after each transmission string when “P” command or a Print Request is
issued. When interfacing to a printer, sending mnemonics is usually desirable.
Examples of transmissions are shown below:
3 P2 6732.5
6732.5
The various Print Options are used with a printer or a Computer Terminal.
They provide a choice of which C48C data values are to be printed, when either
the User Input, programmed for the print request function is activated, or a “P”
(Transmit Print Options) command is sent to the C48C via the serial port. See
Print Options, page 27, for the available options.
Print outs from a C48C unit with an address of 1 and the following print
options are shown below:
-32-
DUAL
PrnOPt
=
7
6000
4000
5000
100
1.00000
5000
1.00000
4000
54
54
Figure 14, Transmission String
1 P3
1 P1
1 P2
1 CT2
1 PSC
1 P2
1 P1
1 CT1
BATCH
PrnOPt
=
15
1 CT1
1 PSC