1 option card diagnostic errors, 2 using the hardware command, 3 user program diagnostic errors – Rice Lake 820i Programmable Indicator/Controller - Installation Manual User Manual
Page 94: Option card diagnostic errors, Using the hardware command, User program diagnostic errors, Section, Required option card not found. see section

90
820i
Installation Manual
10.1.1
Option Card Diagnostic Errors
Option cards are detected by the
820i
at power-up. If
the current indicator configuration requires an option
card but that card is not detected at power-up, an error
similar to the following is displayed:
HARDWARE CRITICAL TO PROPER OPERATION
WITH CURRENT CONFIGURATION
CANNOT BE FOUND
INSTALL HARDWARE OR RECONFIGURE
To recover from this error you can do the following:
• If the option is required, ensure that the card is
properly seated in its slot and cycle the power. If
the card is still not recognized, replace the card.
• Enter setup mode and reconfigure to eliminate the
requirement for the option.
• Go to the VERSION menu and use the
Reset
Config
softkey (or RESETCONFIGURATION
command) to perform a configuration reset.
Configuration reset returns all configuration
values to their factory defaults.
See Section 10.1.2 below, for information about using
the HARDWARE serial command to verify that
installed cards are recognized.
10.1.2
Using the HARDWARE Command
The HARDWARE serial command can be issued to
verify that all installed cards are recognized by the
system. The HARDWARE command returns a string
of card type codes. The first digit represents the
single- or dual-A/D of the
820i
; the second digit
represents the card, if any, installed in the expansion
slot:
HARDWARE=3,4
Table 10-2 lists the card codes returned by the
HARDWARE command.
If an installed card is not recognized (HARDWARE
command returns a code of
0
for that slot), ensure that
the card is seated properly. Reinstall the card, if
necessary, then cycle the indicator power to read the
configuration again.
10.1.3
User Program Diagnostic Errors
Faulty user programs can cause critical errors that are
detected by the
820i
at power-up. The following error
message is caused by a user program attempting to
divide by zero:
A CRITICAL USER PROGRAM ERROR
HAS BEEN DETECTED
DIVIDE BY ZERO
SYSTEM RESET IS REQUIRED
To recover from this error you can do the following:
• Cycle the indicator power to reset the user
program.
•
Correct the
iRite-IDE
program to eliminate the
div ide by zero operation. Recompile th e
program, then download the corrected program
to the indicator.
If technical assistance is required, contact RLWS
technical support.
Diagnostic Boot Procedure
If a user program causes an error in the start-up
handler, press and hold the setup switch while cycling
power to the
820i
to place the indicator in setup mode.
Use
Revolution
monitor mode to send the PCLR
command erase clear the user program.
If the error is still not cleared, perform the following
diagnostic boot procedure.
1.Disconnect power to the
820i
.
2.Connect the serial port of a PC with
Revolution
installed to port 2 of the
820i
.
3.Open the indicator enclosure and place a jumper
across the boot mode pins (see Figure 2-3 on
page 9).
4.Power up the
820i
. The indicator will stall at the
diagnostic monitor.
5.Start
Revolution
and enter monitor mode, then
type
BOOT
.
6.Use the indicator setup switch to enter setup
mode.
7.Remove the jumper from SW1.
8.From monitor mode, enter the
RESETCONFIGURATION command.
Determine the cause of the startup handler error, make
program corrections, then reload the corrected user
program and test.
Code
Card Type
0
No card installed
1
Dual-Channel Serial Expansion Card
2
Dual-Channel A/D Card
3
Single-Channel A/D Card
4
Analog Output Card
5
24-Channel Digital I/O Expansion Card
6
Pulse Input Card
7
1 MB Memory Expansion Card
9
DeviceNet Card
10
Profibus Card
11
EtherNet/IP Card
12
Remote I/O Card
14
Custom Card
15
Analog Input Card
Code 11 is returned only by the EtherNet/IP
card. The standard 10M/100Mbps Ethernet
card does not return a card type code. The
standard Ethernet card returns a value of 0
on the HARDWARE command.
Table 10-2. HARDWARE Command Option Card Codes
Note