Xcarve Z axis turns wrong way

OK, before I get #$%@ upon, I have triple checked my wiring, went to Easel and did the configuration, while in Easel, I moved the X Y and Z with the left right up down arrows; they all moved in the correct direction. Homing switches are in and wired correctly but when I tag the homing button in Easel, the motor tunes the wrong way. I tried the Easel tag to reverse the motor but still, the motor turns the wrong way.

help me Obi Won


when I say the motor, I mean the Z axis…

here are my grbl settings

my unit is 500mm in the X and 1000mm in the Y

$0=40 (step pulse, usec)
$1=4 (step idle delay, msec)
$2=64 (step port invert mask:01000000)
$3=3 (dir port invert mask:00000011)
$4=0 (step enable invert, bool)
$5=1 (limit pins invert, bool)
$6=0 (probe pin invert, bool)
$10=3 (status report mask:00000011)
$11=0,020 (junction deviation, mm)
$12=0,002 (arc tolerance, mm)
$13=0 (report inches, bool)
$20=1 (soft limits, bool)
$21=1 (hard limits, bool)
$22=1 (homing cycle, bool)
$23=3 (homing dir invert mask:00000011)
$24=25,000 (homing feed, mm/min)
$25=750,000 (homing seek, mm/min)
$26=250 (homing debounce, msec)
$27=1,000 (homing pull-off, mm)
$100=40,000 (x, step/mm)
$101=40,000 (y, step/mm)
$102=188,976 (z, step/mm)
$110=8000,000 (x max rate, mm/min)
$111=8000,000 (y max rate, mm/min)
$112=500,000 (z max rate, mm/min)
$120=500,000 (x accel, mm/sec^2)
$121=500,000 (y accel, mm/sec^2)
$122=50,000 (z accel, mm/sec^2)
$130=290,000 (x max travel, mm)
$131=750,000 (y max travel, mm)
$132=100,000 (z max travel, mm)

Try this:



Larry, I am the guy having issues with my Z axis not moving in the correct direction. I made the changes to the configuration per your suggestion but alas, the z still moves in the downward direction, no matter what. When I connect using the tty.exe the unit is found, it unlocks just fine. I send G90 for absolute moves, G21 for millimeters and the x and y move fine with a G01 X100 Y100 F8000. When I send the $H to start the homing, the Z moves for a split second, in the downward direction, and then it reports an error ALARM Homing fail with an OK on the next line.

Take a look at the potentiometer on your gShield and compare the adjustment of the Z axis to the adjustment shown in the photo below for the X and Y axis. If you have the NEMA 23 stepper motors Inventables sells then adjust the Z axis potentiometer to the position shown in the photo. If you have the NEMA 17 stepper motors that Inventables sells then move the adjustment to the left of the position shown in the photo by the width of the slot in the top of the potentiometer.

If you are comfortable with using a voltmeter in a tight place then I can give you a better procedure for setting the current limit, but the above suggestion should work for a test point.

1 Like

Z- is working great now but when homing, it vibrates like crazy and very noisy. Is there yet another setting in the configuration that I can mess with to reduce this?

You shouldn’t have any vibration to speak of. Check your V wheel adjustment, Z motor screws for tightness. You could try some dry lubricant on the ACME screw or M8 screw, whichever you have.

The Z axis is noisier than the X and Y. Would help if you could make a video with audio to see if yours is nosier than mine.

Hi Larry,

I have the same problem with start homming, this is my GRBL settings


Have you run the machine setup in Easel? That’s the best place to start. Your grbl settings look reasonable except for $3 and $23. These values are generally the same.

Yes, yesterday right job, today has problems with the direction homing

What is happening when you initiate a homing cycle?

What should happen: the Z axis should move up to the homing switch, when it contacts the switch it should move off the switch and then approach it again at a slower pace, then stop and move off the switch a small amount.

After the Z axis finishes the X and Y axes should move simultaneously toward their homing switches and exhibit the same behavior ie stop at the switch, move off, approach again slowly, then move off a little and stop.

The Z axis move correct in direction for the homing switch, hen it contacts the switch it should move off, but the axis X and Y move simultaneously in wrong direction the oppositive for the homing switch.

In the machine setup easel (test your wiring), all axis move in direction correct, but the next step in Limit switch setup, the axis X and Y move direction opposite, the option “change setting for homing direction” it does not work.


Change $23 to zero in grbl


Do you know how to do this?

No, can you tell me how?

Search for “Direct Access to Grbl”.

Name change - search for “Using Grbl - Direct Communication”

Thank a lot, problem solved.