2 cardinal 738 indicator, Cardinal 738 indicator – Rice Lake 920i Installation Manual V3.08 User Manual
Page 118
112
920i
Installation Manual
10.7.2
Cardinal 738 Indicator
Sample string for the Cardinal 738 indicator:
<CR><POL><wwwwww><S><SP><units><SP><G/N><SP><SP><EOL>
String recognized by the
920i
:
<CR><P><W06..><S><SP><U><SP><M><SP2><03>
Identifier
920i
Stream Format
<CR>
Carriage Return
<POL>
Cardinal uses + for positive and – for negative, so the stream polarity tokens need to reflect this. The serial
commands for the
920i
are STR.POS#p=+ and STR.NEG#p=–.
<wwwwww>
The <W06..> identifier that the
920i
recognizes indicates six digits of weight with a decimal and leading
zeroes, with the decimal sent at the end of the weight. Valid characters are W, w, G, g, T, t, N, or n (lower
case indicates left justified). W indicates current weight, G–gross weight, N–net weight, T–tare weight. /P,
/S, and /T can be used to specify primary, secondary, or tertiary units.
Minus (–) indicates sign inclusion; (0) indicates leading zeros. First digit indicates field width in characters; a
decimal point (.) indicates floating decimal point. A decimal with subsequent digit indicates fixed decimal
with n digits to the right of the decimal. Two consecutive decimals (for example, <W06..>) send the
decimal point even if it falls at the end of the transmitted weight field.
<S>
There are four possible tokens for status bits that can be used: motion, out-of-range, valid, and invalid. In
the Cardinal, m indicates motion, o indicates out-of-range; a space is used for valid or invalid weights. The
commands to set these tokens in the
920i
are STR.MOTION#p=m, STR.RANGE#p=o, STR.OK#p= ,
STR.INVALID#p= . NOTE: A space must be entered following the equals sign on the OK and INVALID
serial commands.
<SP>
Space
<units>
The Cardinal uses two-character, lower-case units identifiers. The commands to set these tokens in the
920i
include: STR.PRI#p=lb (options: kg, g, tn, t, gr, oz, or sp), STR.SEC#p=kg and STR.TER#p=kg
(options: lb, g, tn, t, gr, oz, or sp).
<SP>
Space
<g/n>
The mode used for Cardinal is g for gross and n for net. These tokens are set using the STR.GROSS#p=g
and STR.NET#p=n tokens.
<SP>
Space
<SP>
Space
<EOL>
The end of line character is an ETX in this example, so the hex value of <03> is entered in the string.
Table 10-10. Cardinal Sample String Identifiers