IO switches at startup/shutdown
Posted: 03 Aug 2022, 16:19
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
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