Welcome, Guest. Please login or register.
Did you miss your activation email?
July 16, 2018, 04:01:29 AM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  General Mach Discussion
| | |-+  G28 moves twice, not understanding why.
Pages: 1   Go Down
Print
Author Topic: G28 moves twice, not understanding why.  (Read 250 times)
0 Members and 1 Guest are viewing this topic.
Zaae
Active Member

Offline Offline

Posts: 115


View Profile
« on: April 16, 2018, 05: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:
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
Logged
RICH
Global Moderator
*
Offline Offline

Posts: 7,219




View Profile
« Reply #1 on: April 16, 2018, 06:26:23 PM »

Have a look in the manual ( 10.7.10 ) about the G28 command.

RICH
Logged
Zaae
Active Member

Offline Offline

Posts: 115


View Profile
« Reply #2 on: April 16, 2018, 07:01:23 PM »

Ahh, well there it is in black and white.

It's amazing what you can learn when you rtfm  Smiley

Thanks,
Z
Logged
Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.20 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!