Solved [Problem] Homing Z works with Macro but not with Home Buttons
-
Which firmware version?
-
Firmware Electronics: Duet WiFi 1.04 (bought from one of the official Duet suppliers)
Firmware Version: 2.01(RTOS) (2018-07-26b2)
WiFi Server Version: 1.21
Web Interface Version: 1.21.2-dc42 -
I have a fairly complex home z operation, so I put all of it in homez.g and then I call that from homeall.g -- that's simple -- in fact in my homeall.g I simply have
M280 P5 S160
G91
G1 Z4 F200 S2
M98 Phomeaxis.g
G90
M98 Phomez.gso I can make whatever adjustments I need in each script for doing homing
-
I noticed what you said @kazolar .
I fixed toward direction for my Z axis to be rightful and easier to understand. It now goes in right direction (forward goes up, with Z increasing).
When I use G30, G30 S-1 or G30 S-2, movement is in the wrong direction (so upward instead of downward); before the toward change for my Z axis it was going downward.
So G30 direction and stop while probe is triggering does not work. -
@tommy_fr said in [Problem] Homing Z works with Macro but not with Home Buttons:
I fixed toward direction for my Z axis to be rightful and easier to understand. It now goes in right direction (forward goes up, with Z increasing).
Increasing positive Z must be the nozzle moving upwards or the bed moving downwards, so that the Z coordinate is the height of the nozzle above the bed.
-
Yes, it was what I meant. Sorry if my english was incorrect. The nozzle is moving upwards with increasing positive Z.
-
@tommy_fr said in [Problem] Homing Z works with Macro but not with Home Buttons:
Yes, it was what I meant. Sorry if my english was incorrect. The nozzle is moving upwards with increasing positive Z.
In that case, I don't understand how G30 commands can be moving in the wrong direction; except that some variations of G30 command move the nozzle t the dive height (M558 H parameter) first, and all G30 commands move the nozzle back to the dive height after probing.
Have you tested the Z probe as described at https://duet3d.dozuki.com/Wiki/Test_and_calibrate_the_Z_probe ?
-
M558 H parameter was H5, I have changed it to 1 to try, and there is no difference.
Yes, I have tested Z as described at https://duet3d.dozuki.com/Wiki/Test_and_calibrate_the_Z_probe.But I wonder if there is a scale issue, because on DWC I have that for machine control:
It is normal X and Y lines have different values from Z line.
And when I click, for example, on Z+5, nozzle moves five times more longer away than on X+10.
So, is there a scale issue?UPDATE: I edited my config.g file and changed Z steps per mm which was totally wrong (I set a M5 lead screw system instead of a M8, but value was still incorrect, changing from 4000 to 2560, I finally changed it to 400 which seems to be right or close of the rightful value). Z line on DWC did not change but movement matches more with the first both lines, X and Y.
-
So does Z homing work now?
-
@dc42 said in [Problem] Homing Z works with Macro but not with Home Buttons:
So does Z homing work now?
I just tried with g30 and it seems to work now. I will do further tests in the few coming day.
-
I tested it within several ways, which with bed compensation and it works great.
Thank you to @dc42.You can mark it as solved.