2 using the xe edp command, 3 status messages, 1 using the p edp command – Rice Lake Static Weighing User Manual

Page 65: 2 using the zz edp command, 2 using the xe edp command 9.3 status messages, Using the p edp command, Using the zz edp command

Advertising
background image

Appendix

61

9.2

Using the XE EDP Command

The XE EDP command can be used to remotely query
the CW-90/CW-90X for the error conditions shown on
the front panel. The XE command returns a 5-digit
number in the format:

xxxxx yyyyy

where

xxxxx

contains a decimal representation of any

existing error conditions as described in Table 9-2.

If more than one error condition exists, the number
returned is the sum of the values representing the error
conditions. For example, if the XE command returns
the number 1040, this value represents the sum of an A/
D reference error (1024) and an A/D calibration
checksum error (16).

XE Error

Code

Description

XEH Hex Value

1

VIRGERR

0x00000001

2

PARMCHKERR

0x00000002

4

LOADCHKERR

0x00000004

8

PRINTCHKERR

0x00000008

16

ENVRAMERR

0x00000010

32

ENVCRCERR

0x00000020

64

BATTERYERR

0x00000040

32768

GRAVERR

0x00008000

65536

ADPHYSICALERR

0x00010000

131072

TAREERR

0x00020000

262144

EACCOVER

0x00040000

524288

STRINGERR

0x00080000

1048576

RESERVED_PF

0x00100000

2097152

RTCERR

0x00200000

4194304

MISSINGHWERR

0x00400000

8388608

CFGCONFLICTERR

0x00800000

16777216 UNRECOVERABLEERR

0x01000000

0x10000 - 0x80000000

Reserved

Table 9-2. Error Codes Returned on XE Command

9.3

Status Messages

Two EDP commands, P and ZZ, can be used to provide
status about the indicator. These commands are
described in the following sections.

9.3.1

Using the P EDP Command

The P EDP command returns the current displayed
weight value to the EDP port, along with the units
identifier. If the indicator is in an underrange or
overload condition, the weight value is replaced with

^^^^^

(overload) or

_ _ _ _ _

(underrange).

9.3.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 9-3).

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

Example:

If the annunciator status value returned on

the ZZ command is 145, the gross, standstill, and lb
annunciators are lit. 145 represents the sum of the
values for the standstill annunciator (128), gross mode
annunciator (16), and the lb/primary units annunciator
(1).

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

Decimal

Value

Annunciator

1

lb/primary units

2

kg/secondary units

4

Count

8

Tare entered

16

Gross

32

Net

64

Center of zero

128

Standstill

Advertising
This manual is related to the following products: