CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > MetalWorking Machines > Bridgeport and Hardinge Mills


Bridgeport and Hardinge Mills Discuss Bridgeport and Hardinge Mills here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 05-13-2008, 07:10 AM
 
Join Date: Sep 2007
Location: United states
Posts: 84
bigtoad170 is on a distinguished road
Unhappy G-Code outside circle Heidenhain

I have a bridgeport series II interact II heidenhain tnc151a programming g-code in inches I'm trying to make a 2 inch diameter boss .750 deep in aluminum 6061 I 've been able to do it but I had to go and edit the z depth everytime I got the job done but for the next time around I need to know a more efficient way I'll show you how I've been doing it. The center of the boss is the origin. Cutter radius .313

N10 G00 G90 Y0 X-1.313 z+.1
n20 G01 z-.1 F100
N30 G90 I0 J0 G12 H-180 F200

I let it run go edit the -z and let it run etc...
Take it easy on me I'm a newbie on programming and this is all I could do to get it to work I wanted to set up a label and have a G91 for the -z so everytime it looped around it would increment down a .100 at a time I had no luck at that says I was missing a tool call
Reply With Quote

  #2   Ban this user!
Old 05-13-2008, 12:59 PM
 
Join Date: Apr 2008
Location: usa
Posts: 47
kdhBOSS5VRAM is on a distinguished road
Programming

I drew out what you were doing and posted it with what I think is a G code Heidenhain post. I never use it in G code. I always use it in plain language programming. With that you could do it in a few lines with a helix. (2nd example). I don't know how you do the helix in G code. I'd have to check. You could do what you are doing with a label also but the helix is easy as long as you have the right end mill and material. It's constant motion in all 3 axis. Hope this helps.

Kevin

%UNTITLED G70
N2 G01 G40 G91 Z0,0 F6000 M91
N3 G99 T1 L0,0 R0,0
N4 T1 G17 S2000
N5 G01 G40 G90 X-5,0 Y5,0 M06
N6 G01 X1,313 Y0,0 M3
N7 G01 Z0,1 F6000 M
N8 G01 Z-0,1 F100
N9 G90 I0,0 J0,0
N10 G02 F200
N11 G01 Z-0,2 F100
N12 G90 I0,0 J0,0
N13 G02 F200
N14 G01 Z-0,3 F100
N15 G90 I0,0 J0,0
N16 G02 F200
N17 G01 Z-0,4 F100
N18 G90 I0,0 J0,0
N19 G02 F200
N20 G01 Z-0,5 F100
N21 G90 I0,0 J0,0
N22 G02 F200
N23 G01 Z-0,6 F100
N24 G90 I0,0 J0,0
N25 G02 F200
N26 G01 Z-0,7 F100
N27 G90 I0,0 J0,0
N28 G02 F200
N29 G01 Z-0,75 F100
N30 G90 I0,0 J0,0
N31 G02 F200
N32 G01 G91 Z0 R0 F6000 M91
N33 G01 G40 G90 X-5,0 Y5,0 M05
N34 G01 G40 G90 F6000 M02
N9999 %UNTITLED G70


1 BEGIN PGM HELIX INCH
2 L Z0 R0 F3999 M91
3 TOOL DEF 1 L0 R0.0
4 TOOL CALL 1 Z S2000
5 L X-5.0 Y.0 R0 F3999 M6
6 L X1.313 Y0.0 R F M3
7 L R F M
8 L Z0.1 R F3999 M
9 L Z0 R F100 M
10 CC X0.0 Y0.0
11 CP IPA 2880 IZ-.750 DR- F200 M
12 L Z0 R0 F3999 M91
13 L X-5.0 Y0 R F M91
14 L R F M2
15 END PGM HELIX INCH

Last edited by kdhBOSS5VRAM; 05-13-2008 at 04:43 PM.
Reply With Quote

  #3   Ban this user!
Old 05-13-2008, 01:59 PM
 
Join Date: Sep 2007
Location: United states
Posts: 84
bigtoad170 is on a distinguished road

Hey Kevin Wow thanks alot man you took alot of time to help a guy out I'm not at my machine right at this moment but I'll give it a shot thanks again I'll keep you posted on the progress
Reply With Quote

  #4   Ban this user!
Old 05-13-2008, 05:37 PM
 
Join Date: Apr 2008
Location: usa
Posts: 47
kdhBOSS5VRAM is on a distinguished road
G Code Helix

I looked in the ISO programming book (G Code) on how to do a helix and it looks like if you modify what you were using slightly you could do it that way. Try it and see what happens.

N10 G00 G90 Y0 X-1.313 Z+.1
N20 G01 Z0 F100
N30 I0 J0
N40 G12 G91 H-2880 Z-.75 F200

The H number is 2880 degrees which is 8 revolutions down .750 so a little less than .100 per rev. I'm not sure of the + or- on the H. I think that will control the direction it spirals. Of course you'd want to have another line after with a G90 G00 to bring Z back up. I did try what I gave you before for the conversational program modified for a TNC430 control and it did work fine.

Kevin
Reply With Quote

  #5   Ban this user!
Old 05-14-2008, 06:21 AM
 
Join Date: Sep 2007
Location: United states
Posts: 84
bigtoad170 is on a distinguished road

Kevin thanks that was the ticket worked great much more efficient thanks for your time on figuring that out for me
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 06-23-2008, 01:06 PM
troy.edwards's Avatar  
Join Date: May 2008
Location: UK
Posts: 5
troy.edwards is on a distinguished road
Helical interpolation

Just a question, why are you programming in the ISO format. Heidenhein is a superb language & i have been working with it for 18 years now (from basic work to 3D forms) i have also had alot of dealings with fanuc & acramatic 2100 & I will say that hands down heidenhein will blow the others away by far for ease of use + flexibility. I can give you a solution in heidenhain which would use parameter programming (it's sounds fancy but it works well & easy to understand) or if you like you could use incremental moves & a lable repeat if that would be better.

Troy.

troy.edwards@talktalk.net
Reply With Quote

  #7  
Old 06-25-2008, 03:13 PM
*Registered User*
 
Join Date: Jun 2008
Location: england
Posts: 4
marsmach is on a distinguished road

Hi I,m with Troy on this Heidehan far simpler language,using variables and label repeats far easier regards G
Reply With Quote

  #8   Ban this user!
Old 07-03-2008, 06:29 AM
 
Join Date: Sep 2007
Location: United states
Posts: 84
bigtoad170 is on a distinguished road

I guess I just wanted to know what seems to be the universal language first g-code. It has been going well and actually it was worth it because unfortunately one of the cnc programmers at my 9-5 job had a stroke and I was able to have a easy transition to take his jobs over since he programs in g-code that way they didn't have to hire someone to take his position while he recovers and will have a job when he comes back.
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Heidenhain g-code help arkum G-Code Programing 12 08-25-2010 08:57 PM
Heidenhain G-code or conversational? bigtoad170 Bridgeport and Hardinge Mills 8 04-12-2008 03:13 PM
Newbie- Heidenhain conversational code a2p4me General CNC (Mill and Lathe) Control Software (NC) 2 02-26-2008 04:16 PM
Heidenhain (or anything else!) nc code spec kefex G-Code Programing 1 07-02-2007 12:42 AM
Soweebee looking for helical code for heidenhain tnc351 soweebee General Metalwork Discussion 0 06-09-2006 12:50 PM




All times are GMT -5. The time now is 07:58 PM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361