EcoStruxure Machine Expert version 1.1 does not support the M258, LMC058 and LMC078 controllers.

Function Block Instance

Overview

Function blocks are called through an instance which is a reproduction (copy) of a function block.

Each instance has its own identifier (instance name), and a data structure containing its inputs, outputs, and internal variables.

Instances like variables are declared locally or globally. The name of the function block is indicated as the data type of an identifier.

Syntax for Declaring a Function Block Instance

<identifier>:<function block name>;

Example

Declaration (for example, in the declaration part of a program) of instance INSTANCE of function block FUB:

INSTANCE: FUB;

The declaration parts of function blocks and programs can contain instance declarations.