Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started 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!!!
-
Update: I upgraded to v029 and I still have the same problem.
-
Bob,
Why not just use one of the threading wizards?
RICH
-
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
-
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
-
Hi, Hood
Hood 7,619 Chip 1,983, How many lap's down is that. :D
Chip
-
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?
-
Are you using MachTurn? if so the simple threading wizard should be included with it.
Hood
-
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.
-
LOL, well extract this into the C:\Mach3\TurnAddons folder.
Hood
-
Oh just as a sidenote, you do have a licence dont you? If not then threading doesnt work in the demo version.
Hood
-
Thanks Hood. I have to head off to work now. I'll add that tomorrow and see if it solves the problem.
Bob
-
Yep, it's licensed. :)
-
If you have any probs just shout, someone I am sure will get you sorted :)
Hood