2 using the xe edp command, 2 status messages, 1 using the p edp command – Rice Lake SURVIVOR 420HE Hostile Environment - Installation Manual User Manual

Page 43: 2 using the zz edp command, Using the xe edp command, Using the p edp command, Using the zz edp command

Advertising
background image

420HE Installation Manual - Appendix

39

7.1.2

Using the XE EDP Command

The XE EDP command can be used to remotely query
the

420HE

for the error conditions shown on the front

panel. The XE command returns two 5-digit numbers
in the format:

xxxxx yyyyy

where

xxxxx

contains a decimal representation of any

existing error conditions as described in Table 7-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).

The second number returned (

yyyyy

) uses the same bit

assignments as shown in Table 7-2 to indicate whether
the test for the error condition was run. For example,
the value

y yyyy

= 50815 represents the decimal

equivalent of the binary value 1100 0110 0111 1111.
Using the bit assignments in Table 7-2, this value
indicates all tests were run.

Error

Code

Description

Binary Value

0x0001

EEPROM Error

0000 0000 0000 0001

0x0002

Virgin EEPROM

0000 0000 0000 0010

0x0004

Config Parameter Checksum

0000 0000 0000 0100

0x0008

Load Cell Checksum

0000 0000 0000 1000

0x0010

A/D Calibration Checksum

0000 0000 0001 0000

0x0020

Print Formats Checksum

0000 0000 0010 0000

0x0040

XA Internal RAM Error

0000 0000 0100 0000

0x0080

External RAM Error

0000 0000 1000 0000

0x0100

Reserved

0000 0001 0000 0000

0x0200

ADC Physical Error

0000 0010 0000 0000

0x0400

ADC Reference

0000 0100 0000 0000

0x0800

Count Error

0000 1000 0000 0000

0x1000

Reserved

0001 0000 0000 0000

0x2000

Display Range

0010 0000 0000 0000

0x4000

ADC Range

0100 0000 0000 0000

0x8000

Gross Limit

1000 0000 0000 0000

0x10000 - 0x80000000

Reserved

Table 7-2. Error Codes Returned on XE Command

7.2

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.

7.2.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).

7.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 7-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 7-3. Status Codes Returned on the ZZ Command

Decimal

Value

Annunciator

1

lb/primary units

2

kg/secondary units

16

Gross

32

Net

64

Center of zero

128

Standstill

Advertising