Modules: general information

Composite blocks

You can also insert a composite into a module. Composite blocks are user-defined blocks that represent a group of function blocks or Sequential Function Chart (SFC) steps. Composite block execution is synchronous with other function blocks in the module.

Composite blocks can be linked or embedded. The main differences between linking and embedding blocks are in storing the algorithm data and updating the data after the block is created. When you link to a composite block, it remains linked to the library composite template it was created from. The system updates the linked block when you modify the structure of the original template. Linked data is stored in the source block; the linked block stores the location of the source block and displays a representation of its template. The parameters in a linked block can be unique for that block.

When you embed a block, the block does not change if you modify the source block. Embedded blocks become separate, standalone blocks. You can edit the structure of an embedded block, and the original composite block remains unchanged.

The modular approach to configuration makes troubleshooting easier and reuse of the modules possible. This approach also avoids the complications of creating one large program to perform the control strategies for each controller and the difficulty of defining and accessing the control data based on the physical location.

Sometimes implementing a control strategy in a composite block works as well as it would in a module. Some of the factors that determine whether you should use a module or a composite block include: