Assigning the Global Variables
Once the function is placed on the new network assign variables to it.
햲
Assign Variable names in the Global Variable List as shown:
The Body of the POU “Process" should read:
햴
Bind the POU “Process” to the Task “Main”:
Compiling the Program
Compile the project using the
Rebuild All
operation from the tool bar:
Functions Functions and Function Blocks
6-8 MITSUBISHI ELECTRIC
햳 Create a new task in the
Task Pool
named
“Main”.