SoMachine v.4.3 which is Schneider's version of Codesys.
I am writing a small program. One POU is in SFC But this message box pops up and says "object reference not set to an instance of an object" I get this message any time I try to build the program or log into the controller.
Everything works fine in all the POUs and it builds just fine until I add the program call for the SFC POU. Then I start getting this message. The SFC POU builds just fine without any errors, and it is only after I add the program call under task configuration that I start getting this message.
Any help on what is wrong?
I am writing a small program. One POU is in SFC But this message box pops up and says "object reference not set to an instance of an object" I get this message any time I try to build the program or log into the controller.
Everything works fine in all the POUs and it builds just fine until I add the program call for the SFC POU. Then I start getting this message. The SFC POU builds just fine without any errors, and it is only after I add the program call under task configuration that I start getting this message.
Any help on what is wrong?