beautypg.com

Unencapsulating the module – Rockwell Automation GMLC Reference Manual User Manual

Page 201

background image

Publication GMLC-5.2 - November 1999

164

Working With Modules

Important: The number of module calls is limited to the size of the

application program stack inside the controller. The
following are the depth limits for module calls:

Unencapsulating the Module

If you’ve encapsulated several blocks into one module, you can reverse
the process by unencapsulating the module.

Important: If you unencapsulate a module that contains several

blocks within a diagram level that already contains
blocks, sorting the old blocks from the newly
unencapsulated ones can be difficult.

I

MC S Class Basic, Integrated

Compact and 1394:

25 calls deep per task

IMC S Class 1394 Turbo:

40 calls deep per task

!

ATTENTION: Recursion can lead to stack overflow.
If stack overflow occurs, the controller does not issue a
stack overflow error. Controller behavior can become
unpredictable. Communications failure may occur,
resulting in the inability to issue direct commands from
GML Commander to the controller. Unpredictable
program execution may result. Motion may not stop.