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 > Fanuc


Fanuc Discuss Fanuc controllers here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 08-06-2007, 08:51 AM
 
Join Date: Jul 2007
Posts: 21
Dragoon2 is on a distinguished road
5T G02/03 Circular Interpolation problems

I would like to know what I am doing wrong, I can not get my lathe to do a G02 or 03, it always gives an alarm #20 (in circular interpolation the programmed end point of an arc is not located within the allowable area) no matter what I try it always gives this alarm. As I understand that the 5T can only do one quadrant arcs, I have tried absolute and incremental values, switching pos/neg directions, I even tried the example in the manual, all with no sucess. Here is my latest example, I am using the rear turret on my lathe so the tool is on the negative side of X zero when I use G50 to set X zero on the spindle center line and Z zero at the end of the part.

N010G00X-10000Z0000 (RAPID TO POSITION 1" DIA. AT Z ZERO)
N020G01Z-10000F0100 (FEED TO Z-1" ARC START POSITION)
N030G02U-5000W-5000I-5000F0100 (CLOCKWISE ARC INC. U-.5", W-.5", ARC END POSITION, ARC CENTER POSITION I-.5")

Can anyone tell me if there is something wrong with this program, or if my control might not be able to do G02/03 commands? Is there a parameter setting that might need tweeking?

Sincerly Frustrated,
Steve
Reply With Quote

  #2   Ban this user!
Old 08-06-2007, 09:58 AM
 
Join Date: Mar 2007
Location: USA
Posts: 207
John3 is on a distinguished road

According to my manuals, the G02/G03 functions were part of the basic commands that were included with all machines.

I didn't see a "K" value in your code... I'd put one in, even if its zero.

John
Reply With Quote

  #3   Ban this user!
Old 08-06-2007, 10:53 AM
 
Join Date: Sep 2005
Location: USA
Age: 60
Posts: 755
Dan Fritz is on a distinguished road

I noticed that your first X move goes to a negative dimension (X-10000). Is this a Mori-Seiki? Mori Seikis of that vintage had the X axis backwards from other machines, meaning that all the dimensions on the part in X were negative. It also means that G02 and G03 are reversed from the operator's perspective. Since the coordinate system is "flipped over", imagine looking UP at the part to determine "clockwise" and "counter-clockwise".

When you convert a "normal" lathe program to run on an Mori with the backwards X axis, you have to mirror all the X dimensions, swap all the G02s and G03s and also swap all the G41s and G42s (cutter comp. left and cutter comp right).

This unusual setup was due to the fact that the early Mori toolchangers were on the "backside" of the spindle, and the spindle rotated so that cutting forces were not trying to "lift" the crosslide off the ways.
Reply With Quote

  #4   Ban this user!
Old 08-06-2007, 11:39 AM
 
Join Date: Jul 2007
Posts: 21
Dragoon2 is on a distinguished road

I have tried that and it does not seem to matter, I think I must be having some other issue that I don't understand.

Thanks!
Steve

Originally Posted by John3 View Post
According to my manuals, the G02/G03 functions were part of the basic commands that were included with all machines.

I didn't see a "K" value in your code... I'd put one in, even if its zero.

John
Reply With Quote

  #5   Ban this user!
Old 08-06-2007, 12:17 PM
 
Join Date: Jul 2007
Posts: 21
Dragoon2 is on a distinguished road

Hi Dan,

This is a 1980 Howa Sangyo, it has two four tool turrets, one in front toward the operator and one in the rear oposet side of spindle. I think I understand the co-ordinate system on this machine, but that's probably where I am in trouble.
Let me try to explain what I am doing, I first sent the cariage to the zero return position in X&Z, zeroed the readout, installed the tool I wanted to use, moved the tool to the part and recorded the X&Z readings to corespond to the parts X&Z zero. I programmed these readings into the G50X---Z--- command to set the distance the zero return position is, back from the part co-ordinate zero position. The numbers all seem to work, I can do point to point cutter paths, infact if I replace the G02 with G01 and delete the "I" value it runs the program with a diagonal cut instead of an arc. However, what you said about looking at the CW/CCW from the under side makes sence. I may have to try G03 and keep my "I" dimention negative, I think I have tried this, but I am loosing track of everything I have tried.

By the way, thanks for the rapid traverse parameter setting information, it worked perfectly, Now all I have to do is learn the way to propperly program circular interpolation on this machine.

Best Regards,
Steve

Originally Posted by Dan Fritz View Post
I noticed that your first X move goes to a negative dimension (X-10000). Is this a Mori-Seiki? Mori Seikis of that vintage had the X axis backwards from other machines, meaning that all the dimensions on the part in X were negative. It also means that G02 and G03 are reversed from the operator's perspective. Since the coordinate system is "flipped over", imagine looking UP at the part to determine "clockwise" and "counter-clockwise".

When you convert a "normal" lathe program to run on an Mori with the backwards X axis, you have to mirror all the X dimensions, swap all the G02s and G03s and also swap all the G41s and G42s (cutter comp. left and cutter comp right).

This unusual setup was due to the fact that the early Mori toolchangers were on the "backside" of the spindle, and the spindle rotated so that cutting forces were not trying to "lift" the crosslide off the ways.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 08-06-2007, 01:28 PM
 
Join Date: Jan 2007
Location: Hamilton,Oh
Posts: 331
bborb is on a distinguished road

"X" is a diameter value and "I" is usually a radial value...... your command of I-5000 means to swing a 1/2 inch radius. Is that what you want?
Reply With Quote

  #7   Ban this user!
Old 08-06-2007, 02:29 PM
 
Join Date: Jul 2007
Posts: 21
Dragoon2 is on a distinguished road

In this example, yes .500" radius.

Steve
Reply With Quote

  #8   Ban this user!
Old 08-06-2007, 03:00 PM
 
Join Date: May 2007
Location: US
Posts: 779
Andre' B is on a distinguished road

I normally do mills and if you ask I will tell you most lathe programming is FUBAR.

So for what it's worth, why the switch from X,Z axis in the linear moves to U,W in the G2?
Reply With Quote

  #9   Ban this user!
Old 08-06-2007, 03:31 PM
 
Join Date: Mar 2007
Location: USA
Posts: 207
John3 is on a distinguished road

I'm I right about this?....

Your U-5000 is a half in change in part diameter. That's a 1/4 step on each side.

If you want to do that, wouldn't the radius of the arc be a 1/4" and not a half?

As bborb points out, your I-5000 is swinging an arc of 1/2"... that won't fit your part.

John
Reply With Quote

  #10   Ban this user!
Old 08-06-2007, 03:38 PM
 
Join Date: Jan 2007
Location: Hamilton,Oh
Posts: 331
bborb is on a distinguished road

The control is correct, your endpoint is NOT on the defined radius. You've defined a .5 inch radius with its center at X2.0 Z0.0
You've started the the G02 cut at X1.0 Z0.0
You've programmed the endpoint of the cut at X1.5 Z-.5
The endpoint doesn't lie on the programmed radius.
Here are examples of points that DO lie on your radius:
X1.0 Z0.0
X2.0 Z-.5
X3.0 Z0.0
X2.0 Z.5

X is diameter value, U is diameter value, I is radial value
Z is Z and W is W
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 08-06-2007, 03:47 PM
 
Join Date: Jul 2007
Posts: 21
Dragoon2 is on a distinguished road

Hi Andre'

I like using absolute X Y Z in my programming, I tried that first and thought I would try incremental U W to see if it made a difference. I am hoping it is an upside down issue where the G02 needs to be G03, I am going to try this tonight.

Thanks,

Steve
Reply With Quote

  #12   Ban this user!
Old 08-06-2007, 03:53 PM
 
Join Date: Jul 2007
Posts: 21
Dragoon2 is on a distinguished road

OK,

I might see this for the incremental answer, U-10000 with I=5000.

I will try this!

Thanks,

Steve
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
Should CAM software generate circular interpolation? M30 General CAM Discussion 20 07-31-2007 08:28 PM
No circular interpolation in G-Code? M30 Mastercam 2 07-24-2007 09:55 PM
circular interpolation description tom bryant General Metal Working Machines 6 05-26-2007 01:51 PM
Mazak Mill Circular Interpolation problem DublJ Mazak, Mitsubishi, Mazatrol 2 02-13-2007 11:13 AM
question about circular interpolation warpedmephisto Benchtop Machines 13 03-22-2006 04:51 PM




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