beautypg.com

Working with modules, Chapter, Creating a module – Rockwell Automation GMLC Reference Manual User Manual

Page 196

background image

Publication GMLC-5.2 - November 1999

Chapter

7

Working With Modules

A module is one block made up of several related blocks and/or modules.
These blocks and modules together comprise either a larger function or
related functions. Using modules allows you to hide detail and save space.
You can duplicate, copy, move, connect, and encapsulate a module just
like other blocks in the diagram.

Creating a Module

You can create a new module by doing any one of the following:

Select the New Module block from the Main palette.

Select the New Module block from the Diagram Explorer.

Encapsulate several blocks.

Copy, paste, and rename an existing module to use within the same
diagram or from another diagram.

Duplicate an existing module within a diagram as if it was another
call of the original module.

Using the Main Palette

Use this method when you want to create a diagram by starting with a
generalized idea. For example, each module might be a major program
function, such as startup or setup. A new module is empty when you
select it from the palette. You can assign an appropriate name and add
blocks, block parameters, and connections later.

To create a new module: