6 data formats, Character is, A, k, p, r, i, n, t – Rice Lake 720i Programmable Indicator/Controller - Installation Manual User Manual
Page 112

106
720i Installation Manual
11.6
Data Formats
Continuous Output Serial Data Format
If continuous transmission is configured for a serial
port (STREAM parameter set to LFT or INDUST on
the SERIAL menu), the
720i
sends data using the
Consolidated Controls serial data format shown in
Figure 11-1.
ASCII 02
decimal
Polarity:
<space> = Positive
<–> = Negative
Weight: 7 digits, right-justified, dummy
zeroes, decimal point with no leading
zeroes except for leading zero immediately
preceding the decimal point. Leading
zeroes transmitted as spaces.
L = pounds
K = kilograms
T = tons
G = grains
O = ounces
G = Gross
N = Net
Status:
<space> = valid
I = Invalid
M = Motion
O = Over/under range
Z = COZ
or
Figure 11-1. Continuous Output Serial Data Format
Demand Output Serial Data Format
When demand mode is configured for the serial port
(STREAM parameter set to OFF), the
720i
uses a data
string formatted for a basic ticket printout. The
particular ticket format printed depends on the
indicator configuration.
You can customize the ticket to work with a wide
variety of printers, scoreboard displays, and other
remote equipment. See Section 6.0 on page 52 for
more information on custom print formats.
RS-485 Data Formats
Four-wire RS-485 communications is supported on the
“A” ports of any installed serial expansion card.
The RS-485 software protocol is enabled when you
assign a non-zero address to the indicator. Valid
RS-485 addresses must be in the range 1–255; the
address is specified on the ADDRESS parameter on the
SERIAL menu.
All remote commands are initiated using the data
format shown in Figure 11-2.
ASCII 02
decimal
Address of the
r eceiving indicator
EDP serial command
NOTE: Host must send
renders all indicators unable to
respond to serial commands
ASCII
13 decimal
Figure 11-2. RS-485 Send Data Format
If the initiating device address matches the port address
of an
720i
on the RS-485 network, that indicator
responds. For example, with demand outputs, or in
response to a KPRINT command, the responding
indicator uses the format shown in Figure 11-3.
ASCII 02
decimal
Addr ess of the
transmitting indicator
Response commands from
indicator:
< first line >
< additional lines >
< last line >
where EOL =
(set by TERMIN parameter on the
SERIAL menu)
ASCII 13
decimal
ASCII 03
decimal
Figure 11-3. RS-485 Respond Data Format
Example:
To send the KPRINT command from an
ASCII terminal to an indicator at address 65 (decimal)
on the RS-485 network, use the format shown in
Figure 11-2.
•
The keyboard equivalent for the start-of-text
(
STX
) character is
CONTROL-B
.
•
The indicator address (65) is represented by an
upper case “A”.
•
The carriage return (CR) character is generated
by pressing the
Enter
key.
Therefore, to send the KPRINT command to the
indicator at address 65, enter the following at the
terminal:
CONTROL-B
, A, K, P, R, I, N, T,
ENTER
.
The indicator responds with the format shown in
Figure 11-3:
SCALE #1
GROSS 1699 LB
01/14/2008 10:05 AM