After creating a Function POU, it is not possible to then create an SFC POU. Steps to recreate: * Create a new Function POU. SFC is not allowed for Functions, so SFC does not show in the Implementation language dropdown. * Click Add Object -> POU... Function is selected for Type. * Select Program * SFC is not present in the Implementation language dropdown
I added a main action to an SFC step, and then tried to delete it. There is no delete option in the SFC menu nor in the right click menu of the step. I deleted the action from the device tree, but building results in and error saying the action is not defined. Is there a way to delete a main action?
Solved: I started from a fresh project and everything worked. I had a Function Block in the project at one point and deleted it. I think Codesys doesn't fully clean up on deletes.
I'm installed the CODESYS Control for Linux SL package and am trying to use the Extension API to call a simple C function. When I get to the step to run "make all" on the Linux machine, I get the error: build interface header: out/CmpFirstTestItf.h from CmpFirstTestItf.m4 ERROR: This functionname does not contain _cext (this is mandatory, see help for details): DEF_API(void',CDECL',external_struct__fb_init',(external_struct_fb_init_struct *p)',1,0x1F77E075,0x00000001) Why does "Generate Runtime System...