I’m having a problem with Dobot MG400 IO mode.
The project I’m doing is pick and place robot with conveyor.
I’m using Dobot SCstudio to write down the script and then run it on IO mode.
The problem is when I use the dobot emergency button or when I’m press the force stop button (DI_16 default). The robot stopped but the digital output remain the same before I press the button.
That will make my conveyor power on even I press the emergency button.
Is there any solution to clear the digital output when we press the emergency stop button or force stop button?
or is there any possible way to check the status of the robot in the script then use if else to make the robot turn off all the digital output. (ie. if (robot is in stop status) then DO_OFF )