2 using the zz edp command, 3 continuous output (stream) format, 4 ascii character chart – Rice Lake 320IS Plus Intrinsically Safe Digital Weight Indicator - Installation Manual User Manual

Page 69: Using the zz edp command

Advertising
background image

320IS Plus Installation Manual - Appendix A

63

8.2.2

Using the ZZ EDP Command

The ZZ EDP command can be used to remotely query which annunciators are currently displayed on the

indicator front panel. The ZZ command returns the currently displayed weight and a decimal number

representing the LED annunciators currently lit. The format of the returned data is:

wwwwww uu zzz

where

wwwwww uu

is the current displayed weight and units,

zzz

is the annunciator status value (see Table 8-3). If

more than one annunciator is lit, the second number returned is the sum of the values representing the active

annunciators.
For example, if the annunciator status value returned on the ZZ command is 148, the gross, standstill, and lb

annunciators are lit: 148 represents the sum of the values for the standstill annunciator (16), gross mode

annunciator (128), and the lb/primary units annunciator (4).

8.3

Continuous Output (Stream) Format

Figure 8-1 shows the continuous output format sent to the

320IS Plus

EDP or printer port when the STREAM

parameter (SERIAL menu) is set to either EDP or PRN.

Figure 8-1. Continuous Output Data Format

8.4

ASCII Character Chart

Use the decimal values for ASCII characters listed in Tables 8-4 and 8-5 when specifying print format strings on

the

320IS Plus

PFORMT menu. The actual character printed depends on the character mapping used by the

output device.

Decimal

Value

Annunciator

1

Tare

2

Count

4

lb

8

kg

16

Standstill

32

Center of zero

64

Net

128

Gross

Table 8-3. Status Codes Returned on the ZZ Command

<STX> <POL> <wwwwwww> <UNIT> <G/N> <S> <TERM>

ASCII 02
(decimal )

Polarity:
<Space> = Positive
<–> = Negative
<^> = Overload
<]> = Underrange

W eight data: 7 digits, right-justified, with
decimal point, leading zer o suppr ession.
Overload =

^^^^^^^

Under range =

] ] ] ] ] ] ]

Display overflow = OVERFL

L = pounds
K = kilogram
T = ton
G = grams
O = ounces

<space> = none

G = Gross
N = Net

Status:
<space> = valid
I = Invalid
M = In motion
O = Over/under range

<CR> <LF>

or <CR>

ASCII 13, 10

(decimal )

P = count

Advertising