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...
I don't know which but it turns out it is a matter of a missing license on the SoftPLC.
I am using a softPLC.
I know this post is a little dated but did you find an answer? I am seeing the exact same issue with the latest version of Codesys, 3.5.17.10.
After working to migrate our code to the internal Git implementation I have stumbled across a few very annoying shortcomings of the current implementation. This is by no means meant to be an exhaustive list but simply what I found most annoying and would prefer to see fixed first: No way to check out a specific change-set. It is only possible to go to head of branch. No way to compare several commits. You either have to do this manually using a commandline or commit by commit. It seems tests cannot...
In case someone else runs into this problem I got a quick response from the support team. The credentials are store in Windows' credential manager. Change the password to the correct value and it will work. If you prefer to enter the password often you can probably just delete the entry.
I am not sure where to post this bug but someone might be able to help me here. I am trying to set up git for codesys and it has installed fine and I had access to my repository. I had to do something in another project file and when setting up git again I enabled saving my credentials and apparently entered something wrong. This results in a dialog box stating "failed to parse supported auth schemes: The operation identifier is not valid." There is no apparent way of changing my user name and password...