Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: bob.mullikin on August 20, 2009, 01:59:28 PM

Title: Threading problem
Post by: bob.mullikin on August 20, 2009, 01:59:28 PM
Hello, I'm running v3.042.027  I'm running the following code to test a threading operation.  When I load the code I get an error message that says, "non integer value for integerline 14."  This is just a simple 1" 8tpi routine.  Can anyone suggest why mach3 turn doesn't like it?  If it matters, I used turbocad v 14 and their cam plugin to create the code.

% ( MYAPP01 )

O1

G20

G00 G40 G49 G80 G90

( TOOL COMMENT IS NOT FOUND )

T0101 M06

G00 G90 G54 S779 M03

G43 H1 M08

( OPERATION NAME = OPERATION-1 )

F19.5

( NO COMMENT FOR THIS OPERAION. )

G00 X1.483 Z1.

X0.983 Z0.079

M24

G76 X.998 Z-0.7473 K0.05 D0.02 P1

M05

G91 M09

G00 G28 X0. Z0.

M30

Thanks in advance for your help!!!
Title: Re: Threading problem
Post by: bob.mullikin on August 20, 2009, 02:20:12 PM
Update: I upgraded to v029 and I still have the same problem.
Title: Re: Threading problem
Post by: RICH on August 20, 2009, 02:46:04 PM
Bob,
Why not just use one of the threading wizards?

RICH
Title: Re: Threading problem
Post by: Chip on August 20, 2009, 03:08:38 PM
Hi, Bob

There are 2 things Mach isn't liking in the Plug-in post, see note's in code.

; bob.mullikin

% ( MYAPP01 )

O1

G20

G00 G40 G49 G80 G90

( TOOL COMMENT IS NOT FOUND )

T0101 M06

G00 G90 G54 S779 M03

G43 H1 M08

( OPERATION NAME = OPERATION-1 )

F19.5

( NO COMMENT FOR THIS OPERAION. )

G00 X1.483 Z1.

X0.983 Z0.079

M24

;G76 X.998 Z-0.7473 K0.05 D0.02 P1

G76 X0.998 Z-0.7473 K0.05  P1 ;------------ This isn't a valid word for G76 line-------- "D"0.02

;G76 X-0.998 Z-0.7473 Q1 P1 l45 H0.005 I29 C0.1 B0.036 T0

;G76 X-0.036 Z-2 Q1 P0.05 l45 H0.005 I29 C0.1 B0.036 T0

M05

G91 M09

; G00 G28 X0. Z0. ;-----------mach needs these on sep. line also

G00

G28 X0. Z0.

M30



Chip
Title: Re: Threading problem
Post by: Hood on August 20, 2009, 03:14:52 PM
You have  D0.02 in the G76, what is that meant to be? It is not a recognised word for Mach G76 and will be your problem.
Also notice you have a M24, what is that, User macros should really be over 100.

Hood

Edit see chip beat me to it ;D
Title: Re: Threading problem
Post by: Chip on August 20, 2009, 03:23:33 PM
Hi, Hood

Hood 7,619 Chip 1,983, How many lap's down is that.  :D

Chip
Title: Re: Threading problem
Post by: bob.mullikin on August 20, 2009, 03:29:18 PM
Thanks for the input.  I figured it was something like that.  I've had other issues on the mill side with the turbocam code.  

I looked for the threading wizard, and couldn't find one.  The only one I found was a milling thread wizard.  That would be an easy way to solve my problem.  Anyone have a link?
Title: Re: Threading problem
Post by: Hood on August 20, 2009, 03:34:19 PM
Are you using MachTurn? if so the simple threading wizard should be included with it.
Hood
Title: Re: Threading problem
Post by: bob.mullikin on August 20, 2009, 03:41:05 PM
Hood, I thought so too, but I've looked several times and didn't find it.  As a side note, my wife always finds something I'm looking for after I've looked for it and failed.  So I tell her, I'll look again, but I"m pretty sure it's not there.  Once in a great while, I'm right.
Title: Re: Threading problem
Post by: Hood on August 20, 2009, 03:56:37 PM
LOL, well extract this into the C:\Mach3\TurnAddons folder.
Hood
Title: Re: Threading problem
Post by: Hood on August 20, 2009, 03:57:38 PM
Oh just as a sidenote, you do have a licence dont you? If not then threading doesnt work in the demo version.
Hood
Title: Re: Threading problem
Post by: bob.mullikin on August 20, 2009, 04:11:33 PM
Thanks Hood.  I have to head off to work now.  I'll add that tomorrow and see if it solves the problem. 
Bob
Title: Re: Threading problem
Post by: bob.mullikin on August 20, 2009, 04:13:07 PM
Yep, it's licensed.  :)
Title: Re: Threading problem
Post by: Hood on August 20, 2009, 04:31:50 PM
If you have any probs just shout, someone I am sure will get you sorted :)
Hood