Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched.
Close
Right click to the "POUs"
"Add Object" and create a Function Block
Return your main POU
Define a variable of your function block type
Add a box to main POU and name it your function block
If I have a "main" program that is a CFC. How do I call a sub-program, like say "glue unit" from my "main" CFC?
Right click to the "POUs"
"Add Object" and create a Function Block
Return your main POU
Define a variable of your function block type
Add a box to main POU and name it your function block