beautypg.com

User program instruction errors – Rockwell Automation 1747-PT1, D1747NP002 Hand-Held Terminal User Manual

Page 408

background image

Chapter 28
Troubleshooting Faults

28–6

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
created in the status file, but the fault
routine file was not physically created,
or

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

Either disable the fault routine file
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.

Error Code

(Hex)

Description

Probable Cause

Recommended Action

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.

Either more than the maximum of 4 (8 if
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.

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

0031

An unsupported instruction reference was
detected.

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

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.

User Program Instruction
Errors