EasyManua.ls Logo

red lion C48C - Receiving Data

red lion C48C
56 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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 <SP><CR><LF> is
transmitted following the last line of transmission from a print request, to
provide separation between print outs.
If serial is abbreviated ( = ), 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<CR><LF> Mnemonics Sent
6732.5<CR><LF> NO Mnemonics Sent
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-
TRANSMIT
VALUE
COMMAND
COMMAND
STRING
TRANSMITTED
@
BAUD RATE
C48
PROCESS
TIME
C48
IN RECEIVE
MODE
50 msec
SERIAL
TRANSMIT
DELAY
C48
TRANSMITS
VALUE
@
BAUD RATE
MAX.
100 msec
or
PRINT REQUEST
CHANGE
TO RECEIVE
MODE
100 msec
MAX.
12 345678 10 11 12 13 14 15 16 17 18
3
Blank
CT1 123456 CR LF
UNIT
A
DDRESS
MNEMONICS
DECIMAL POINT
SIX DIGITS
CARRIAGE RETURN
LINE FEED
BLANK
SPACE
9
Blank
Blank
Blank
SPACE
BLANK
DUAL  =
6000
40005000
1001.00000
5000
1.000004000
54 54
CHANGE
VALUE
COMMAND
COMMAND
STRING
TRANSMITTED
@
BAUD RATE
C48
PROCESS
TIME
C48
IN RECEIVE
MODE
50 msec
MAX.
Figure 14, Transmission String
1 P3
1 P11 P2
1 CT21 PSC
1 P2
1 P1
1 CT1
BATCH  = 
1 CT1
1 PSC

Table of Contents

Related product manuals