svenhb / GRBL-Plotter

A GCode sender (not only for lasers or plotters) for up to two GRBL controller. SVG, DXF, HPGL import. 6 axis DRO.
https://grbl-plotter.de/
GNU General Public License v3.0
696 stars 176 forks source link

"Z-Height engrave must be negative" causing problem when z-axis directed down #310

Closed kirevdokimov closed 2 years ago

kirevdokimov commented 2 years ago

I have a plotter where z-axis directed down, so

but I cannot set the values to the setup because pen down should be negative and pen up should be positive.

How to handle this situation?

image

kirevdokimov commented 2 years ago

Oh, I see I can simply use Individual commands to set up what does pen up and pen down means image

svenhb commented 2 years ago

What's about inverting the motion direction via $3? To have the "normal" CNC behavior? https://github.com/gnea/grbl/wiki/Grbl-v1.1-Configuration#---view-grbl-settings

kirevdokimov commented 2 years ago

Oh wow, $3=4 (dir port invert mask:00000100) worked for me, thank you @svenhb :)