CAM Error Using Subroutines - HAAS TM-1P

CAM Error Using Subroutines - HAAS TM-1P

EngDuro_com
Participant Participant
560 Views
7 Replies
Message 1 of 8

CAM Error Using Subroutines - HAAS TM-1P

EngDuro_com
Participant
Participant

Hey Guys,

 

I'm pretty new to CAD/CAM and machining so I'll apologize for gaps in my explanations.  I'm using a Non-NGC HAAS TM-1P.  I'm using the Non-NGC post processor found here.

 

I'm at a point where I've built production fixtures for some parts I'm making.  As an example, in the OP1 fixture I am using G154 P1 through P6.  The program runs fine in G54 only (even when subroutines is checked in the PP) but as soon as I call another work coordinate system I get the following errors.

 

First error:  Invalid I,J or K in G02 or G03 

I switched the post processor to use Radius Arcs and got a similar error: Invalid R in G02 or G03

 

The following is a single tool path from my GCode for simplicity:

 

%
O01001
(Using G0 which travels along dogleg path.)
(Machine)
( vendor: HAAS)
( model: TM-1P)
( description: EngDuro's Haas TM-1P)
(T3 D=3. CR=0.01 - ZMIN=0.74 - face mill)
G90 G17
G20
G53 G0 Z0.

 

(Face the Top)
T3 M6
(rough 0.040" DOC at 6000 rpm at 100in/min. 50 in/min finish)
S6000 M3
G54
G17 G90
M8
G0 X5.85 Y0.75
G43 Z1.35 H3

 

G154 P1
M97 P90000

 

M5
M9
G53 G0 Z0.
X1.95
G53 G0 Y0.
M30

 

N90000(Face the Top)
G0 Z1.04
G18 G3 X5.55 Z0.74 R0.3 F30.
G1 X5.4004
X-1.5004
G3 X-1.8004 Z1.04 R0.3
G0 Z1.35
M99


%

0 Likes
561 Views
7 Replies
Replies (7)
Message 2 of 8

EngDuro_com
Participant
Participant

I changed the minimum cord length and circular radius and I was able to get 1 coordinate system to complete but then it fails as soon as it starts to move to the second work coordinates

 

Fusion HAAS PP.jpg

 

%
O01001
(Using G0 which travels along dogleg path.)
(Machine)
( vendor: HAAS)
( model: TM-1P)
( description: EngDuro's Haas TM-1P)
(T3 D=3. CR=0.01 - ZMIN=0.74 - face mill)
G90 G17
G20
G53 G0 Z0.

(Face the Top)
T3 M6
(rough 0.040" DOC at 6000 rpm at 100in/min. 50 in/min finish)
S6000 M3
G56
G17 G90
M8
G0 X5.85 Y0.75
G43 Z1.35 H3

 

G56
M97 P90000
G55
M97 P90000
G54
M97 P90000

 

M5
M9
G53 G0 Z0.
X1.95
G53 G0 Y0.
M30

N90000(Face the Top)
G0 Z1.04
G18 G3 X5.55 Z0.74 R0.3 F30.
G1 X3.9
X0.
G3 X-0.3 Z1.04 R0.3
G0 Z1.35
M99


%

0 Likes
Message 3 of 8

EngDuro_com
Participant
Participant

Am I in the correct forum?  I thought some of you rock stars would have answered by now and hopefully pushing this to the top will help the visibility.

 

At the end of the day I'm not sure it it's a CAM error, a Post Processor error or the most likely PIBKAC error.

 

I've been trying to get assistance from Autodesk for a couple of weeks without any success and I'm really needing a resolution so I can start a small batch of prototype parts.

0 Likes
Message 4 of 8

programming2C78B
Advisor
Advisor

Do you NEED to use subroutines? Can you try just normal first?

Im tired but I'd think you'd need a start X coord as well if you're using a 0.3 lead in arc. Try disabling that on your facing, I really avoid vertical lead ins in all my programming for multiple reasons, unless you're blending into an existing floor. 

Please click "Accept Solution" if what I wrote solved your issue!
0 Likes
Message 5 of 8

EngDuro_com
Participant
Participant

Thanks for the reply!

 

I dont know if I NEED to use subroutines but its the only way I know how to do what I'm wanting to accomplish.  By "normal" are you suggesting simply replicating each tool path in the code with a different WCS rather than calling a subroutine?

 

If so, it would seem I cant see the forest for the trees...

0 Likes
Message 6 of 8

programming2C78B
Advisor
Advisor

you can program a single part then in your setup use Multiple Instances.

Please click "Accept Solution" if what I wrote solved your issue!
0 Likes
Message 7 of 8

EngDuro_com
Participant
Participant

I found the proper solution that I should have been using all along.  I did not know that in order to to make this all work in Fusion, I needed to enable subroutines in the PP settings during post, but I also needed to define the multiple coordinate systems in the PP settings in the setup in CAM.  I had just turned it on and did not define the number of WCS's...

 

It works perfectly now!

 

EngDuro_com_0-1698418715958.png

 

 

0 Likes
Message 8 of 8

programming2C78B
Advisor
Advisor

yes, that is the multiple instances I was talking about. 
Please click "Accept Solution" if what I wrote solved your issue!

Please click "Accept Solution" if what I wrote solved your issue!
0 Likes