beautypg.com

2 cardinal 738 indicator, Cardinal 738 indicator – Rice Lake 920i USB Installation Manual V5.05 User Manual

Page 127

background image

Appendix

121

11.7.2

Cardinal 738 Indicator

Sample string for the Cardinal 738 indicator:

<wwwwww><units>

String recognized by the 920i:

<S><03>

Table 11-10. Cardinal Sample String Identifiers

Identifier

920i Stream Format

Carriage Return

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 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, ) send the
decimal point even if it falls at the end of the transmitted weight field.

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.

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).

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.

Space

Space

The end of line character is an ETX in this example, so the hex value of <03> is entered in the string.