7 custom stream formatting – input/output, Section 10.7, See section 10.7 – Rice Lake 880 Performance Series Indicator/Controller Technical/Service Manual User Manual

Page 105: E section 10.7

Advertising
background image

Appendix

99

Example:

To send the XG#1 command from an ASCII terminal to an indicator at address 65 (decimal) on the

RS-485 network, use the format shown in Figure 10-2.

The keyboard equivalent for the start-of-text (

STX

) character is

CONTROL-B

(see Table 10-10 on

page 105).

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 XG#1 command to the indicator at address 65, enter the following at the terminal:

<C

ONTROL

-B>AXG#1<CR>

The indicator will respond with <STX>A 1234.00 lb<CR><LF><ETX><CR>, gross weight and units. See

Section 6.0, for other commands that can be used.

10.7 Custom Stream Formatting – Input/Output

The format of the streamed data can be configured for the COM, USBCOM, Ethernet Server and Ethernet Client

ports individually through the front panel using the tokens in Table 10-6. Configuration is available for stream
input/output tokens through EDP commands only; no front panel access is provided.

Format Identifier

Defined By

Description

<P[G | N | T]>

STR.POS
STR.NEG

Polarity. Outputs the positive or negative polarity label for the current or
specified (Gross/Net/Tare) weight on the source scale. Possible values are
SPACE, NONE, + (for STR.POS), or – (for STR.NEG)

<U[P | S | T]>

STR.PRI
STR.SEC
STR.TER

Units. Outputs the primary, secondary, or tertiary* units label for the current or
specified (Primary/Secondary/Tertiary*) weight on the source scale.

<M[G | N | T]>

STR.GROSS
STR.NET
STR.TARE

Mode. Outputs the gross, net, or tare label for the current or specified weight
(Gross/Net/Tare) on the source scale.

<S>

STR.MOTION
STR.RANGE
STR.OK
STR.INVALID
STR.ZERO

Outputs the status for the source scale. Default values and meanings for each
status:

STR.MOTION

M In

motion

STR.RANGE

O

Out of range

STR.OK <space>

OK

STR.INVALID

I Invalid

STR.ZERO Z COZ

<B [–]n,…>

See
descriptions
below

Bit fields. Comma-separated sequence of bit field specifiers. Must be exactly 8
bits. Minus sign ([–]) inverts the bit.

B0

-

Always 0

B1

-

Always 1

B2

Configuration

=1 if even parity

B3

Dynamic

=1 if MODE=NET

B4

Dynamic

=1 if COZ (center of zero)

B5

Dynamic

=1 if motion

B6

Dynamic

=1 if displayed gross or net weight is negative

B7

Dynamic

=1 if out of range

B8

Dynamic

=1 if secondary/tertiary*

B9

Dynamic

=1 if tare in system

B10

Dynamic

=1 if tare is keyed

B11

Dynamic

=00 if MODE=GROSS
=01 if MODE=NET
=10 if UNITS=TERTIARY*
=11 (not used)

Table 10-6. Custom Stream Format Identifiers

Advertising