Can CFC and ladder programs run in single codesys project

140 Views Asked by At

Can someone please tell me how to run ladder program (PRG) and cfc(PRG)program in one codesys project.

Moreover,what function should I use in codesys CFC programming to take multiple inputs in WORD data type and output will be the one which will have some value? TIA

1

There are 1 best solutions below

0
On

You can add as many programs as you want of any kind:

Creating new Program

Just make sure to add them into the Task Configuration for them to run:

enter image description here