Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeContact

The text of a manual · part 49 of 70

SLC 500 Instruction Set Reference Manual, pages 481 to 490

Pages 481 to 490 of 694

The original document is the PDF (7.2 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Allen-Bradley 1747-L514

Page 481

Messaging Examples

15-35

Network Message Example: PLC 5/20E to SLC 500 CH0 via ENI

For the Step by Step procedure for this example refer to Knowledgebase Document Number: G20040.

Publication 1747-RM001G-EN-P - November 2008

Page 482

15-36

Messaging Examples

Notes:

Publication 1747-RM001G-EN-P - November 2008

Page 483

Chapter

16

Troubleshooting Faults

This chapter lists the major error fault codes, indicates the probable causes of faults, and recommends corrective action. This chapter also explains the operating system download faults for the SLC 5/03 (and higher) processors.

Automatically Clear Faults

The following section describes the different ways to automatically clear a fault using your programming software.

SLC Processors • Set the Fault Override at Powerup Bit S:1/8 in the status file to clear the fault when power is cycled, assuming the user program is not corrupt. • Designate a User Fault Routine Number in S:29 and program that ladder subroutine file to attempt to correct the fault and clear S:1/13. • Set the Startup Protection Fault Bit, S:1/9 which executes the user fault routine prior to the execution of the first scan of the ladder program when a fault condition exists. • Set one of the autoload bits S:1/10, S:1/11, or S:1/12 in the status file of the program in an EEPROM to automatically transfer a new non-faulted program from the memory module to RAM when power is cycled.

TIP

1

You can declare your own application-specific major fault by writing your own unique value to S:6 and then setting bit S:1/13.

Publication 1747-RM001G-EN-P - November 2008

Page 484

16-2

Troubleshooting Faults

Manually Clear Faults

The following section describes the different ways to manually clear a fault when using an SLC processor. • Manually clear the major fault bit S:1/13, and the minor and major error bits S:5/0-7 in the status file, using a programming device or a Data Table Access Module. Place the processor in the REM Program mode. Correct the condition causing the fault, then return the processor to either REM Run or any of the REM Test modes. • SLC 5/03 and higher processors: Toggle the keyswitch from RUN to PROGram and then back to RUN.

ATTENTION

ATTENTION

SLC 5/03 and higher processors: Clearing these bits with the keyswitch in the RUN position causes the processor to immediately enter the Run mode.

If you are online with an SLC 5/03 (or higher) processor with the keyswitch position in RUN and you press the clear major fault function key, you are warned that the processor will enter the Run mode once you clear the fault.

Use the Fault Routine When designating a subroutine file, the occurrence of recoverable or non-recoverable user faults causes the designated subroutine to be executed for one scan. If the fault is recoverable, the subroutine can be used to correct the problem and clear the fault bit S:1/13. The processor then continues in the RUN mode. If the fault is non-recoverable, the subroutine can send a message via a Message instruction to another node with error code information and/or can do an orderly shutdown of the process. The subroutine does not execute for non-user faults.

Publication 1747-RM001G-EN-P - November 2008

Page 485

Troubleshooting Faults

SLC Processor Faults

16-3

The processor faults are divided into the following types. • Powerup errors • Going-to-run errors • Run errors • User program instruction errors

Powerup Errors

Table 16.1 Powerup Errors Error Code (Hex)

Description

0001

NVRAM error.

Probable Cause

Recommended Action

• Either noise, • lightning, • improper grounding, • lack of surge suppression on outputs with inductive loads, or

Correct the problem, reload the program, and run. You can use the autoload feature with a memory module to automatically reload the program and enter the Run mode.

• poor power source. • Loss of battery or capacitor backup. 0002

Unexpected hardware watchdog timeout.

• Either noise, • lightning, • improper grounding, • lack of surge suppression on outputs with inductive loads, or

Correct the problem, reload the program, and run. You can use the autoload feature with a memory module to automatically reload the program and enter the Run mode.

• poor power source. 0003

Memory module memory error. This error can also occur when going to the REM Run mode.

Memory module is corrupted.

Re-program the memory module. If the error persists, replace the memory module.

0007

Failure during memory module transfer.

Memory module is corrupted.

Re-program the memory module. If the error persists, replace the memory module.

Publication 1747-RM001G-EN-P - November 2008

Page 486

16-4

Troubleshooting Faults

Table 16.1 Powerup Errors Error Code (Hex)

Description

Probable Cause

Recommended Action

0008

Internal software error.

An unexpected software error occurred due to:

Correct the problem, reload the program, and run. You can use the autoload feature with a memory module to automatically reload the program and enter the Run mode. If the problem re-occurs, contact your RSI representative.

• Either noise, • lightning, • improper grounding, • lack of surge suppression on output with inductive loads, or • poor power source. 0009

Internal hardware error.

An unexpected hardware error occurred due to: • Either noise, • lightning • improper grounding, • lack of surge suppression on output with inductive loads, or

Correct the problem, reload the program, and run. You can use the autoload feature with a memory module to automatically reload the program and enter the Run mode. If the problem re-occurs, contact your local Rockwell Automation representative.

• poor power source., With the keyswitch in the RUN position, the SLC processor powers up in a non-RUN state.

The keyswitch may be damaged.

Connect RS Logix 500 to the SLC processor. If the processor status shows "Remote Download in Progress" and status bits S:1/0-4 are all cleared, please contact your local Rockwell Automation representative.

Going-to-run Errors

Table 16.2 Going-to-Run Errors Error Code (Hex)

Description

Probable Cause

Recommended Action

0010

The processor does not meet the required revision level.

The revision level of the processor is not compatible with the revision level for which the program was developed.

Consult your your local Rockwell Automation representative to purchase an upgrade kit for your processor.

0011

The executable program file number 2 Incompatible or corrupt program is is absent. present.

Publication 1747-RM001G-EN-P - November 2008

Reload the program or reprogram with RSI programming software.

Page 487

Troubleshooting Faults

16-5

Table 16.2 Going-to-Run Errors (Continued) Error Code (Hex)

Description

0012

The ladder program has a memory error.

Probable Cause

Recommended Action

• Either noise, • lightning, • improper grounding, • lack of surge suppression on outputs with inductive loads, or

Correct the problem, reload the program, and run. If the error persists, be sure to use current RSI programming software to develop and load the program.

• poor power source. 0013

•The required memory module is absent, or •S:1/10 or S:1/11 is not set as required by the program.

• Either one of the status bits is set in the program but the required memory module is absent, or • status bit S:1/10 or S:1/11 is not set in the program stored in the memory module, but it is set in the program in the processor memory.

0014

Internal file error.

• Either noise, • lightning, • improper grounding, • lack of surge suppression on outputs with inductive loads, or

• Either install a memory module in the processor, or • upload the program from the processor to the memory module.

Correct the problem, reload the program, and run. If the error persists, be sure to use current RSI programming software to develop and load the program.

• poor power source. 0015

Configuration file error.

• Either noise, • lightning, • improper grounding, • lack of surge suppression on outputs with inductive loads, or

Correct the problem, reload the program, and run. If the error persists, be sure to use current RSI programming software to develop and load the program.

• poor power source. 0016

Startup protection after power loss. Error condition exists at powerup when bit S:1/9 is set and powerdown occurred while running.

Status bit S:1/9 has been set by the user program.

• Either reset bit S:1/9 if this is consistent with the application requirements, and change the mode back to run, or • clear S:1/13, the major fault bit, before the end of the first program scan is reached.

0017

NVRAM/memory module user program mismatch.

Bit S:2/9 is set and the memory module user program does not match the NVRAM user program.

Transfer the memory module program to NVRAM then change to Run mode.

Publication 1747-RM001G-EN-P - November 2008

Page 488

16-6

Troubleshooting Faults

Table 16.2 Going-to-Run Errors (Continued) Error Code (Hex)

Description

Probable Cause

Recommended Action

0018

Incompatible user program. Operating system type mismatch. This error can also occur during powerup.

The user program is too advanced to be executed in the current operating system.

Contact your your local Rockwell Automation representative to purchase an upgrade kit for your processor.

0019

A duplicate label number was detected.

A duplicate or missing label instruction was found in a subroutine.

• Either remove the duplicate label, or • add a label.

Run Errors

Table 16.3 Run Errors Error Code (Hex)

Description

Probable Cause

001F

A program integrity problem occurred during an online editing session.

Either noise, communication loss, or a Reload the program and re-enter your power cycle occurred during an online changes. edit session.

0004

Memory error occurred while in the Run mode.

• Either noise, • lightning, • improper grounding, • lack of surge suppression on outputs with inductive loads, or

Recommended Action

Correct the problem, reload the program, and run. You can use the autoload feature with a memory module to automatically reload the program and enter the Run mode.

• poor power source. 0020

A minor error bit is set at the end of the scan. Refer to S:5 minor error bits (lower byte only).

• Either a math or FRD instruction overflow has occurred, • sequencer or shift register instruction error was detected, • a major error was detected while executing a user fault routine, or • M0-M1 file addresses were referenced in the user program for a disabled slot.

Publication 1747-RM001G-EN-P - November 2008

Correct the programming problem, reload the program and enter the run mode.

Page 489

Troubleshooting Faults

16-7

Table 16.3 Run Errors (Continued) Error Code (Hex)

Description

Probable Cause

0021

A remote power failure of an expansion I/O chassis has occurred.

Fixed and FRN 1 to 4 SLC 5/01 Fixed in FRN 1 to 4 SLC 5/01 processors: Cycle power on the local processors: Power was removed or the power dipped below specification chassis. for an expansion chassis.

Note: A modular system that encounters an over-voltage or over-current condition in any of its power supplies can produce any of the I/O error codes listed on pages page 16-12 through page 16-14 (instead of code 002). The over-voltage or over-current condition is indicated by the power supply LED being off.

ATTENTION

Recommended Action

SLC 5/02 processors and above and FRN 5 SLC 5/01 processors: Re-apply SLC 5/02 processors and above and FRN 5 SLC 5/01 processors: This error power to the expansion chassis. code is present only while power is not applied to an expansion chassis. This is the only self-clearing error code. When power is re-applied to the expansion chassis, the fault will be cleared.

Fixed and FRN 1 through 4 SLC 5/01 processors: If the remote power failure occurred while the processor was in the REM Run mode, error 0021 will cause the major error halted bit (S:1/13) to be cleared at the next powerup of the local chassis. SLC 5/02 and above processors and FRN 5 SLC 5/01 processors: Power to the local chassis does not need to be cycled to resume the REM Run mode. Once the remote chassis is re-powered, the CPU will restart the system.

0022

0023

0024

The user watchdog scan time has been exceeded.

Invalid or non-existent STI interrupt file.

Invalid STI interrupt interval (greater than 2550 ms or negative).

• Either Watchdog time is set too low for the user program, or

• Either increase the watchdog timeout in the status file (S:3H), or

• user program caught in a loop.

• correct the user program problem.

• Either an STI interrupt file number was assigned in the status file, but the subroutine file was not created, or

• Either disable the STI interrupt setpoint (S:30) and file number (S:31) in the status file, or

• the STI interrupt file number assigned was 0, 1, or 2.

• create an STI interrupt subroutine file for the file number assigned in the status file (S:31). The file number must not be 0, 1, or 2.

The STI setpoint is out of range (greater than 2550 ms or negative).

• Either disable the STI interrupt setpoint (S:30) and file number (S:31) in the status file, or • create an STI interrupt routine for the file number referenced in the status file (S:31). The file number must not be 0, 1, or 2.

Publication 1747-RM001G-EN-P - November 2008

Page 490

16-8

Troubleshooting Faults

Table 16.3 Run Errors (Continued) Error Code (Hex)

Description

Probable Cause

Recommended Action

0025

Excessive stack depth/JSR calls for the STI routine.

A JSR instruction is calling for a file number assigned to an STI routine.

Correct the user program to meet the requirements and restrictions for the JSR instruction, then reload the program and run.

0026

Excessive stack depth/JSR calls for an I/O interrupt routine.

A JSR instruction is calling for a file number assigned to an I/O interrupt routine.

Correct the user program to meet the requirements and restrictions for the JSR instruction, then reload the program and run.

0027

Excessive stack depth/JSR calls for the user fault routine.

A JSR instruction is calling for a file number assigned to the user fault routine.

Correct the user program to meet the requirements and restrictions for the JSR instruction, then reload the program and run.

0028

Invalid or non-existent “startup protection” fault routine file value.

• Either a fault routine file number was created in the status file, but the fault routine file was not physically created, or

• Either disable the fault routine file number (S:29) in the status file, or

• the file number created was 0, 1, or 2. 0029

Indexed address reference is outside of the entire data file space (range of B3:0 through the last file).

ATTENTION

The program is referencing through indexed addressing an element beyond the allowed range. The range is from B3:0 to the last element of the last data file created by the user.

• create a fault routine for the file number referenced in the status file (S:29). The file number must not be 0, 1, or 2. Correct and reload the user program. This problem cannot be corrected by writing to the index register word (S:24).

The SLC processor uses an index value of zero for the faulted instruction following error recovery.

002A

Indexed address reference is beyond the specific referenced data file.

The program is referencing through indexed addressing an element beyond a file boundary.

002B

An invalid file number for an indirect address exists.

The file number exists, but it is not Check the file type or create the file the correct file type or the file number number. does not exist.

002C

The referenced indirect address element is outside data file limits.

The indirectly referenced element does not exist, but the file type is correct and it exists.

Publication 1747-RM001G-EN-P - November 2008

Correct the user program, allocate more data space using the memory map, or re-save the program allowing crossing of file boundaries. Reload the user program. This problem cannot be corrected by writing to the index register word (S:24).

Create the indirectly referenced element.