beautypg.com

Rockwell Automation GMLC Reference Manual User Manual

Page 368

background image

Publication GMLC-5.2 - November 1999

Restart Program

331

The Restart Program block, with When Restart selected, must be used
with another Restart Program block with Restart selected. Otherwise a
Restart Program block with When Restart selected does nothing. A GML
Commander diagram can contain any number of Restart Program blocks
with Restart selected, to restart the program from many different places,
but the diagram can contain only one Restart Program block with When
Restart selected.

The following diagram shows how a Restart Program block with When
Restart selected can be used to bypass an initialization module when
restarting the program.

The Restart Program block with When Restart Program selected has an
input node. It can be used in-line in a diagram, as it does nothing unless it
is called by a Restart Program block with Restart selected. Thus, the
following diagram is equivalent to the example above, but the function of
the Restart Program block with When Restart selected is less obvious.