Hello Guest it is September 24, 2020, 11:16:53 AM

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

0 Members and 1 Guest are viewing this topic.

Offline Zaae

*
  •  119 119
    • View Profile
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,412 7,412
    • View Profile
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

*
  •  119 119
    • View Profile
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