Jump to content

Welcome to eMastercam

Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.

Use your display name or email address to sign in:

ThreadC.dll


Recommended Posts

Does anyone have any experience with threadc.dll. It is a simple G32 canned cycle that is used if you wanted to blend a series of threads together. Haas talks about it in their manual and the threadc.dll creates the tool path just fine but it screws up in posting. It post normal longhand threading cycles just fine. If you were to try and do the same thing with threadc.dll it gives an error when posting and doesn't give good code. It's a an easy program to write by hand.

 

FB_IMG_1602522297748.jpg.f59225a5a9a4b1e07813bcd0947cdf7e.jpg

Link to comment
Share on other sites
4 minutes ago, Rocketmachinist said:

Does anyone have any experience with threadc.dll. It is a simple G32 canned cycle that is used if you wanted to blend a series of threads together. Haas talks about it in their manual and the threadc.dll creates the tool path just fine but it screws up in posting. It post normal longhand threading cycles just fine. If you were to try and do the same thing with threadc.dll it gives an error when posting and doesn't give good code. It's a an easy program to write by hand.

 

FB_IMG_1602522297748.jpg.f59225a5a9a4b1e07813bcd0947cdf7e.jpg

I saw a similar issue on Mastercam's website, If you encountered an issue with the product you might try contacting Cnc Software.

Link to comment
Share on other sites
17 hours ago, byte me said:

I saw a similar issue on Mastercam's website, If you encountered an issue with the product you might try contacting Cnc Software.

Yeah that was me and nobody responded. I did contact my reseller as well and they said I would have to get a custom post made for it. The toolpath posts but for some reason its all jumbled up. I don't really see how I can post a normal threading cycle under Longhand and get a G32 code to spit out and everything works fine. Then I try to do the same exact thing with threadc.dll and the people at Mastercam have no idea how it works. I will try to see if the mplmaster post works today. It is probably just an issue with the Generic Haas Post but I will try some different ones to see if they work instead. A G32 cycle is a G32 cycle. Threadc.dll just lets you do it as a chain.

Link to comment
Share on other sites

Ok i give up. I tried all the post on Mastercams website and they all give me the same error. It would be nice if they just added a contour feature into the new custom thread cycle. That one ran pretty awesome. The issue came up a couple of days ago because a guy on facebook was trying to thread an npt right into an nps. I showed him the page out of the Haas book and he might have been able to make the part. But the guy that taught me lathe told me that you can chain together G32 to follow an contour. He had used it in the past to make a nozzle for one of our facilities. It has 2 different sized Acme threads with the same pitch but were clocked to each other. He wrote the toolpath by hand and everything worked fine. For a normal G32 toolpath each line of the canned cycle only needs a few more points for it to work.

Link to comment
Share on other sites
6 minutes ago, Rocketmachinist said:

Ok i give up. I tried all the post on Mastercams website and they all give me the same error. It would be nice if they just added a contour feature into the new custom thread cycle. That one ran pretty awesome. The issue came up a couple of days ago because a guy on facebook was trying to thread an npt right into an nps. I showed him the page out of the Haas book and he might have been able to make the part. But the guy that taught me lathe told me that you can chain together G32 to follow an contour. He had used it in the past to make a nozzle for one of our facilities. It has 2 different sized Acme threads with the same pitch but were clocked to each other. He wrote the toolpath by hand and everything worked fine. For a normal G32 toolpath each line of the canned cycle only needs a few more points for it to work.

The only information I could find on the topic is that it won't work with spline geometry.

Link to comment
Share on other sites
27 minutes ago, byte me said:

The only information I could find on the topic is that it won't work with spline geometry.

I'm just trying to get it to do a strait line right now and work from there.

Normal threading

 

334791058_threadnormal.thumb.PNG.a38ccca5a3d08b43a94132d138c4c602.PNG

Threadc.dll

913038481_threadc.thumb.PNG.192992a49fb0e7bd4c2eb470edd08e6c.PNG

 

This is the toolpath that I get from Mastercam with the normal threading cycle. It is the same minor diameter, major diameter, length of cut, feedrate. These two toolpaths should be identical.

O0000
(T)
(DATE=DD-MM-YY - 13-10-20 TIME=HH:MM - 06:12)
(MCX FILE - T)
(NC FILE - C:\USERS\ASMURPHY\DOCUMENTS\MY MASTERCAM 2021\MASTERCAM\LATH...\T.NC)
(MATERIAL - STEEL INCH - 1030 - 200 BHN)
G20
(TOOL - 97 OFFSET - 97)
(OD THREAD RIGHT  INSERT - NONE)
G00 T9797
M8
G97 S200 M3
G00 G54 Z.2435
X3.3836
X3.0775
G99 G32 Z-1.5048 E.08333
G00 X3.3836
Z.229
X3.0252
G32 Z-1.5048 E.08333
G00 X3.3836
Z.2178
X2.9848
G32 Z-1.5048 E.08333
G00 X3.3836
Z.2083
X2.9507
G32 Z-1.5048 E.08333
G00 X3.3836
Z.2
X2.9206
G32 Z-1.5048 E.08333
G00 X3.3836
Z.2
X2.9206
G32 Z-1.5048 E.08333
G00 X3.3836
Z.2435
M9
G53 X0.
G53 Z0.
M30
%

 

This is what i get using threadc.dll and keep in mind that mastercam is calling the same g32 cycle in the post. I checked that with the post debugger.

 

%
O0000
(THREAD C)
(DATE=DD-MM-YY - 13-10-20 TIME=HH:MM - 06:13)
(MCX FILE - T)
(NC FILE - C:\USERS\ASMURPHY\DOCUMENTS\MY MASTERCAM 2021\MASTERC...\THREAD C.NC)
(MATERIAL - STEEL INCH - 1030 - 200 BHN)
G20
(TOOL - 97 OFFSET - 97)
(OD THREAD RIGHT  INSERT - NONE)
G00 T9797
G97 S200 M3
G00 G54 Z.1216
X3.5206
G99 G01 X3.1836 E.08333
Z-1.5048
G00 X3.5206
Z.1035
G01 X3.1182
Z-1.5048
G00 X3.5206
Z.0895
G01 X3.0678
Z-1.5048
G00 X3.5206
Z.0777
G01 X3.0253
Z-1.5048
G00 X3.5206
Z.0673
G01 X2.9878
Z-1.5048
G00 X3.5206
Z.0579
G01 X2.9538
Z-1.5048
G00 X3.5206
Z.0493
G01 X2.9226
Z-1.5048
G00 X3.5206
Z.0487
G01 X2.9206
Z-1.5048
G00 X3.5206
Z.0487
G01 X2.9206
Z-1.5048
G00 X3.5206
Z.1216
X-1. Z-1.
G32 X.0003 Z0. E.08333
G00 X.2
X-1. Z-1.
G32 X.0006 Z0. E.08333
G00 X.2
X-1. Z-1.
G32 X.0008 Z0. E.08333
G00 X.2
X-1. Z-1.
G32 X.0011 Z0. E.08333
G00 X.2
X-1. Z-1.
G32 X.0014 Z0. E.08333
G00 X.2
X-1. Z-1.
G32 X.0017 Z0. E.08333
G00 X.2
X-1. Z-1.
G32 X.002 Z0. E.08333
G00 X.2
X-1. Z-1.
G32 X0. Z0. E.08333
G00 X.2
Z.037
X-1. Z-1.
G32 X0. Z0. E.08333
G00 X.2
X-1. Z-1.
G01 X.0234 Z0.
X-3.0096 E1.
M5
G00 G53 X0.
G53 Z0.
M30
%

 

Link to comment
Share on other sites

The ‘C’ in threadC means contour, so using it with a single entity is not really it’s intended use.

Your reseller is correct, a custom post is required; I’m not aware of any CNC post that supports threadC.  This is because threadC writes it’s parameters to the NCI and doesn’t fill out the normal threading NCI lines.

  • Like 1
Link to comment
Share on other sites
1 hour ago, Zaffin_D said:

The ‘C’ in threadC means contour, so using it with a single entity is not really it’s intended use.

I know its designed for contour threading. I use babysteps to make sure it can handle something simple before i get thrown in the deep end. I would love to see them just add those features to the custom thread cycle. I did some really cool stuff with that and it was super easy (see attached). Mastercam spent a lot of time developing this toolpath with the post that are already there. It just seems weird to me that they just kinda forgot about threading a contour when I can see using it more than rope threading.

PXL_20201013_181520611.thumb.jpg.10873e87cbf97d1c0c8077066d73b849.jpg

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.

Join us!

eMastercam - your online source for all things Mastercam.

Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.

Follow us

×
×
  • Create New...