Git staging not working as expected
So now the exception handler is working I can set a global variable. But when the exception is called my visualization is made unavailable. I can see the tasks not halted by the watchdog keeps increasing the cycle count but the IEC-cycle count stops increasing. Shouldn't the watchdog only halt the task causing problems and letting the rest of the system continue working? I tried creating a sub-application to my main application and move the visualization there. This results in the sub-application...
Thank you. That helped me move forward.
Thanks for the input. I was afraid what you described was the way to do it at the moment. At least improvements are coming because the current git implementation is in some cases worse than just using the binary files and an external VCS.
What is the preferred way to handle a watchdog timeout on a SoftPLC? According to the documentation the timed out task will be suspended and that is fine but is there some way to determine this from the code to handle the event by e.g. raising an alarm or restarting the SoftPLC?
Has anyone figured out how to compare two "random" commits in Git? E.g. master before a branch and the fifth commit on the branch. Going through each commit one at a time is slow and basically impossible to do with a complete overview.
As it turns out after further investigation my local SoftPLC wasn't even set up to support WebVisu as it should have been by an installer. I tinkered around in CODESYSControl.cfg (which sets up my SoftPLC - I don't know if the name is universal) and added: to [ComponentManager] Component.3=CmpTargetVisuStub Component.4=CmpWebServer * Component.5=CmpWebServerHandlerV3 a new section: [CmpTargetVisuStub] Program="CODESYSControlService.exe" CommandLine=-r targetvisu.cfg There must be some description...
As it turns out after further investigation my local SoftPLC wasn't even set up to support WebVisu. I tinkered around in CODESYSControl.cfg (which sets up my SoftPLC - I don't know if the name is universal) and added: to [ComponentManager] Component.3=CmpTargetVisuStub Component.4=CmpWebServer * Component.5=CmpWebServerHandlerV3 a new section: [CmpTargetVisuStub] Program="CODESYSControlService.exe" CommandLine=-r targetvisu.cfg There must be some description of these files available but as I got...