beautypg.com

Rockwell Automation GMLC Reference Manual User Manual

Page 569

background image

Publication GMLC-5.2 - November 1999

532

Fault Variables

The number of pointers a program stack can contain (“program stack
depth”) varies by controller, as follows:

The Stack Fault occurs when:

the number of program calls to the stack exceeds the program stack
depth, or

the number of returns exceeds the number of calls from the iCODE
script to the program stack.

The effect of this fault on program execution is the same as issuing a Stop
command. When this fault occurs:

program execution halts,

motion on all axes stops at 100% of Maximum Deceleration, and

Feedback remains enabled.

GML Commander displays a message identifying the name of the
function block and the module that triggered the fault.

To correct the problem:

1. Check the block and module referenced in the error message.

2. If the referenced block precedes a Native Code block, the problem

may be iCODE corruption. If so, correct any obvious iCODE errors
in the Native Code block.

Controller

Call Depth

IMC S Class 1394 Turbo

40

IMC S Class 1394

25

IMC S Class Compact

25