![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| Mach Software (ArtSoft software) Discuss Mach 1 , 2 and the new Mach3 here NC software here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
Is there a way to make Mach3 config settings directly from gcode? Sometimes I forget to set the Config > General > IJ Mode to "absolute". I would like to get this done automatically when the gcode runs. I recall that VB scripting (I think) can be used. Is the above possible? |
|
#3
| ||||
| ||||
| Just a note, that if you have a G90 or G91 at the start of your g-code, the G90.1 needs to be on a different line, or it won't work correctly. The two conflict with each other. I start my code like this. G20 G40 G90 G91.1 M6 T1 S10000 M3 .....
__________________ Gerry Mach3 2010 Screenset http://home.comcast.net/~cncwoodworker/2010.html (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management) |
|
#4
| |||
| |||
| I already have G90 (absolute), but was not aware of G90.1 (absolute for IJ). Do these two have to be on different lines? Someone says G91 and G91.1 do need to be on different lines. How about tool length offset: G43T10 G2Z1H10 There are the T and H. Since I do not use tool length offset, I plan to program my Powermill post processor to remove the T and H commands. Will that be OK? I of course use G49 (cancel tool offset). How about Fixture offset: G54 to G59? There is no "cancel fixture offset" G command. I do not use fixture offset. If by default it is set to G54 and Mach3 has fixture offset information on G54, then how can I cancel this. Or, how can I zero out the G54 offset information from gcode? Thanks, |
|
#5
| ||||
| ||||
| Yes, you need to have them on different lines. G90 G90.1 You need to use G43 H10 You don't use the T there. I think you'll get an error trying to use G2Z1H10 I don't know how to zero G54 from G-code, or if it's even possible. You can easily crete an M code macro to do it. You might also want to use G92 instead.
__________________ Gerry Mach3 2010 Screenset http://home.comcast.net/~cncwoodworker/2010.html (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management) |
| Sponsored Links |
|
#6
| |||
| |||
| I found this searching the internet. G92.1 (cancel global offset) G10 L1 P3 Z0 A0 X0 (set tool #3 to have zero height (Z), zero tool tip radius (A) and zero diameter (X)) Not sure how to set tool diameter offset to zero. G10 L2 P3 X0 Y0 Z0 (Set fixture #3 to 0,0,0 offset) I tested the two G10 above in Mach3 and they do work. With the above, I do not have to get into the more complicated M code macro or scripting. Thanks, Last edited by georgebarr; 01-30-2011 at 06:23 PM. Reason: Added something |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Differences Between Mach3 Mill and Mach3 Plasma? | cjjonesarmory | Mach Plasma / Laser | 0 | 11-18-2010 09:12 AM |
| Newbie- Using Mach3 with Reprap extruderUsing Mach3 with Reprap extruder | router101 | General CNC (Mill and Lathe) Control Software (NC) | 3 | 11-03-2010 04:46 PM |
| Programming Mach3 by just jogging the axes manually | uplb | Mach Software (ArtSoft software) | 3 | 11-14-2008 08:06 PM |
| need programming help | Joe Miranda | Milltronics | 1 | 10-04-2008 07:08 PM |
| Cnc Programming Course | millmonkey1 | G-Code Programing | 0 | 02-20-2008 02:54 PM |