Quantcast
Channel: Reprap Forum - Firmware - Marlin
Viewing all articles
Browse latest Browse all 12090

Marlin as CNC-Firmware: Z-Probe used to detect work piece height?

$
0
0
Hello together,
i use the Marlin-Firmware at my CNC-Router as the Firmware on the Ramps for my CNC. I am very happy with it because it works very well.( I use it also at my Deltaprinter.)

At the moment i want to go the next step and detect automatically where my workpiece (stock) is. (Only the Z-Height)
For this i mounted a rc-servo with a attached microswitch beside my spindle.

The sequence i have in my mind is as follow:
1) I move the spindle manually above the work piece(only x- and y-movement)
2) I execute a special GXY-command (maybe modified G29,G30) to detect the surface of my workpiece.

This special "special GXY-command (maybe a modified G29,G30-command)" should move the servo controlled microswitch down to z- (M280), then move the z-axis down until the microswitch touches the workpiece and store the this value -for example- as zero. After that the z-axis is moved up und retract the micro switch(again M280).

I tried to modify the G30-Command and use this. But it didn't worked(i am only a mechanical engineer.)....

Most of the attempts i did at my deltaprinter - just as test environment - Could that(delta) be a problem?

If anyone has a idea about keywords to search here in the forum or any blogs in the www - would be very grateful!
thank you very much!

Nathan

P.S.: information about our router and printers: www.6brueder.wordpress.com

Viewing all articles
Browse latest Browse all 12090

Trending Articles