I'm working with E3D Tool Changer RepRapFirmware for Duet 2 WiFi/Ethernet 3.1.1 (2020-05-19b2).
In order to check if tool is well loaded I implemented this method :
I installed a switch on Tool Graber
I updated config file with :
M950 J0 C"!^duex.e2stop" ; assign duex.e2stop pin to sensors.gpIn, inverted and pull-up activated
I updated tpost files with :
if sensors.gpIn.value = 0 ;if the microswitch is not pressed...
abort "Failed to grab tool"
Sometimes it works, sometimes not...
More precisely, print is aborted because of "tool grab fail" but this is not the case. The switch is well pressed and led switch on duex5 is ON...
I don't understand. Thank you for your help !