2 using the hardware command, 3 using the xe edp command, 4 status messages – Rice Lake 520 HMI Digital Weight Indicator Installation Manual User Manual
Page 80
Appendix
74
12.2 Using the HARDWARE Command
The HARDWARE serial command can be used to
verify that installed option cards are recognized by the
system. The HARDWARE command returns a
single-digit card code, representing the card installed:
Table 12-2. HARDWARE Command Option Card Type
Codes
Code
Card Type
0
No card installed
4
Analog Output Card
8
Bus Card
If an installed card is not recognized (HARDWARE
command returns code of 0), ensure that the card is
seated properly. Reinstall the card, if necessary, then
cycle the power to read the configuration again. If the
card is still not recognized, you may need to try a
different option card.
12.3 Using the XE EDP Command
The XE EDP command can be used to remotely query
the
520
for the error conditions shown on the front
panel. The XE command returns a decimal number
representing any existing error conditions.
If more than one error condition exists, the number
returned is the sum of the values representing the error
conditions (see Table 12-3). 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).
Table 12-3. Error Codes Returned on XE Command
Error
Code
Description
Binary Value
0
No error
0000 0000 0000 0000 0000
1
EEPROM physical
error
0000 0000 0000 0000 0001
2
Virgin EEPROM
0000 0000 0000 0000 0010
4
Parameter
checksum error
0000 0000 0000 0000 0100
8
Load cell calibration
checksum error
0000 0000 0000 0000 1000
16
A/D calibration
checksum error
0000 0000 0000 0001 0000
32
Print format
checksum error
0000 0000 0000 0010 0000
64
Internal RAM data
error
0000 0000 0000 0100 0000
128
External RAM data
error
0000 0000 0000 1000 0000
256
NV register
checksum error
0000 0000 0001 0000 0000
512
A/D physical error
0000 0000 0010 0000 0000
1024
A/D reference error
0000 0000 0100 0000 0000
2048
Tare register error
0000 0000 1000 0000 0000
4096
Accumulator
overflow error
0000 0001 0000 0000 0000
8192
A/D underrange
0000 0010 0000 0000 0000
16384
Power failure
0000 0100 0000 0000 0000
32768
Gross > overload
limit
0000 1000 0000 0000 0000
65536
Gravity error
0001 0000 0000 0000 0000
131072 Count error
0010 0000 0000 0000 0000
262144 Low battery error
0100 0000 0000 0000 0000
524288 Option board error
1000 0000 0000 0000 0000
12.4 Status Messages
Two EDP commands, P and ZZ, can be used to provide
status about the indicator.
•
The P EDP command returns whatever is
currently shown in the indicator’s primary
display area.
•
The ZZ EDP command returns whatever is
currently shown in both the primary and
secondary displays. Depending on the type of
device used to receive data from the indicator,
the standstill and center of zero symbols may
be shown as spaces or as special characters.
The ZZ command returns information in the
following format:
PPPPPPP uu ssssssssssssssss
where:
•
PPPPPPP
is the information shown on the
primary display
•
uu
is the 2-digit units annunciator
•
ssssssssssssssss
is the contents of the
secondary display
If the indicator is in an underrange or overload
condition, the weight value is replaced with
&&&&&&
(overload) or
::::::
(underrange).
Error
Code
Description
Binary Value
Table 12-3. Error Codes Returned on XE Command