Hello Guest it is December 07, 2024, 10:03:13 PM

Author Topic: G28 moves twice, not understanding why.  (Read 1903 times)

0 Members and 1 Guest are viewing this topic.

Offline Zaae

*
  •  120 120
G28 moves twice, not understanding why.
« on: April 16, 2018, 06:38:11 PM »
Hello all,

This isn't really that important in the grand scheme of things, but I'm curious why this happens.

At the end of my gcode, which uses several different G52 offsets, I've got this:

Code: [Select]
G28Z0
M44 (----------------------vac disable)
G52X0Y0
G0X0
G28Y0

Basically it moves to the center of my jig in X, then uses G28Y0 to bring the cutter closer for a manual tool change. This all works well enough, but for some reason, the G28Y0 moves the Y axis back to the center of the jig first, before eventually changing direction, and making its way to the actual Y axis home switch.

It doesn't hurt anything, it's just wasted movement. Any ideas why this happens?

If it makes any difference, I am using Fixture 1 (G54), with its X0Y0 being the center of a jig.

Thanks,
Z

Offline RICH

*
  • *
  •  7,427 7,427
Re: G28 moves twice, not understanding why.
« Reply #1 on: April 16, 2018, 07:26:23 PM »
Have a look in the manual ( 10.7.10 ) about the G28 command.

RICH

Offline Zaae

*
  •  120 120
Re: G28 moves twice, not understanding why.
« Reply #2 on: April 16, 2018, 08:01:23 PM »
Ahh, well there it is in black and white.

It's amazing what you can learn when you rtfm  :)

Thanks,
Z