Hello Guest it is July 08, 2020, 07:41:32 AM

Author Topic: Threading problem  (Read 5108 times)

0 Members and 1 Guest are viewing this topic.

Threading problem
« 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!!!
Re: Threading problem
« Reply #1 on: August 20, 2009, 02:20:12 PM »
Update: I upgraded to v029 and I still have the same problem.

Offline RICH

*
  • *
  •  7,410 7,410
    • View Profile
Re: Threading problem
« Reply #2 on: August 20, 2009, 02:46:04 PM »
Bob,
Why not just use one of the threading wizards?

RICH

Offline Chip

*
  • *
  •  2,055 2,055
  • Gainesville Florida USA
    • View Profile
Re: Threading problem
« Reply #3 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

Offline Hood

*
  •  25,846 25,846
  • Carnoustie, Scotland
    • View Profile
Re: Threading problem
« Reply #4 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

Offline Chip

*
  • *
  •  2,055 2,055
  • Gainesville Florida USA
    • View Profile
Re: Threading problem
« Reply #5 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
Re: Threading problem
« Reply #6 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?

Offline Hood

*
  •  25,846 25,846
  • Carnoustie, Scotland
    • View Profile
Re: Threading problem
« Reply #7 on: August 20, 2009, 03:34:19 PM »
Are you using MachTurn? if so the simple threading wizard should be included with it.
Hood
Re: Threading problem
« Reply #8 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.

Offline Hood

*
  •  25,846 25,846
  • Carnoustie, Scotland
    • View Profile
Re: Threading problem
« Reply #9 on: August 20, 2009, 03:56:37 PM »
LOL, well extract this into the C:\Mach3\TurnAddons folder.
Hood