8 stream formatting examples, 1 toledo 8142 indicator, Toledo 8142 indicator – Rice Lake 520 HMI Digital Weight Indicator Installation Manual User Manual

Page 85

Advertising
background image

79

520 Indicator Installation Manual

12.8 Stream Formatting Examples

12.8.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 520:

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

Table 12-6. Toledo Sample String Identifiers

Identifier

Description

<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 (see Table 12-5 on page 77).
NOTE: Identifiers must be entered beginning with the high-order bit (bit 7–bit 0) of the Toledo
status word.

Status Word A contains the following fields. Equivalent 520 format identifiers are shown in parentheses.
Bit 7: parity (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 (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 520 format identifiers are shown in parentheses.
Bit 7: parity (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, and T tare weight. /P and /S can be used to specify primary or secondary.

Minus indicates sign inclusion, and (0) indicates leading zeros. First digit indicates field width in
characters. Decimal indicates floating decimal point. 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.

Advertising