beautypg.com

Program control blocks, Chapter, Restart program – Rockwell Automation GMLC Reference Manual User Manual

Page 366

background image

Publication GMLC-5.2 - November 1999

Chapter

12

Program Control Blocks

Program Control blocks provide a convenient way of intelligently
restarting and ending the application program. Blocks for restarting and
ending the program are included in this section.

The following table presents the icons for each block in this category
along with a brief description. More detailed descriptions of the blocks
are contained on the pages following this table.

Restart Program

Use the Restart Program block to:

Restart the application program from the Start block, thereby
allowing the diagram to re-boot itself (Restart Type).

Provide a marker in the diagram to allow the program to be restarted
from a location other than the Start block (When Restart Type).

The Restart Program block resides on the Main Palette.

Use this block:

To:

• Restart the application program, causing the diagram to begin

again from the Start block (Restart Type).

• Provide a marker in the diagram that leads to other program

blocks, which must be executed prior to ending the GML
Commander program, when a fault occurs or when the program
is intentionally stopped (When Restart Type).

• Stop the execution of your GML Commander program (End

Type).

• Provide a marker in the diagram that leads to the execution of

any required blocks before ending the program, when a fault
occurs or when the program is intentionally stopped (When End
or Fault Type).