Hello Guest it is March 28, 2024, 06:23:14 AM

Author Topic: G40.1  (Read 12082 times)

0 Members and 1 Guest are viewing this topic.

G40.1
« on: May 26, 2012, 02:07:01 PM »
I'm using Visual Mill (7.0.0.85 - 2010 64 bit). When posting the g-code (for Mach3-Inch) it includes in the opening line of g-code "G40.1". I can't find any reference to the ".1" for G40.

G-Wizard Editor says that it unrecognized by the controller, however I see it in a lot of the code examples here.

Should it be changed to "G40"? Leave it alone?

Thanks

Mike aka Groundhog

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: G40.1
« Reply #1 on: May 26, 2012, 05:14:48 PM »
It's not supported by Mach3.


Quote
Should it be changed to "G40"? Leave it alone?

Depends on what it's supposed to do.
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
Re: G40.1
« Reply #2 on: May 27, 2012, 12:06:18 PM »
OK, I'm not trying to be a smart ass here, but:

by "unrecognized by the controller" I was referring to the fact that is is not supported by the controller (Mach3).

and by "I can't find any reference to the ".1" for G40" I meant that I don't know what it does and have not been able to find out.

The fact that "I see it in a lot of the code examples here" relates to the fact that from what I see, some other people are using this g-code (G40.1) also.

I had assumed it was used in place of "G40" since there is no G40 command in the opening block - (as I have seen suggested to be good practice to include). However, I am not experienced enough to know for sure and was hoping to bring it to the attention of someone who might, and if so, advise if there is any need for modification.

I realize that this is coded by Visual Mill's post processor. I just makes more sense to me to see if it actually is a potential problem before trying to correct it.

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: G40.1
« Reply #3 on: May 27, 2012, 01:13:44 PM »
Are you using a Mach3 post in Visual Mill, or some other post? I'm surprised if it's in a Mach3 post for VM.

I found a post that said in old versions of Mach3, is was to select advanced comp mode, but it's not used anymore. I've never seen it used, so it must have been a very long time ago.

I would assume that if other people are using G40.1, it's probably because they don't know it's there.


Should you change it to G40? Well, if it was originally there for a different purpose, then I'd say no. But, it's a good idea to have a G40 at the start of your code, so if you don't already have one, then go ahead. If you're not going to change it, then I'd remove it. Anything not recognized by Mach3 shouldn't really be there.

Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
Re: G40.1
« Reply #4 on: May 27, 2012, 02:02:09 PM »
Thanks for the speedy reply!

The post is the Mach3-Inch (dated 4/14/09) that came with VM 2012.

I'll try asking them what is is all about and post back here when (if) I find out.

Until then I am going to change it to G40

Thanks again

Mike aka Groundhog

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: G40.1
« Reply #5 on: May 28, 2012, 11:08:50 AM »
IF I rememeber correctly the G40.1 G40.2 was used to switch back and forth between the original EMC code or the new advanced Code by ART back in the beginning. Mach3 will still take the Gcodes BUT I don't think it does anything with it.

IT is NOT a G40 call. 

Just a thought, (;-) TP
Re: G40.1
« Reply #6 on: May 30, 2012, 11:40:39 AM »
Just FYI -
Mecsoft said they added it at the request of users. However, they didn't say what it does.

Mike

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: G40.1
« Reply #7 on: May 31, 2012, 12:20:22 AM »
OK HERE IS A SCARY thought. I just tested a tool comp program with G40.1 AND G40.2 . WIth version .062

THERE seems to be differrences in TC toolpaths between the 2.

OH BOY, and the G40.1/.2 do NOT show up in the mode line. 

I WONDER EXACTLY what ALL the differences are??? 

Just a Scary thought, (;-) TP

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: G40.1
« Reply #8 on: May 31, 2012, 12:22:56 PM »
FromBrian, The G40.1 is Arts version of TC and the G40.2 is the original EMC TC code.

(;-) TP
Re: G40.1
« Reply #9 on: May 31, 2012, 12:39:37 PM »
Thanks for the explanation. I don't have any idea what TC and EMC TC code are, but I don't need to know other than curiosity.

I changed the G40.1 go a G40 in my post processor just to get rid of the one and to add the other for safety.

Mike aka Groundhog