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

The text of a manual · part 50 of 70

SLC 500 Instruction Set Reference Manual, pages 491 to 500

Pages 491 to 500 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 491

Troubleshooting Faults

16-9

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

Description

Probable Cause

Recommended Action

002D

An invalid referenced indirect address subelement exists.

Either a subelement is referenced incorrectly or an indirect reference has been made to an M-file.

Correct the references and try again.

002E

Invalid DII Input slot.

The referenced slot is empty or a non-discrete I/O card is present.

Change the input slot to a discrete I/O card.

002F

Invalid or non-existent DII interrupt file.

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

Either disable the DII function by writing a zero to this location, or change the value to a valid ladder file (3-255).

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

User Program Instruction Errors

Table 16.4 User Program Instruction Errors Error Code (Hex)

Description

0030

An attempt was made to jump to one too many nested subroutine files. This code can also mean that a program has potential recursive routines.

Probable Cause

Recommended Action

• Either more than the maximum of 4 (8 if you are using a 5/02 or 5/03 processor) levels of nested subroutines are called for in the user program, or

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

• nested subroutine(s) are calling for subroutine(s) of a previous level. The type or series level of the processor does not support an instruction residing in the user program, or you have programmed a constant as the first operand of a compare instruction.

• Either replace the processor with one that supports the user program, or

0032

A sequencer instruction The program is referencing an length/position parameter points past element beyond a file boundary set the end of a data file. up by the sequencer instruction.

Correct the user program or allocate more data file space using the memory map, then reload and run.

0033

The length parameter of an LFU, LFL, FFU, FFL, BSL, or BSR instruction points past the end of a data file.

Correct the user program or allocate more data file space using the memory map, then reload and run.

0031

An unsupported instruction reference was detected.

The program is referencing an element beyond a file boundary set up by the instruction.

• modify the user program so that all instructions are supported by the processor, then reload the program and run.

Publication 1747-RM001G-EN-P - November 2008

Page 492

16-10

Troubleshooting Faults

Table 16.4 User Program Instruction Errors (Continued) Error Code (Hex)

Description

Probable Cause

Recommended Action

0034

A negative value for a timer accumulator or preset value was detected. Fixed processors with 24 VDC input only: A negative or zero HSC preset was detected in a HSC instruction.

The accumulated or preset value of a timer in the user program was detected as being negative.

If the user program is moving values to the accumulated or preset word of a timer, make certain these values cannot be negative. Correct the user program, reload, and run.

A negative or zero HSC preset was 0034 (related to fixed detected in an HSC instruction. 5/01 HSC instruction)

The preset value for the HSC instruction is out of the valid range. Valid range is 1 to 32767.

If the user program is moving values to the preset word of the HSC instruction, make certain the values are within the valid range. Correct the user program, reload, and run.

0035

TND, SVC, or REF instruction is called within an interrupting or user fault routine.

A TND, SVC, or REF instruction is being used in an interrupt or user-fault routine. This is illegal.

Correct the user program, reload, and run.

0036

An invalid value is being used for a PID instruction parameter.

Code 0036 is discussed on page 9-21. An invalid value was loaded into a PID instruction by the user program or by the user via the data monitor function for this instruction.

0038

A RET instruction was detected in a non-subroutine file.

A RET instruction resides in the main program.

xx39

An invalid string length was detected in a string file.

The first word of string data contains Check the first word of the string data a negative, zero, or value greater than elements for invalid values and 82. correct the user data.

Correct the user program, reload, and run.

(xx = data file number) 003A

An attempt to write to a protected data file occurred.

An attempt was made to write to an indirect address located in a file that has constant data file protection.

Remove the protection and retry the function.

003B

Motherboard and Daughter Card firmware do not match.

Motherboard and Daughter Card were not flash upgraded as a pair.

Flash upgrade both Motherboard and Daughter Card to latest version.

003C

STI Watchdog timer time-out

STI setpoint set too low. The processor was not able to service the STI interrupt before its watchdog timer timeout. See page B-31.

Increase the value of the STI setpoint (S:30).

005F

Invalid Rack ID

Invalid rack setup or problem with rack.

For a multi-rack system, make sure no more than three racks are configured. For a single-rack system, replace the rack, the rack may be bad.

Publication 1747-RM001G-EN-P - November 2008

Page 493

Troubleshooting Faults

16-11

I/O Errors ERROR CODES: The characters xx in the following codes represent the slot number, in hexadecimal. If the exact slot cannot be determined, the characters xx become 03 for fixed controllers and 1F for modular controllers. Refer to the table below.

Table 16.5 Slot Numbers Slot xx

Slot xx

Slot xx

Slot xx

8 9 10 11 12 13 14 15

08 09 0A 0B 0C 0D 0E 0F

16 17 18 19 20 21 22 23

10 11 12 13 14 15 16 17

24 25 26 27 28 29 30 *

18 19 1A 1B 1C 1D 1E 1F

(1)

0 1 2 **3 4 5 6 7 (1)

00 01 02 03 04 05 06 07

Slot numbers (xx) in hexadecimal.

RECOVERABLE I/O FAULTS (SLC 5/02 and higher processors only): Many I/O faults are recoverable. To recover, you must disable the specified slot, xx, in the user fault routine. If you do not disable slot xx, the processor will fault at the end of the scan.

TIP

An I/O card that is severly damaged may cause the processor to indicate that an error exists in slot 1.

Publication 1747-RM001G-EN-P - November 2008

Page 494

16-12

Troubleshooting Faults

Table 16.6 I/O Errors Error Code (Hex)

Description xx50

A chassis data error is detected.

Probable Cause • Either noise, • lightning,

Recommended Action Correct the problem, clear the fault, and re-enter Run mode.

• improper grounding, • lack of surge suppression on outputs with inductive loads, or • poor power source. xx51

A “stuck” runtime error is detected on an I/O module.

If this is a discrete I/O module, this is a noise problem. If this is a specialty I/O module, refer to the applicable user manual for the probable cause.

Cycle power to the system. If this does not correct the problem, replace the module.

xx52

A module required for the user program is detected as missing or removed.

An I/O module configured for a particular slot is missing or has been removed.

• Either disable the slot in the status file (S:11 and S:12), or

When going-to-run, a user program declares a slot as unused, and that slot is detected as having an I/O module inserted.

• Either the I/O slot is not configured for a module, but a module is present, or

• Either disable the slot in the status file (S:11 and S:12), clear the fault and run,

• the I/O module has reset itself.

• remove the module, clear the fault and run, or xx53

This code can also mean that an I/O module has reset itself.

• insert the required module in the slot.

• modify the I/O configuration to include the module, then reload the program and run. • If you suspect that the module has reset itself, clear the major fault and run.

xx54

SLC 5/03 specific - An attempt was made to enter the run or test mode with an empty chassis.

A chassis is void of all I/O modules.

A module required for the user program is detected as being the wrong type.

An I/O module in a particular slot is a different type than was configured for that slot by the user.

Disable all slots in the empty chassis (see S:11 and S:12). • Either replace the module with the correct module, clear the fault, and run, or • change the I/O configuration for the slot, reload the program, and run.

xx55

A discrete I/O module required for the user program is detected as having the wrong I/O count.

• If this is a discrete I/O module, the I/O count is different from that selected in the I/O configuration.

This code can also mean that a specialty card driver is incorrect.

• If this is a specialty I/O module, the card driver is incorrect.

• If this is a discrete I/O module, replace it with a module having the I/O count selected in the I/O configuration. Then, clear the fault and run, or • change the I/O configuration to match the existing module, then reload the program and run. • If this is a specialty I/O module, refer to the user manual for that module.

Publication 1747-RM001G-EN-P - November 2008

Page 495

Troubleshooting Faults

16-13

Table 16.6 I/O Errors (Continued) Error Code (Hex)

Description

Probable Cause

Recommended Action xx56

The chassis configuration specified in the user program is detected as being incorrect.

The chassis configuration specified by Correct the chassis configuration, the user does not match the hardware. reload the program and run.

xx57

A specialty I/O module has not responded to a Lock Shared Memory command within the required time limit.

The specialty I/O module is not responding to the processor in the time allowed.

xx58

Refer to the user manual of the A specialty I/O module has generated a generic fault. The card specialty I/O module. fault bit is set (1) in the module’s status byte.

Cycle chassis power. If this does not correct the problem, refer to the user manual for the specialty I/O module. You may have to replace the module.

xx59

A specialty I/O module has not responded to a command as being completed within the required time limit.

A specialty I/O module did not complete a command from the processor in the time allowed.

Refer to the user manual for the specialty I/O module. You may have to replace the module.

xx5A

Hardware interrupt problem.

If this is a discrete I/O module, this is a noise problem. If this is a specialty I/O module, refer to the user manual for the module.

Cycle chassis power. Check for a noise problem and be sure proper grounding practices are used. If this is a specialty I/O module, refer to the user manual for the module. You may have to replace the module.

xx5B

G file configuration error - user program G file size exceeds the capacity of the module.

G file is incorrect for the module in this slot.

Refer to the user manual for the specialty I/O module. Reconfigure the G file as directed in the manual, then reload and run.

xx5C

M0-M1 file configuration error user program M0-M1 file size exceeds capacity of the module.

M0-M1 files are incorrect for the module in this slot.

Refer to the user manual for the specialty I/O module. Reconfigure the M0-M1 files as directed in the manual, then reload and run.

xx5D

Interrupt service requested is not supported by the processor.

The specialty I/O module has requested service and the processor does not support it.

Refer to the user manual for the specialty I/O module to determine which processors support use of the module. Change processor to one that supports the module.

xx5E

Processor I/O driver (software) error.

Corrupt processor I/O driver software.

Reload program using RSLogix software.

xx60 through xx6F

Identifies an I/O module specific recoverable major error.

-

- xx70 through xx7F

Identifies an I/O module specific non-recoverable major error.

-

- xx80 through xx8F

Identifies a specialty I/O module specific non-recoverable major error.

-

-

Cycle chassis power. If this does not correct the problem, refer to the user manual for the specialty I/O module. You may have to replace the module.

Publication 1747-RM001G-EN-P - November 2008

Page 496

16-14

Troubleshooting Faults

Table 16.6 I/O Errors (Continued) Error Code (Hex)

Description

Probable Cause

Recommended Action xx90

Interrupt problem on a disabled slot.

A specialty I/O module requested service while a slot was disabled.

Refer to the user manual for the specialty I/O module. You may have to replace the module.

xx91

A disabled slot has faulted.

A specialty I/O module in a disabled slot has faulted.

Cycle chassis power. If this does not correct the problem, refer to the user manual for the specialty I/O module. You may have to replace the module.

xx92

Invalid or non-existent module interrupt subroutine (ISR) file.

The I/O configuration/ISR file information for a specialty I/O module is incorrect.

Correct the I/O configuration/ISR file information for the specialty I/O module. Refer to the user manual for the module for the correct ISR file information. Then reload the program and run.

xx93

Unsupported I/O module specific major error.

The processor does not recognize the error code from a specialty I/O module.

Refer to the user manual for the specialty I/O module.

xx94

A module has been detected as being inserted under power in the run or test mode. This can also mean that an I/O module has reset itself.

The module was inserted in the chassis under power, or the module has reset itself.

No module should ever be inserted in a chassis under power. If this occurs and the module is not damaged, • Either remove the module, clear the fault and run, or • add the module to the I/O configuration, reference the module in the user program where required, reload the program, and run.

0x00A0 0x00A1 0x00A2

A major fault unique to the SLC 5/04 or SLC 5/05. The error code indicates communication channel hardware fault has occurred.

Publication 1747-RM001G-EN-P - November 2008

Ethernet communication fault. or DH+ communication fault.

The fault may be cleared via a write to the System Status File, but Ethernet/DH+/RS-232 communications will be disabled until a power cycle is performed. For the SLC 5/05 only, word 15 of the System Status File provides a specific fault code for the Ethernet daughterboard when user fault code 0x00A1 is generated.

Page 497

Troubleshooting Faults

Troubleshoot SLC 5/03 and Higher Processors

16-15

Between the time you apply power to the processor, and it has a chance to establish communication with a connected programming device, the only form of communication between you and the processor is through the LED display.

Powerup LED Display When power is applied, all the LEDs flash on momentarily and then off. This is part of the normal power-up sequence. Following the self test by the processor, all of the LEDs flash on again momentarily. If a user program is in a running state, the RUN LED is illuminated. If a fault exists within the processor, the FLT LED is illuminated.

Identify Processor Errors while Downloading an Operating System The download process takes up to 90 seconds. During this time, watch the LED display for status information. While the download is in progress, the RUN and FLT LEDs remain off. The RS232, DH-485 or DH+, Ethernet, FORCE, and BATT LEDs illuminate in a pre-defined sequence. If the download is successful, the above LEDs are illuminated. If during the download process of an operating system type memory module or during the normal power-up self test process an error occurs, the FLT LED is illuminated and the four LEDs flash on and off at a rate of 2 seconds.

Publication 1747-RM001G-EN-P - November 2008

Page 498

16-16

Troubleshooting Faults

The following table describes the possible LED combinations that are displayed every other time the LEDs flash on.

Table 16.7 LED Combinations ON LED Display

Description

FAULT, FORCE, DH-485, DH+, or Ethernet

Fatal hardware error exists.

FAULT, FORCE, RS232, DH-485 or DH+

A hardware watchdog timeout exists.

FAULT, BATT

NVRAM error exists.

FAULT, BATT, RS232

The contents of the operating system memory module are corrupt.

FAULT, BATT, DH-485 or DH+

The downloadable operating system is not compatible with the hardware.

FAULT, BATT, RS232, DH-485, DH+, or Ethernet

An attempt was made to download the operating system onto write-protected memory.

FAULT, BATT, FORCE

Flash EEPROM failure.

FAULT, BATT, FORCE, RS232

Failure during transmission of downloadable operating system.

FAULT, BATT, FORCE, DH-485, DH+, or Ethernet

The operating system is missing or has been corrupted.

Publication 1747-RM001G-EN-P - November 2008

Page 499

Appendix

A

SLC 5/03 (OS30x), SLC 5/04 (OS40x) and SLC 5/05 (OS50x) Firmware History

OS300, Series A, FRN 1 released: June 1993

Original Release

OS300, Series A, FRN 2 released: July 1993

Enhancements

OS300, Series A, FRN 3 released: March 1994

Enhancements

None

• On-Line Editing Several changes were made to the On-Line Editing sub-system to decrease the impact to scan time. • Instruction Performance The IOM, JMP, JSR and OSR instructions have been modified to enhance performance. • DII accumulator update during an STI The STI instruction has been modified to include copying of the DII accumulator during an STI.

OS300, Series A, FRN 4 released: May 1994

1

Enhancements None

Publication 1747-RM001G-EN-P - November 2008

Page 500

A-2

SLC 5/03 (OS30x), SLC 5/04 (OS40x) and SLC 5/05 (OS50x) Firmware History

OS301, Series A, FRN 5 released: August 1994

Enhancements • ASCII Instructions The ASCII instructions ABL, ACB, ACI, ACL, ACN, AEX, AHL, AIC, ARD, ARL, ASC, ASR, AWA, and AWT are supported in this release. The STRING and ASCII data types are also supported. • Floating Point Instructions The instructions EQU, NEQ, LES, LEQ, GRT, GEQ, ADD, SUB, MUL, DIV, NEG, CLR, SQR, MOV, FLL, COP, LIM support floating point data in this release. • 10usec User Interrupt Timer The lower 16 bits of the processor’s 20-bit 10usec internal free running clock is copied to either S:43 (STI), S:44(IOI), or S:45(DII) prior to executing the user interrupt ladder file. This allows a user to determine the amount of time that has elapsed between consecutive interrupt subroutines. • PLC-5 Read/Write Capability PLC-5 typed read and write commands can now be initiated and received. • Average Scan Time Calculation The average scan time calculation has been changed to more accurately calculate the average scan time. • DTR Control The controlling of the DTR signal has been changed so that it is turned back ON only if the forcing control bit is enabled when the processor goes from a RUN to non-RUN mode. • Dual Message Buffering The dual message buffering capabilities has been increased from 4 buffers for both channels to 4 buffers per channel. • Remote Messaging Remote messaging is now allowed beyond the maximum node address.

Publication 1747-RM001G-EN-P - November 2008