7 stream formatting examples, 1 toledo 8142 indicator, Toledo 8142 indicator – Rice Lake 920i Installation Manual V3.10 User Manual

Page 118: Format. see section 10.7 on

Advertising
background image

112

920i

Installation Manual

10.7 Stream Formatting Examples

10.7.1

Toledo 8142 Indicator

Sample string for Toledo 8142 indicator (with no checksum):

<STX><Status Word A><Status Word B><Status Word C><wwwwww><tttttt><EOL>

String recognized by the

920i

:

<02><B2, B0, B1, B13, B17><B2, B0, B1, B8, B5, B7, B6, B3><B2, B0, B1, B0, B0, B0, B0, B0><W06><T06><CR>

Identifier

920i

Stream Format

<STX>

The STX character is entered into the string using the <02> hex value.

<Status Word A>

Toledo status words are made up of various bit fields which are replaced by the

920i

format identifiers

listed in Table 10-8 on page 109.

NOTE: Identifiers must be entered beginning with the high-order bit (bit 7–bit0) of the Toledo status
word.

Status Word A contains the following fields. Equivalent

920i

format identifiers are shown in parentheses.

Bit 7: parity (

920i

bit field B2)

Bit 6: always 0 (B0)
Bit 5: always 1 (B1)
Bits 3–4: display divisions (B13)
Bits 0–2: decimal format (B17)

<Status Word B>

Status Word B contains the following fields. Equivalent

920i

format identifiers are shown in

parentheses.
Bit 7: parity (

920i

bit field B2)

Bit 6: always 0 (B0)
Bit 5: always 1 (B1)
Bit 4: lb/kg units (B8)
Bit 3: stable/motion (B5)
Bit 2: in/out-of-range (B7)
Bit 1: pos/neg (B6)
Bit 0: gross/net (B3)

<Status Word C>

Status Word C contains the following fields. Equivalent

920i

format identifiers are shown in

parentheses.
Bit 7: parity (

920i

bit field B2)

Bit 6: always 0 (B0)
Bit 5: always 1 (B1)
Bits 0–4: always 0 (B0)

<wwwwww>

The <W06> and <T06> indicate six digits of indicated weight and tare weight with leading zeroes. 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.

<tttttt>

Tare weight. See description above.

<EOL>

<CR> is entered at the end of the string as the end of line character in this example.

Table 10-9. Toledo Sample String Identifiers

Advertising