beautypg.com

Rockwell Automation GMLC Reference Manual User Manual

Page 373

background image

Publication GMLC-5.2 - November 1999

336

Program Control Blocks

Unlike an End Program block with End selected elsewhere in the diagram
(which executes the When End or Fault type block), an End Program
block with End selected in the fault handler itself unconditionally stops all
tasks and ends the program. Thus, it is imperative that you use an explicit
End Program block with End selected in the fault handler—rather than
just connecting the bottom (false) node of the last If Expression block to

the

block of the module—if neither a global or runtime fault is

active.

!

ATTENTION: An End Program block, with End
selected, in the fault handler unconditionally ends the
program.