Only one z probe before M3
Hello
I'm new here!!! First I want to apologize for my bad English!
I built a CNC plasma cutter. The machine is controlled with Ramps 1.4 and repetier firmware. Everything is fine. Now I want to control the z-axis in such a way that after the M3 S255 command (switch plasma relay on) the Z-axis first moves to the z-max limit switch and then back to a certain height. Only then is ignited. Is this possible?
Comments
G28 Z0
G0 Z20
M3 S255
As I understood M3 S255 is igniting for you so going first to position would be the logic consequence.
If you want this all in M3 then it is not supported and you would have to edit the sources to do exactly that.
I tried it and it works. My mistake was that the zero point of the Z axis was up. I changed that now in the firmware. I would like to try to execute these commands with M3. Can you give me a hint where in the firmware I can search there?Thanks a lot!
I was able to solve the lifting problem (G0 Z5) with ENDSTOP_BACK_ON_HOME 5. Now it would be nice if M3 S255 could trigger the command G28 Z0.
Where could I possibly set that?
greetings from Liechtenstein
Thank you anyway!