Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: M250cnc on October 15, 2009, 11:23:15 AM
-
Is there a wizard to produce G76 code ?
Or could someone post code for 1.5mm pitch thread 8mm dia x 20mm long in full G76 format
So i can configure my Post Processor
Thanks
Phil
-
The simple threading wizard does G76. A look in the Turn manual will give you all the words that can be used, which are needed and which are optional.
Hood
-
Sorry thought G32 was the simple one.
When i run my cam generated code i get the chamfer at the beginning of the pass rather than at the end, but it is all in the order is documented in the manual.
I just wanted to see where the error was, i will go and produce some code now.
Thanks Hood
-
Order shouldnt matter.
Hood
-
OK, if it doesn't matter about order i may have another problem. ;D
I'm only dry cutting at the moment.
The X & Z both feed in together then there is a small X movement, then the Z moves at pitch speed.
When that Z depth is reached there is a G00 out on the X axis then a G00 feed on the Z axis back to the start when it all repeats.
I have already found other error in the Post Processor for Screwcutting.
Phil
-
What CAM are you using?
Hood
-
FWIW,
How about using the wizard and generate the same code. Only difference change the M0176.mis file such that it will generate code for G76 and then for a G32.
RICH
-
Hood, Thanks OneCNC
One error i have noticed with the post processor is if i fill in the box for a 3mm retract the post processor adds a decimal point so i get a .3mm pullout. ???
Rich, Thanks i have just tried the wizard "Simple Threading" that produced G76 code.
I am now going to try the Mach code.
Phil
-
OK just tried the Mach code and have some questions.
On ports/Pins, Turn options there are some default values for threading.
Do these values over ride what is posted in the code if a value is included in the code or only if a value is missing from the posted code
These would be listed as optional on page 10-16 on ver 1.84 manual. ?
Phil
-
They should only be used if none are in the code. The wizard also has additional settings which you get to by pressing the Settings button in the wizard.
Hood
-
Hood
So there are no misunderstandings i can produce most of the optional settings in my cam.
So the ones that i can produce with cam should i remove/blank those settings on the Turn Options page and let cam do it.
Or remove the optional settings from cam and let Turn Options do it.
What in your opinion would be the best way ?
Thanks
Phil
-
No need to blank out, I have just looked and I have different settings in each of these places and they are ignored if my G76 has them in it.
Hood
-
Phil,
THREADING DEFAULTS:
Section 5.4.7.2 page 5-9 in the Using Mach 3Turn manual says that a default value will be used if a value in a G76 canned cycle is omitted by the post processor.
RICH