Thread: G30 programming
Threaded View
-
03-06-2017 #2
I cannot find exactly what Mach3 (are you using Mach3? Different motion control software might interpret G30/G30.1 slightly differently) does with G30. In LinuxCNC, it is similar to G28 - it moves the controlled position (i.e. generally the centre line of the cutter) to a predefined position. On my own machine, for example, I have defined my G28 position to be over the touchplate set into the bed to make tool height resetting easier. Mach3 allows you to define the G28 position through one of the configuration pages. As far as I can see, though, you set the G30 position by jogging (or MDI gcode entry) to wherever you want it to be, and then enter G30.1 into the MDI dialogue box and this save the current position as the G30 reference position. Then, when you want to return to that position, you can use G30 to go there. However, without testing it I do not know if Mach3 works the same way as, say, LinuxCNC. For example, the LCNC definition of G28 is to go directly there in one move but Mach3 goes to SafeZ first and then does the XY move. However, you can add coordinates to G28 so that Mach3 should first move to those coordinates and then to the G28 position, and I believe that G30 should work the same way.
What is rather confusing is that some documentation refers to G28/G30 as moving to "home" positions. Usually, we think of a machine having only one home position - where the home switches are - so using "home" in this context is a bit misleading. Maybe a better description is "predefined position". What is important, though, is that G28/G30 positions are in machine (absolute) coordinates and not work coordinates.
I'm not sure if this has made anything clearer, but it might give you some clues about how to test it on your machine!
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
I will have a trial for programming job
By hoezap in forum Tool & Tooling TechnologyReplies: 7Last Post: 09-02-2013, 03:00 PM -
NEW MEMBER: Fanuc Macro programming
By curly3456 in forum New Member IntroductionsReplies: 0Last Post: 02-02-2012, 10:20 PM -
Difference between controllers and Cad/Cam programming???
By 0625272 in forum Computer SoftwareReplies: 0Last Post: 23-06-2011, 08:40 PM -
Programming an engraver
By patch in forum Computer SoftwareReplies: 2Last Post: 24-11-2009, 10:11 PM -
Programming Mach3 screens
By Smiler in forum Artsoft Mach (3 & 4)Replies: 7Last Post: 17-01-2009, 03:15 AM
Bookmarks