What's new
What's new

TNC151a helical interpolation help

Nicholas Bove

Plastic
Joined
Apr 15, 2012
Location
NY. USA
Hello I recently converted my series 2 Bridgeport R2C3 to a TNC151a controller (thank you Gustafson for all the help) Anyways I want to reach out to other people's experience with this particular controller. I am have difficulty with overall understanding of the data to be inputed to run a helical interpolation according to page 52 and 53 in the programming manual. I got it to kinda work once, but Z stayed down at the end, so I added to the program XY 0 so that its back in the center (thread milling) and then retract the quill. I goofed somewhere and now I get a "reference angle missing" error when I try to start the cycle.
I'm totally new to Heidenhain controls, I'm more familiar to my Anilam crusader M on my other Bridgeport. So bare with me on the learning curve. Just to keep things simple and nominal, I've been trying to program a thread mill cycle for an internal thread, 3/4'' in diameter, 16 TPI, overall depth of 1 inch .372 cutter diameter and 1.2 inch shank.

Help with this is greatly appreciated as this is driving me nuts.
 
I previously PMed you valid code from my machine, this is a pic of my 151 while it is running a piece of code I wrote jsut now. Preceded by a tool def tool call and CC blockIMG_2345.jpg
 
My complete code is as such.
Tool DEF 5 L+1.5000 R+0.2500
Toll CALL 5 S2000.000
CC X+1.2500 Y+0.7500
IX+0.5000 R0 F400
CP IPA+1080.000 IZ-0.5000 DR- R0 F400
IX-0.5000 R0 F200
IZ+1.0000 R0 F400
 
What Z + error?
Z+ limit switch?
your tool length
My exact code won't run on your machine if you start about 1" below the top of Z travel?
Get rid of tool offsets until you can make it run
 
I had some time to mess around with it and got it to work after changing a couple things.
I noticed some of the incremental position blocks where giving it problems and to be honest I prefer to keep as much in absolute positioning as much as possible because its much easier to keep track of things. I haven't yet put a tool offset in to see how it reacts.

Tool DEF 1 L+0 R+0
Toll CALL 1 S2000.000
CC X+0.0 Y+0.0
Z-0.7500 R0 F400 M03
IX-1.5000 R0 F400 M03
CP IPA+360.000 IZ-1.0000 DR- R0 F400 M03
X+0.0000 R0 F800 M03
Z+0.0000 R0 F2000 M05
 
The incremental moves in my example were to make sure it ran from most any position
you only need one M03
Tool DEF 1 L+0 R+.1
Toll CALL 1 S2000.000
CC X+0.0 Y+0.0
Z-0.7500 R0 F400
IX-1.5000 RR F400
CP IPA+360.000 IZ-1.0000 DR- RR F400
X+0.0000 R0 F800
Z+0.0000 R0 F2000 M05

See what that does
the sign on the IPA determines direction. clockwise or CCW and will also change which side the comp is on
 








 
Back
Top