beautypg.com

Testing your diagram – Rockwell Automation GMLC Reference Manual User Manual

Page 61

background image

Publication GMLC-5.2- November 1999

24

GML Commander Overview

A Module

A module is essentially a container for encapsulating one or more blocks.
At the root level of each diagram is the main module consisting of a Start
and End block with one or more functional blocks connected together. All
modules in a diagram appear in the Diagram Explorer.

Testing Your Diagram

The Diagram Window also provides the framework within which
application programs can be translated and tested. During program
execution, the diagram shown in the Diagram Window can be traced,
stepped and stopped.

When you are debugging a diagram’s logic or performance, the visual
progress of a trace program’s execution is shown. Execution of specific
functions and partial or total programs are monitored and supervised.
Tools, for example, breakpoints, are provided for graphical debugging. A
trace function highlights blocks as they are executed in the motion
controller allowing you to follow the program execution. In addition, the
ability to split the Diagram Window into two panes allows you to visually
trace two paths, e.g., separate modules or separate tasks.

See the Going Online chapter for more information.

Red

Stop motion

Yellow

Change setting or configuration

Brown

Affect program flow control

Pink

Provide I/O control

Violet

Provide operator interface functions

Light Green

Provide communications facilities

Light Yellow

Provide calculations, tables, and other similar functions

White

Provide miscellaneous functions that are not available in the
categories above

Color

Function