Subprograms for pattern Haas NGC post

Subprograms for pattern Haas NGC post

Don.Cyr
Collaborator Collaborator
804 Views
3 Replies
Message 1 of 4

Subprograms for pattern Haas NGC post

Don.Cyr
Collaborator
Collaborator

I have 36 holes to thread-mill on a part, I created a circular pattern off a single hole and everything simulates fine. Using the Haas NGC post, it is outputting each hole as a separate sub-program instead of a single one for the thread-mill cycle as shown using the stock HSM post for Haas NGC and I have tried a few others with the same result... I submitted a support ticket to Autodesk but I was told I need to edit the post?

N1 (THREADMILL)
(HARVEY 70012)
T2 M6
S11500 M3
G54
M8
G0 X0. Y2.05
G43 Z0.05 H2
M97 P90000

N2 (THREADMILL)
G0 X0.356 Y2.0189
M97 P90001

N3 (THREADMILL)
G0 X0.7011 Y1.9264
M97 P90002

....ETC....

M30

N90000(THREADMILL)
G0 Z-0.1568
G1 Z-0.2068 F2.1
G17
G1 G41 X0.0039 Y2.0461 D2
X0.0053 Y2.0464
X0.0066 Y2.0473
ETC....
G0 Z0.05
M99

N90001(THREADMILL)
G0 Z-0.1568
G1 Z-0.2068 F2.1
G17
G1 G41 X0.0039 Y2.0461 D2
X0.0053 Y2.0464
X0.0066 Y2.0473
ETC....
G0 Z0.05
M99

I have "subroutines for patterns" and "use subroutines" checked and have tried enabling/disabling each and get the same results. Maybe I am doing something wrong?

Thanks in advance.

Please click "Accept Solution" if I helped with your question or issue.
0 Likes
Accepted solutions (1)
805 Views
3 Replies
Replies (3)
Message 2 of 4

Arun.rs
Autodesk
Autodesk

Hi @Don.Cyr 

 

Thanks for raising your concern via forum.

 

I could not replicate the issue at my end. Did you checked with latest HAAS NGC post in F360 library? 

https://cam.autodesk.com/hsmposts?p=haas_next_generation

 

My test result:

 

(Thread mill)
N25 T2 M6
N30 S5000 M3
N35 G54
N40 M8
N45 G0 X-30. Y-8.
N50 G43 Z15. H2
N55 M97 P90000
N60 G1 X8. Y-30. F5000.
N65 G0 Z15.
N70 M97 P90000
N75 G1 X30. Y8. F5000.
N80 G0 Z15.
N85 M97 P90000
N90 G1 X-8. Y30. F5000.
N95 G0 Z15.
N100 M97 P90000

N105 M5
N110 M9
N115 G53 G0 Z0.
N120 X0.
N125 G53 G0 Y0.
N130 M30

N90000(Thread mill)
G91
G17
G0 Z-10.
Z-1.
G1 Z-5. F1000.
Z-5.
X4.5
G3 X-0.017 Y-0.392 Z0.789 I-4.5 J0.
X-0.051 Y-0.389 Z0.789 I-4.483 J0.392
X-0.085 Y-0.384 Z0.789 I-4.432 J0.781
X-0.118 Y-0.374 Z0.789 I-4.347 J1.165
X-0.151 Y-0.363 Z0.788 I-4.229 J1.539
X-0.181 Y-0.348 Z0.789 I-4.078 J1.902
X-3.897 Y6.75 Z0.267 I-3.897 J2.25
G1 Y-4.5
G0 Z6.
Z10.
G90
M99
 
Regards
If my post answers your question, please click the 'Accept Solution' button. This helps everyone find answers more quickly!



Arun.RS
Senior Technology Consultant

0 Likes
Message 3 of 4

Don.Cyr
Collaborator
Collaborator

@Arun.rs 

I did download and test with that post, but get the same result. I attached my Fusion file, can you pleas take a look and let me know what I may be doing wrong?

Much appreciated.

Please click "Accept Solution" if I helped with your question or issue.
0 Likes
Message 4 of 4

Don.Cyr
Collaborator
Collaborator
Accepted solution

Thanks to @bob.schultz  for providing some code to modify my post and now it works!

Please click "Accept Solution" if I helped with your question or issue.
0 Likes