Creating a Function Block
A s s i g n ' i n s t a n c e n a m e s ' t o b o t h
i n s t a n c e s o f t h e F u n c t i o n B l o ck ,
STAR_DELTA by typing MCC1 and
MCC2 into the Instance names above
each Instance of the FB. At the system
prompt, click Define Local .
Create entries for the instance names in the header for MCC1 and MCC2 as follows:
An Instance is the copy of the function block for this POU. For this example simply type MCC1
and MCC2. Notice that once entered, the instances are listed in the variable selection window as
+MCC1 and +MCC2 as Type: STAR_DELTA.
The Instances must be declared in the POU Header. As can be seen from the previous figures,
Instance names are added in the same way as adding any other new variable from the POU
body.
Training Manual GX IEC Developer
Functions and Function Blocks
6 - 17