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

How do you call another program from a CFC diagram?

2022-10-06
2022-10-12
  • jmarshall9120 - 2022-10-06

    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?

     
    • sugur - 2022-10-12

      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

       

Log in to post a comment.