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

The text of a manual · part 47 of 55

Hand-Held Terminal (Catalog Number 1747-PT1) User Manual: 28 - Troubleshooting Faults

Pages 403 to 412 of 486, from Hand-Held Terminal (Catalog Number 1747-PT1) User Manual

The original document is the PDF (1.5 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-PT1

Page 403

Chapter

28

Troubleshooting Faults This chapter: • lists the major error fault codes • indicates the probable causes of faults • recommends corrective action Chapter 27 also lists the error codes, under word S:6.

Troubleshooting Overview

The following general information applies to troubleshooting.

User Fault Routine Not in Effect You can clear a fault by one of the following methods: • Manually clear minor fault bits S:5/0 – S:5/7 and the major fault bit S:1/13 in the status file, using a programming device or DTAM. The processor then enters the Program mode. Correct the condition causing the fault, then return the processor to the Run or Test mode. • 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. • 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. Refer to chapter 27 for more information on status bits S:1/13, S:1/8, S:1/10, S:1/11, and S:1/12. Application Note: You can declare your own application-specific major fault by writing your own unique value to S:6 and then setting S:1/13.

User Fault Routine in Effect – SLC 5/02 Processors Only When you designate a subroutine file for your user fault routine, the occurrence of recoverable or non-recoverable user faults will cause 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 will then continue in the Run mode. If the fault is non-recoverable, the subroutine can be used to send a message via the Message instruction to another DH–485 node with error code information and/or do an orderly shutdown of the process. The subroutine does not execute for non-user faults. The user fault routine is discussed in chapter 29.

28–1

Page 404

Chapter 28 Troubleshooting Faults

Status File Fault Display

The status file displays applying to major and minor faults are shown below. The displays are accessible offline and online under the EDT DAT function. Press NEXT__FL until you get to the status file. Move between displays by pressing NEXT__PG or PREV__PG.

SLC 5/02 Processors B C D

Status File S2:5 Minor Fault 0000 0000 0000 0000 S2:6 Fault Code 0000H Desc: No Error S2:29 Err File: 0 Indx Cross File: No S2:24 Index Reg: 0 Single Step: No S2:5/0 = 0 PRG ADDRESS NEXT FL PREV FL NEXT PG PREV PG F1

A

Fixed and SLC 5/01 Processors

F2

F3

F4

S2:0/0 = 0 PRG ADDRESS NEXT FL PREV FL NEXT PG PREV PG F2

F3

F4

C D

F5

Status File Arithmetic Flags S:0 Z:0 V:0 C:0 S2:0 Proc Status 0000 0000 0000 0000 S2:1 Proc Status 0000 0000 1000 0001 S2:2 Proc Status 1000 0000 0000 0010

F1

B

F5

Status File S2:5 Minor Fault 0000 0000 0000 0000 S2:6 Fault Code 0000H Desc: No Error S2:3L Program Scan [x10mS] last: 0 S2:3H Watchdog [x10mS] 10 S2:5/0 = 0 PRG ADDRESS NEXT FL PREV FL NEXT PG PREV PG F1

A

F2

F3

F4

F5

Status File Arithmetic Flags S:0 Z:0 V:0 C:0 S2:0 Proc Status 0000 0000 0000 0000 S2:1 Proc Status 0000 0000 1000 0001 S2:2 Proc Status 1000 0000 0000 0010 S2:0/0 = 0 PRG ADDRESS NEXT FL PREV FL NEXT PG PREV PG F1

F2

F3

F4

F5

A, B, C, and D in the figure above indicate the location of fault information: A –Word S2:1. Bit S2:1/13 in this word is the major fault bit. Clear the fault bit at this display by setting S2:1/13 to 0. Press the [F1], ADDRESS, type S:1/13, press [ENTER], type 0, press [ENTER]. B –Word S2:5. Minor fault bits. Clear the fault at this display by setting the bits to 0. Press the [F1], ADDRESS, type in the address of the minor fault bit, press [ENTER], type 0, press [ENTER]. C –Word S2:6. Fault code. Clear the code at this display by setting S2:6 to 0. Press the [F1], ADDRESS, type in the address of the fault code, press [ENTER], type 0, press [ENTER]. D – Fault description. A textual description of the fault code. Clear at this display by setting word S2:6 to 0.

Error Code Description, Cause, and Recommended Action

The following tables list error types as: • Powerup • Going-to-Run • Runtime • User Program Instruction • I/O Each table lists the error code description, the probable cause, and the recommended corrective action.

28–2

Page 405

Chapter 28 Troubleshooting Faults

Powerup Errors Error Code (Hex) 0001

Description NVRAM error.

Probable Cause

Recommended Action

• Either Noise, • lightning, • improper grounding, • lack of surge suppression on outputs

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.

with inductive loads, or

• 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

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.

with inductive loads, or

• poor power source. 0003

Memory module memory error.

Memory module memory is corrupted.

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

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 local A-B representative to purchase an upgrade kit for your processor.

0011

The executable program file number 2 is absent.

Incompatible or corrupt program is present.

Reload the program or reprogram with A-B approved programming device.

0012

The ladder program has a memory error.

• Either Noise, • lightning, • improper grounding, • lack of surge suppression on outputs

Correct the problem, reload the program, and run. If the error persists, be sure to use A-B approved programming device to develop and load the program.

Going–to–Run Errors Error Code (Hex)

with inductive loads, or

• poor power source. 0013

• The required memory module is absent,

• Either one of the status bits is set in the or • S:1/10 or S:1/11 is not set as required by the program.

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.

• Either install a memory module in the processor, or

• upload the program from the processor to the memory module.

28–3

Page 406

Chapter 28 Troubleshooting Faults

Error Code (Hex) 0014

Description Internal file error.

Probable Cause

Recommended Action

• Either noise, • lightning, • improper grounding, • lack of surge suppression on outputs

Correct the problem, reload the program, and run. If the error persists, be sure to use A-B approved programming device to develop and load the program.

with inductive loads, or

• poor power source. 0015

Configuration file error.

• Either noise, • lightning, • improper grounding, • lack of surge suppression on

Correct the problem, reload the program, and run. If the error persists, be sure to use A-B approved programming device to develop and load the program.

outputs with inductive loads, or

• poor power source. 0016

Status bit S:1/9 has been set by the user program. Refer to chapter 31 for details on the operation of status bit S:1/9.

• Either reset bit S:1/9 if this is consistent

Description

Probable Cause

Recommended Action

Memory error occurred during the Run mode.

• Either noise, • lightning, • improper grounding, • lack of surge suppression on outputs

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.

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

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.

Runtime Errors Error Code (Hex) 0004 with inductive loads, or

• poor power source. 0020

A minor error bit is set at the end of the scan.

• Either 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.

28–4

Correct the programming problem, reload the program and enter the Run mode. See also minor error bits S:5 in chapter 27.

Page 407

Chapter 28 Troubleshooting Faults

Error Code (Hex) 0021

Description

Probable Cause

Recommended Action

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

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

Fixed and FRN 1 to 4 SLC 5/01 processors: Cycle power on the local rack.

Note: A modular system that encounters an overvoltage or overcurrent condition in any of its power supplies can produce any of the I/O error codes listed on pages 28–8 to 28–10 (instead of code 0021). The overvoltage or overcurrent condition is indicated by the power supply LED being off.

!

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

SLC 5/02 processors and FRN 5 and higher SLC 5/01 processors: Re-apply power to the expansion rack.

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

0022

0023

0024

0025

The user watchdog scan time has been exceeded.

Invalid or non-existent STI interrupt file.

Invalid STI interrupt interval.

Excessive stack depth/JSR calls for the STI routine.

• Either Watchdog time is set too low for

• Either increase the watchdog timeout in the user program, or • user program caught in a loop.

• correct the user program problem.

• Either an STI interrupt file number was

• Either disable the STI interrupt setpoint assigned in the status file, but the subroutine file was not created, or • the STI interrupt file number assigned was 0, 1, or 2.

(S:30) and file number (S:31) in the status file, or • 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

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.

the status file (S:3H), or

(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.

28–5

Page 408

Chapter 28 Troubleshooting Faults

Error Code (Hex)

Description

Probable Cause

Recommended Action

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

• Either disable the fault routine file created in the status file, but the fault routine file was not physically created, or • the file number created was 0, 1, or 2.

number (S:29) in the status file, or • 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.

0029

Indexed address reference is outside of the entire data file space.

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.

Correct and reload the user program. This problem cannot be corrected by writing to the index register word S:24.

002A

Indexed address reference is beyond the specific referenced data file.

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

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.

Description

Probable Cause

Recommended Action

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.

• Either more than the maximum of 4 (8 if

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

An unsupported instruction reference was detected.

The type or series level of the processor does not support an instruction residing in the user program.

User Program Instruction Errors Error Code (Hex) 0030

0031 you are using a SLC 5/02 processor) levels of nested subroutines are called for in the user program, or • nested subroutine(s) are calling for subroutine(s) of a previous level.

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

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

28–6

Page 409

Chapter 28 Troubleshooting Faults

Error Code (Hex)

Description

Probable Cause

Recommended Action

0032

A sequencer instruction length/position parameter points past the end of a data file.

The program is referencing an element beyond a file boundary set 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.

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

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

0034

A negative value for a timer accumulator or preset value was entered.

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 detected in an HSC instruction.

The preset value for the HSC instruction is out of the valid range. Valid range is 1–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

A TND, SVC, or REF instruction is called within an interrupt 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.

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.

Code 0036 is discussed in chapter 26.

0038

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

An RET instruction resides in the main program.

Correct the user program, reload, and run.

0034 (related to HSC instruction)

28–7

Page 410

Chapter 28 Troubleshooting Faults

I/O Errors SLOT NUMBERS (xx) IN HEXADECIMAL ERROR CODES: The characters xx in the following codes represent the slot number, in hex. The characters xx become 1F if the exact slot cannot be determined. RECOVERABLE I/O FAULTS (SLC 5/02 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.

Error Code (Hex) xx50

Description A rack data error is detected.

Slot xx

Slot xx

Slot xx

Slot xx

0 1 2 3 4 5 6 7

00 01 02 03 04 05 06 07

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

Probable Cause

Recommended Action

• Either noise, • lightning, • improper grounding, • lack of surge suppression on outputs

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

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

• Insert the required module in the slot. xx53

At 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

• Either disable the slot in the status file module, but a module is present, or • the I/O module has reset itself.

• Remove the module, clear the fault and

(S:11 and S:12), clear the fault and run, run, or

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

• 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

28–8

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.

• 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.

Page 411

Chapter 28 Troubleshooting Faults

Error Code (Hex) xx55

Description

Probable Cause

Recommended Action

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

• If this is a discrete I/O module, replace it count is different from that selected in the I/O configuration. • If this is a specialty I/O module, the card driver is incorrect.

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.

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

xx56

The rack configuration is incorrect.

The rack configuration specified by the user does not match the hardware.

Correct the rack configuration, 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.

Cycle rack 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.

xx58

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

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

Cycle rack 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 (“stuck”).

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 rack 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 A-B approved programming device.

28–9

Page 412

Chapter 28 Troubleshooting Faults

Error Code (Hex)

Description

Probable Cause

Recommended Action xx60 through xx6F

Identifies an I/O module specific recoverable major error. Refer to the user manual for the specialty module for further details.

–

– xx70 through xx7F

Identifies an I/O module specific non-recoverable major error. Refer to the user manual for the specialty module for further details.

–

– 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 rack 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.

The module has been inserted in the rack under power, or the module has reset itself.

No module should ever be inserted in a rack 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.

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

28–10