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! > Machine Controllers Software and Solutions > G-Code Programing


G-Code Programing Discuss G-code programing and problems here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 04-05-2011, 02:57 AM
 
Join Date: Nov 2010
Location: Denmark
Posts: 21
Lene Madsen is on a distinguished road
G7.1 Fanuc 10T

I need to make a helical cut down a Ø10mm steel bar (think twist drill).

I have a Fanuc 10T Model A controller and have been thinking of using the G-code 7.1 to turn on cylindrical interpolation.

I have found a program example in my manual, but I must be missing some vital information because my machine brings an alarm saying improper g-code whenever I try to run it.

My program looks like this:

O0010
G96 G99 G50 S500 M9
G0 X-20.
M7
G0 Z0. M56
M6
X54. T300
G0 X0. Z-1. T303
G1 Z0. M3 S75 F.25
X8. Z3.
Z25.
G3 X13. Z27.5 R2.5
G0 X14. Z-5.
X5.
M5
G7.1 C4
G1 Z0. F50
G3 Z0. C0 R2.5
G1 Z25. C180
G7.1 C0
G0 X14. Z27.
G1 X12. Z33.5
G3 X10. Z36. I2.5
G1 Z57.5
G1 X-10.
M5
M2
M99


Can anyone see an error or does anyone have any suggestions to a better way of programming. I need 2 helix with a distance of 180 degrees.

Thanks you!
Reply With Quote

  #2   Ban this user!
Old 04-05-2011, 05:54 AM
 
Join Date: Sep 2010
Location: Australia
Posts: 733
angelw is on a distinguished road

Originally Posted by Lene Madsen View Post
I need to make a helical cut down a Ø10mm steel bar (think twist drill).

I have a Fanuc 10T Model A controller and have been thinking of using the G-code 7.1 to turn on cylindrical interpolation.

I have found a program example in my manual, but I must be missing some vital information because my machine brings an alarm saying improper g-code whenever I try to run it.

My program looks like this:

O0010
G96 G99 G50 S500 M9
G0 X-20.
M7
G0 Z0. M56
M6
X54. T300
G0 X0. Z-1. T303
G1 Z0. M3 S75 F.25
X8. Z3.
Z25.
G3 X13. Z27.5 R2.5
G0 X14. Z-5.
X5.
M5
G7.1 C4
G1 Z0. F50
G3 Z0. C0 R2.5
G1 Z25. C180
G7.1 C0
G0 X14. Z27.
G1 X12. Z33.5
G3 X10. Z36. I2.5
G1 Z57.5
G1 X-10.
M5
M2
M99


Can anyone see an error or does anyone have any suggestions to a better way of programming. I need 2 helix with a distance of 180 degrees.

Thanks you!
That alarm normally means that the "G" code doesn't exist for the control and hence, your machine doesn't have that option. If you have the Fanuc specification sheet that came with the machine it will tell you there if the machine has the option.

Regards,

Bill
Reply With Quote

  #3   Ban this user!
Old 04-05-2011, 06:19 AM
 
Join Date: Nov 2010
Location: Denmark
Posts: 21
Lene Madsen is on a distinguished road

Thanks for your response Bill.

I have checked operators manual, controller manual and my appendices for both. There is nothing that indicates the function should not exist.
Even the papers the machine builder delivered with the machine has tables with cylindrical interpolation listed as an option.

Any other suggestions?
Reply With Quote

  #4   Ban this user!
Old 04-05-2011, 07:22 AM
 
Join Date: Sep 2010
Location: Australia
Posts: 733
angelw is on a distinguished road

Originally Posted by Lene Madsen View Post
Thanks for your response Bill.

I have checked operators manual, controller manual and my appendices for both. There is nothing that indicates the function should not exist.
Even the papers the machine builder delivered with the machine has tables with cylindrical interpolation listed as an option.

Any other suggestions?
Lene,
Only a couple of weeks ago I had to organize the installation of cylindrical interpolation on a client's 18i control. There is no reference in the operators manual to G07.1 being an option on this control either, but it is an option and wasn't listed in the spec sheet as being part of the build. The same alarm as you're experiencing was encountered when programming G07.1

One thing you have to be careful of when using a program that includes cylindrical interpolation, is that the function has not been previously activated by programming G07.1 with a cylinder radius specified and then not canceled it with a cylinder Zero radius, this will also give you an alarm. For this reason, its helpful to program G07.1 C0 as part of the call up blocks for the tool involved with the cylindrical interpolation. That was the next problem the client had after the option was turned on.

If the build sheet for your machine indicates that the option is included, contact Fanuc regarding having it turned on; it may have been lost at some point in the life of the machine. If you contact Fanuc or the machine builder, make sure you have the machine's serial number available.

Post the actual alarm number you're getting.

Regards,

Bill

Last edited by angelw; 04-05-2011 at 07:37 AM.
Reply With Quote

  #5   Ban this user!
Old 04-10-2011, 12:11 PM
 
Join Date: Nov 2010
Location: Denmark
Posts: 21
Lene Madsen is on a distinguished road

Thank you for your help Bill.

It turned out that the option was not available with our machine after all, and we will have to try and be creative in order to get our parts done how we want them.

I now have a man investigating what it would take to get this implemented, meanwhile I try to figure out how to program a spiral without having either cylindrical nor polar interpolation available.


/Lene
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 04-11-2011, 07:20 AM
 
Join Date: Sep 2010
Location: Australia
Posts: 733
angelw is on a distinguished road

Originally Posted by Lene Madsen View Post
Thank you for your help Bill.

It turned out that the option was not available with our machine after all, and we will have to try and be creative in order to get our parts done how we want them.

I now have a man investigating what it would take to get this implemented, meanwhile I try to figure out how to program a spiral without having either cylindrical nor polar interpolation available.


/Lene
Lene,
Cylindrical interpolation makes possible the programming of circular interpolation on a cylindrical surface quite simple. Basically, you can unwrap the cylindrical surface and program the tool path as if on a flat surface. However, if you only have to machine a helical path you won’t need to have cylindrical interpolation; this process is not very difficult.
Regards,
Bill
Reply With Quote

  #7   Ban this user!
Old 04-13-2011, 01:22 AM
 
Join Date: Feb 2006
Location: india
Posts: 1,187
sinha_nsit is on a distinguished road

Can use a threading cycle for a helical path with uniform pitch.
Reply With Quote

  #8   Ban this user!
Old 04-14-2011, 06:33 AM
 
Join Date: Nov 2010
Location: Denmark
Posts: 21
Lene Madsen is on a distinguished road

Originally Posted by sinha_nsit View Post
Can use a threading cycle for a helical path with uniform pitch.
I can not get it to run with pitch 50 which I need for my spiral without it pushing forward Z at colossal speed.
Reply With Quote

  #9   Ban this user!
Old 04-14-2011, 07:05 AM
 
Join Date: Sep 2010
Location: Australia
Posts: 733
angelw is on a distinguished road

Originally Posted by Lene Madsen View Post
I can not get it to run with pitch 50 which I need for my spiral without it pushing forward Z at colossal speed.
Lene,
From your initial description of what you wanted to achieve "I need to make a helical cut down a Ø10mm steel bar (think twist drill)." I didn't think a threading cycle would be any help to you. However, if its only a helical groove that's required, you will be able to do that with the C and Z axis move without having to have cylindrical interpolation.

Regards,

Bill

Last edited by angelw; 04-14-2011 at 09:54 AM.
Reply With Quote

  #10   Ban this user!
Old 04-15-2011, 04:31 AM
 
Join Date: Nov 2010
Location: Denmark
Posts: 21
Lene Madsen is on a distinguished road

Exactly Bill.

I need Z to push forward, while slowly turning C aswell as using a rotating tool. With a thread cycle this will not function.

I was considering simply coding the coordinates and use G1 and move Z a few hundreds of a milimeter, then C then Z again, but the program would be thousands of blocks and then I would have a memory problem
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 04-15-2011, 06:40 AM
 
Join Date: Sep 2010
Location: Australia
Posts: 733
angelw is on a distinguished road

Originally Posted by Lene Madsen View Post
Exactly Bill.

I need Z to push forward, while slowly turning C aswell as using a rotating tool. With a thread cycle this will not function.

I was considering simply coding the coordinates and use G1 and move Z a few hundreds of a milimeter, then C then Z again, but the program would be thousands of blocks and then I would have a memory problem
Lene,
Correct, a threading cycle will not function in C axis mode.
Is your machine capable of C and Z simultaneously interpolation? This is quite different to having and using the cylindrical interpolation option. If so, once the milling tool is positioned at the X, Z, C start position, try programming C and Z together, ie the angular (C) and Z move to the end of the helix.

Regards,

Bill
Reply With Quote

  #12   Ban this user!
Old 04-15-2011, 08:41 PM
 
Join Date: Sep 2010
Location: Australia
Posts: 733
angelw is on a distinguished road

Originally Posted by Lene Madsen View Post
Exactly Bill.

I need Z to push forward, while slowly turning C aswell as using a rotating tool. With a thread cycle this will not function.

I was considering simply coding the coordinates and use G1 and move Z a few hundreds of a milimeter, then C then Z again, but the program would be thousands of blocks and then I would have a memory problem
Lene,
Another problem you will have doing it the way you're considering, using many small moves, is that you will not achieve anything near the feed rate that would be reasonable. With a 10T control, I'd expect that you may only achieve a feed rate of maybe 30mm or 40mm per min. maximum, notwithstanding that you program something much higher.

The reason for this is that the motion will actually decelerate to Zero at the end of each move and must try and accelerate up to the programmed speed at the commencement of the next move. However, with very small moves, there will be insufficient length in the move for the motion to reach the programmed speed before having to start the deceleration ramp to the end of the motion block. Accordingly, the motion will reach what velocity it can and that's it.

You can get around the length of the program issue by running the program as a DNC exercise from a PC, but if cycle time is at all important, the feed rate will be an issue.

Regards,

Bill
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
GE Fanuc & FANUC proprietary posts CNCadmin Fanuc 44 01-05-2012 08:54 AM
FANUC & GE FANUC Repairs RRL Product Announcements & Manufacturer News 1 04-17-2011 11:50 AM
can fanuc ac digital servo amplifiers be run by a controller other than fanuc? js412000 Servo Motors and Drives 5 03-09-2011 09:11 AM
Fanuc & GE Fanuc Repairs RRL Product Announcements & Manufacturer News 0 10-01-2008 12:42 PM




All times are GMT -5. The time now is 07:55 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