View Full Version : Help with programming of tnc151
PRIOR666 02-27-2007, 04:54 PM hello boys
I have a bridgeport interact1 mk2 cnc miller and i am beginning to learn to program the tnc 151 control, and i have the following problem:
I am using dolphine partmaster to program but the tnc151 have problems with z coordinates, continually appears "z limit" for example in z+15 line, apparently only recognizes negative coordinates. how can program this form?
its posible that they are the parameters?
gridley51 02-27-2007, 06:00 PM The Heidenhain controls on the Interacts dont like Z+ and will always give you an error.Can you edit your code so it always stays in a Z- position,even Z-0.1 usually works.
Mark.
uhh, z+ is not an issue
1] is that a mm dimension or inch? there is only 5 inches of travel on an interact
2] where is you datum?
3] post some code
gridley51 02-28-2007, 02:25 AM uhh,Z+ is the issue,try reading the post again.Millimetres in most of the world.
We have various machines with Heidenhain controls and none of them like Z+
Mark.
I run 4 heidenhains on a daily basis, and run them all in Z+
Always.
z0 is the part surface
Allmoves out of part are Z+
It is NOT the problem
he is most likely programing out of the machine working range
PRIOR666 02-28-2007, 09:18 AM i am working with mach3 control and the programs are the same, only change the postprocesor for tnc 151, and here this a fragment of one program:
%
0 BEGIN PGM 100 MM
1 R F M06
2 TOOL DEF 1 L0,000 R0,000
3 TOOL CALL 1 Z S1000
4 L X0,000 Y0,000 F9999 M
5 L Z+50,000 F9999 M
6 R F M03
7 L Z+50,000 F9999 M
8 L X0,000 Y0,000 F9999 M
9 R F M06
10 TOOL DEF 1 L0,000 R0,000
11 TOOL CALL 1 Z S1000
12 L X0,000 Y0,000 F9999 M
13 L Z+50,000 F9999 M
14 R F M03
15 L X-42,500 Y+42,500 Z+50,000 R0 M
16 L X-42,500 Y+42,500 Z+3,000 R0 M
the program and the machine they are in mm
arghh, wrote the whole thing and lost it
I dunno what line 1, 6,9, 14 are doing, you don't need a seperate line for m functions
I only see 50 mm of movement, so you issue might be one of two things
1] in manual mode, move Z all the way +, if the display shows a number lower than 51, that is your problem
2] if it is higher than 50, look at the user parameters[mod, mod,mod...] and see if the additional soft limits are set incorrectly. change them to +999 and -999 and see if that helps
I don't think you can define a tool more than once.
PRIOR666 02-28-2007, 01:08 PM the problem this resolved one now, just needs to correct the superface of work so only negative coordinates exist in axis "z".
thank you gus and gridley51 for the support and answers.
holbieone 02-28-2007, 01:47 PM that control should work in "Z"+
looks like you mite be setting your tools wrong
you should be using a tooling ball to define the "Z" zero
then use the tooling ball to find the tool offset
ether use an indicator or gage block
find the ball "Z" height
then the tool "Z" height
subtract the two ,this will give you the offset
if the tool is shorter then the ball the offset will have a negative sign
if the tool is longer then the ball the offset will have a positive sign
if the tool offset is longer or shorter then the "Z" travel the control will give you an error
exactly, there is no 'z+' issue. After 15 years I think I might have noticed.....
PRIOR666 02-28-2007, 02:40 PM i will try give to prove, but the problem is that i dont have manuals to operation of tnc151 i am working with tnc145 manuals and they have some differences.
PRIOR666 02-28-2007, 02:53 PM mmm i wiil see look for it
thank you gus.
awemawson 03-03-2007, 10:21 AM THe manuals are all available for download on the Heidenhain site or you can find other resources like:
http://faculty.etsu.edu/hemphill/entc3710/heid-op/h-toc.htm#top-o-page
PRIOR666 03-03-2007, 10:58 AM this is exactly what looked for, this will help me a lot,
thank you very much awemawson, you are really awesome.
bbrreid 03-15-2008, 03:07 PM 0 BEGIN PGM 100 MM
1 TOOL DEF 1 L0,000 R0,000
2 TOOL CALL 1 Z S1000
3 L Z+50,000 F9999 M03
4 L X0,000 Y0,000 F9999 M (tool change position)
7 L Z0.000 F9999 M (job surface)
8 L X0,000 Y0,000 F9999 M (going nowhere)
9 L Z+50,000 F9999 M (back up to tool change position)
10 R F M06 (tool change)
11 TOOL DEF 2 L#### R##### ( new tool info)
12 TOOL CALL 2 Z S1000
13 L X0,000 Y0,000 F9999 M (going nowhere)
14 L Z+50,000 F9999 M03 ( z going nowhere spindle c/w)
15 L X-42,500 Y+42,500 Z+50,000 R0 M (feed missing z going nowhere)
16 L X-42,500 Y+42,500 Z+3,000 R0 M ( z 3mm above job)
jog z up to near limit switch set Datum to +80 then touch No1 tool on top surface and input "0.000" Datum
|
|