goscommons / CNC-Plasma-Table

An open source CNC torch table for metal cutting
Other
5 stars 2 forks source link

Post processor needs to be wrighten #14

Closed polemidis closed 6 years ago

polemidis commented 6 years ago

The function of the post processor is to add to or change the G-code that the CAM software generates in the specific machine's dialect. Our CNC Plasma uses the minimal grbl g-code parser, and even though there are widely available post processors for the grbl, code have to be added to facilitate the a) automatic Z axis zeroing with a floating table b) ??

polemidis commented 6 years ago

This is what I use so far. G17 G90 G38.3 Z-100 F100 ; probing the Z G0 L20 P1 Z-11 ;distance to raise. It "zeroes" the Z G0 Z0 ; placing the torch at the Z distance to start firing

M3 S100000 ; ;torch start G4 P0.6 ; delay, but it needs more

polemidis commented 6 years ago

The line "G0 L20 P1 Z-11 " above, even though it works, is wrong. The number (-11) is mm (defined in G90) command, and the torch is definitely not 11m above the metal, but 1-2mm. When I troubleshouting the Z axis I messed up the steps/mm, most likely I have to recalculate the stepping

polemidis commented 6 years ago

Closing this. Sheetcam haw a good post processor