I am using codesys on the revpi connect.
Last thing i did was test the shutdown function trough SysProcessExecuteCommand and this works now.
Only problem i have is that the io is switching multiple times during shutdown which makes my cylinders move.
obviously this is unwanted and in some cases even dangerous. The switching from on to off is expected but not on/off/on/off/on/off
What is causing this behavior and what would be the correct way to solve this?
my setup is:
-revpi connect
-revpi DIO ( left side )
-codesys 3.5sp17
IO switches at startup/shutdown
Re: IO switches at startup/shutdown
My first idea would be to try a minimal application (e.g. only one valve + shutdown logic) to see if the problem persists. If so, the next thing to check is if another application is writing to the process image (e.g. revpipyload).