Hurco Turing Post

Hurco Turing Post

Anonymous
Not applicable
2,190 Views
13 Replies
Message 1 of 14

Hurco Turing Post

Anonymous
Not applicable

Does anyone have a really good Hurco turning post? The generic one gets by for the time. But there is a lot I would like to do on it before we sell the machine.

 

Thank you,

 

Garret

0 Likes
Accepted solutions (1)
2,191 Views
13 Replies
Replies (13)
Message 2 of 14

Laurens-3DTechDraw
Mentor
Mentor

@Anonymous wrote:

Does anyone have a really good Hurco turning post? The generic one gets by for the time. But there is a lot I would like to do on it before we sell the machine.

 

Thank you,

 

Garret


What would you want to change?

Is it mostly the formatting? Or actual code changes?

 

Laurens Wijnschenk
3DTechDraw

AutoDesk CAM user & Post editor.
Found out the hard way is the best way to win.


0 Likes
Message 3 of 14

Anonymous
Not applicable

Both a lot of the mcodes don't match with the what the post generates. I find myself going thru and changing constantly. Pretty sure it is very simple, but not sure where to start on it.

 

 later today I'll post  the code for example and show edits for what I'm talking about

 

 

0 Likes
Message 4 of 14

Anonymous
Not applicable

Here is where the machine controller has an issue,

 

 

What it posts, 

 

T0606
G98
G97 S800 M3
G0 X0. Z0.6
G17              ( The G17 in drill cycle makes the machine alarm out)
G0 Z0.2
Z0.6
Z0.2
G81 X0. Z-0.22 R0.18 F2.4
G80
Z0.6
G28 U0. W0.

.

.

.

.


(PART1)
G99
G97 S1200 M3
G0 X1.8 Z-2.386

                            ( Would like to see a Part Catch Activate right here M58 for Hurco)
G1 X-0.063 F0.003

                            ( Would like Part Catch retracted M59 for Hurco)
X1.8
G0 Z0.

 

 

 

Here is what works after edit

 

T0606
G98
G97 S800 M3
G0 X0. Z0.6
Z0.2
G81 X0. Z-0.22 R0.18 F2.4
G80
Z0.6
G28 U0. W0.

.

.


(PART1)
G99
G97 S1200 M3
G0 X1.8 Z-2.386

 M58       
G1 X-0.063 F0.003

 M59                       
X1.8
G0 Z0.

 

Here is a few changes would make all the difference

0 Likes
Message 5 of 14

Laurens-3DTechDraw
Mentor
Mentor

Didn't get a chance to actually post code with it but this should help.

Laurens Wijnschenk
3DTechDraw

AutoDesk CAM user & Post editor.
Found out the hard way is the best way to win.


Message 6 of 14

Anonymous
Not applicable

Everything worked great so far, the only thing is the part catcher does not activate when programmed in the software, Any way to fix that?

0 Likes
Message 7 of 14

Laurens-3DTechDraw
Mentor
Mentor
Accepted solution

Put all the logic in there but forgot the "activate" it.

Sorry.

Try the attached one.

Laurens Wijnschenk
3DTechDraw

AutoDesk CAM user & Post editor.
Found out the hard way is the best way to win.


0 Likes
Message 8 of 14

Anonymous
Not applicable

Perfect!  That works in the mean time. There are some other things like the threading but I don't have a part for the example yet. that will come later on to try to see what is going on.

 

0 Likes
Message 9 of 14

Laurens-3DTechDraw
Mentor
Mentor

@Anonymous wrote:

Perfect!  That works in the mean time. There are some other things like the threading but I don't have a part for the example yet. that will come later on to try to see what is going on.

 


The post is set-up for threading when you select useCycle in the Threading operation.

By default it would use G92 threading cycle, might not be the most elegant cycle but it should work fine.

Laurens Wijnschenk
3DTechDraw

AutoDesk CAM user & Post editor.
Found out the hard way is the best way to win.


0 Likes
Message 10 of 14

Anonymous
Not applicable

That is the problem. G92 on a Hurco lathe is not threading 

 

 

This is for a tapered thread

 

Hurco G-Code

 

G00	M	Linear Motion at Rapid
G01	M	Linear Motion at Feed
G02	M	Clockwise Circular Motion at Feed
G03	M	Counterclockwise Circular Motion at Feed
G04		Dwell
G06	M	Probe/Block Skip
G07	M	Radius Programming
G08	M	Diameter Programming
G09		Exact Stop
G20	M	Inch Mode
G21	M	Millimeter Mode
G33		Threading
G40	M	Cutter Radius Compensation Off
G41	M	Cutter Radius Compensation Left
G42	M	Cutter Radius Compensation Right
G53	M	Program Machine Coordinates
G59	M	Cancel Work Coordinate Offsets
G73	M	Peck Drill with Chip Break Drill Cycle
G74	M	Left Hand Tapping
G78		Threading Cycle
G80	M	Cancel Drill Cycle
G81	M	Drill Cycle
G82	M	Drill Cycle with Dwell
G83	M	Peck Drill Cycle
G84	M	Right Hand Tapping
G90	M	Absolute Programming
G91	M	Incremental Programming
G92	M	Work Coordinate Offsets or Spindle Max Speed
G94	M	Feed per Minute
G95	M	Feed per Revolution
G96	M	Constant Surface Speed (CSS)
G97	M	Direct Spindle Speed
G98	M	Drill Cycle Initial Level Return
G99	M	Drill Cycle R Plane Return

 

 

 

This is what worked along time ago when we used Mastercam

 

(TOOL - 2 OFFSET - 2)
(ID THREAD - MIN. .5 DIA.  INSERT - NONE)
( ID THREAD 1/2 NPT )G0 T0202
G97 S100 M03
G0 G54 X.588 Z.2269 M8
X.7509
G99 G32 X.7035 Z-.5343 E.07143
G0 X.588
Z.2227
X.7661
G32 X.719 Z-.5343 E.07143
G0 X.588
Z.2185
X.7813
G32 X.7344 Z-.5343 E.07143
G0 X.588
Z.2143
X.7965
G32 X.7499 Z-.5343 E.07143
G0 X.588
Z.2101
X.8117
G32 X.7654 Z-.5343 E.07143
G0 X.588
Z.2058
X.8269
G32 X.7808 Z-.5343 E.07143
G0 X.588
Z.2016
X.8421
G32 X.7963 Z-.5343 E.07143
G0 X.588
Z.2
X.848
G32 X.8023 Z-.5343 E.07143
G0 X.588
Z.2
X.848
G32 X.8023 Z-.5343 E.07143
G0 X.588
Z.2269
M9
G28 U0. W0. M05

 

 

Not sure what to do to get it close to this 

0 Likes
Message 11 of 14

Laurens-3DTechDraw
Mentor
Mentor

@Anonymous

I updated your post.

Please test very carefully.

The Pitch output might be wrong if you run in Inch. (I think MM is good)

This output will only be generated if you leave UseCycle option in the Threading operation off, it will give an error when you have that on.

 

Let me know if it works.

Laurens Wijnschenk
3DTechDraw

AutoDesk CAM user & Post editor.
Found out the hard way is the best way to win.


0 Likes
Message 12 of 14

Anonymous
Not applicable

Ok sounds good ill test it, later on, today and give you feedback on how it worked out. 

 

Looked good so far, but never know on this Hurco.

 

0 Likes
Message 13 of 14

Laurens-3DTechDraw
Mentor
Mentor

BTW your sample shows G32 while the manual says G33.Smiley Tongue

Laurens Wijnschenk
3DTechDraw

AutoDesk CAM user & Post editor.
Found out the hard way is the best way to win.


0 Likes
Message 14 of 14

al.whatmough
Alumni
Alumni

Your a superstar @Laurens-3DTechDraw

---------
AL Whatmough
Director Product Management - Manufacturing

Note, I love to engage on the forums. However, I spend a lot of time in meetings trying to help clear the path for our amazing team of Developers working on Manufacturing at Autodesk. So, if I don't respond immediately, it's not that I don't care.
0 Likes