Weird Z axes movement from - to +
-
What jumps out at me is that you don't need to be using G92 to set the Z position. This is set using the machine limits from the config.
Can I suggest a replacement homez?G91 ; relative positioning G1 H1 Z120 F1500 ; move z to the high end stopping at the endstop (first pass) G1 H2 Z-5 F2400 ; go down a few mm G1 H1 Z10 F300 ; move z up once more (second pass) G90 ; absolute positioning
The G1 H1 ZXXX can be any number equal to or higher than your max limit. I typically use 999 as I'm lazy
-
@jay_s_uk Ahh I see. Changed the homez but still does not solve my problem. As said I can move G1 Z-30 or Z-40 etc. This works fine. But every time I do a move in the opposite direction It just go to endstop no matter what I am typing
-
Theres nothing I can see what would cause that.
Are you using the ooznest DWC version?
And are you just using the jog buttons to make the movements? -
@jay_s_uk I am typing in the g-code command. If using the buttons it work fine.
Need to check the other question. Will Come back later. -
What are you typing in?
-
@jay_s_uk just in the command line in Web duet control. But I have the feeling that it this also provoke an error in offset probing.
-
I meant what commands are you typing in
Just purely G1 Z5? -
@jay_s_uk Yes. Purely G1 Z-10 and then another one eg. G1 Z5
-
Very strange on why its going back to home. I'm afraid I've not seen this happen on the CNC i've used with RRF. Maybe someone else can chip in?
-
@MortenMod Are you confusing relative and absolute positioning? The
G90
in your config.g sets 'Absolute coordinates'. So, assuming you are starting at Z110 after homing, you send G1 Z-30, it moves to position Z-30mm (or at least tries to, but it will generally stop at Z0). But it's moving from point Z110 to point Z-30, ie 140mm, not moving -30mm. If you sent G1 Z-30 again, it would not move, because it is already at Z-30. So when you send G1 Z5, it moves to Z5, which is 35mm away from Z=-30.If you want G1 Z-30 to move down 30mm from it's current position (say Z110 after homing), you need to send
G91
first, which switches to relative coordinates; ie if you send G91, G1 Z-30, G1 Z-30, it will move down 30 (to Z80), then another 30mm (to Z50).(I'm not sure I've explained this very well, but hopefully you get the idea!)
Ian
-
@droftarts Aahhhhhh
Thanks a lot. It helped!