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 > General CNC (Mill and Lathe) Control Software (NC)


General CNC (Mill and Lathe) Control Software (NC) General Discussion of CNC (Mill and Lathe) control software here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 03-25-2008, 07:44 PM
 
Join Date: Mar 2008
Location: Sweden
Age: 39
Posts: 115
Swemill is on a distinguished road
G41/42 cuttercomp Problem...

Hi everyone, here comes problem from Sweden.....
I have bought an old Kitamura Mycenter-1 cnc mill (1983) with Fanuc 3M-C control (only G92).
When i try to mill a simple rectangle part outside with G41 it dont go right,
Have tried lots of combinations but it wont go 90 degree - straight line with the compensation as it should.....
At work i have a "new" YCM with 16i and there never is this problem...

The parts external cornercordinats is:

X0 Y0
X0 Y-50.
Y-50. X-100.
Y0 X-100.

If i go in compensation from x0 Y10. to x0 Y2. (with compensation 5mm) it goes right (5mm from the absolut line). Outer with g41 and inner with G42 so that seems to work. But then i go to Y-50. and it "stops" at Y-45. (instead of Y-50. + comp as it should). Then i go straight to X-100. and it goes "wryly" down to X-95. Y-50. After that i program Y0 and it goes to x-100. Y-5. Then i have X0 and the machine goes up to Y0 and X-5....?
It seems to "count down" the cuttercompensation at each axles movement and dont "calculate" it right / doing "shortcuts".....!?

Can it be a Parametric issue?

Sorry for my bad English and explanation.... Don't write much in that but i hope you understand my problem!
I do cuttercomp every day at work but not in this machine or with Fanuc 3M....

Best regards and with hope of a solution...

/Jocke
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 03-25-2008, 08:21 PM
 
Join Date: Jan 2006
Location: USA
Age: 31
Posts: 4
tony784 is on a distinguished road
let me see your g-code program....maybe I can help you
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 03-25-2008, 10:55 PM
dcoupar's Avatar  
Join Date: Mar 2003
Location: USA
Posts: 2,189
dcoupar is on a distinguished road
I believe the 3M required those G39 I J blocks to tell it which way the next move was going... I don't have an example, though.
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 03-25-2008, 11:09 PM
Mitsui Seiki's Avatar  
Join Date: Feb 2007
Location: USA
Posts: 464
Mitsui Seiki is on a distinguished road
Posta hela programmet.
I alla fall den del som krånglar.
Det är enklare att se vad som är fel.
__________________
Stefan Vendin
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 03-26-2008, 12:31 AM
tauntdesigns's Avatar  
Join Date: Nov 2005
Location: USA
Posts: 519
tauntdesigns is on a distinguished road
Right hand cutter:
climb cut = G41
conventional cut = G42
__________________
Walking is highly over-rated
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 03-26-2008, 05:25 AM
 
Join Date: Mar 2008
Location: Sweden
Age: 39
Posts: 115
Swemill is on a distinguished road
Ahh.... More "Swedes" here! :-)

I thought you wanted the program and i belive it's like this:
(dont have an exact sample here)

%
O0001
G0 G91 G28 Z0
G28 X0 Y0
G92 X175. Y55. Z307.
G80 G40 G49
G0 G90 G43 X0 Y0 Z2. H2 S1000 M3
G1 Z-2. F500. M8
G41 X0 Y2. H22 (H22=5mm)
Y-50.
X-100.
Y50.
X2.
G0 Z20. M9
G40 X20.
G91 G28 Z0 Y0
M30
%

With this prg. i want a 100 x 50mm rectangle....
The machine dont have any D and only uses H. I also have G17 connected in MDI!

Must say BIG thanks to dcoupar.... I really thinks that G39 is the solution in the old 3M!!!
Have read about it but thought that it was an alternative to get radius at corners (not sharp edges) and not a necessery thing. To bad of me...

That would also explaine why i couldnt connect G41 from X10. Y10. to X0 Y10. and then go in Y- with G1 !
Could only do that sucsessfully (G41 and right comensated) with a straight line in Y like the prg. above!
To do that i then would have needed a I and J value also...!?

I also hope that it would be able to do very small radius at the 90 degree corners to go around a angular part!?
Any suggestions how the program would be with G39?

Shall try this at home tonight after work...

/Jocke
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 03-26-2008, 07:05 AM
 
Join Date: Mar 2008
Location: Sweden
Age: 39
Posts: 115
Swemill is on a distinguished road
After more searching it seems that I and J replace X and Y in G39 and is assumed to be the same! That must mean that no radius have to be made to get it work and it will be "right and sharp angles"... ?
Tweet this Post!Share on Facebook
Reply With Quote

  #8   Ban this user!
Old 03-26-2008, 09:25 AM
bugzpulverizer's Avatar  
Join Date: Dec 2007
Location: U.S.A.
Posts: 57
bugzpulverizer is on a distinguished road
Why can't you just do this?

%
O0001
G0 G91 G28 Z0
G28 X0 Y0
G92 X175. Y55. Z307.
G80 G40 G49
G0 G90 G43 X10. Y10. Z2. H2 S1000 M3
G1 Z-2. F500. M8
G41 X0 Y2. H22 (H22=5mm)
Y-49.
G2 X-1. Y-50. I-1.
G1 X-99.
G2 X-100. Y-49. J1.
G1 Y-1.
G2 X-99. Y0 I1.
G1 X-1.
G2 X0 Y-1. J-1.
G40 G1 X20.
G0 Z20. M9
G91 G28 Z0 Y0
M30
%

I think this will put 1MM fillets around every corner. You had a Y50. in your g-code almost like you were programming with a G91. Hope this helped.
Tweet this Post!Share on Facebook
Reply With Quote

  #9   Ban this user!
Old 03-26-2008, 10:13 AM
 
Join Date: Mar 2008
Location: Sweden
Age: 39
Posts: 115
Swemill is on a distinguished road
Oops... The Y50. should be Y0!

I suppose your version with fillets also would work but to do it without G2 it seems to be the right way with G39 and I - J !?
Tweet this Post!Share on Facebook
Reply With Quote

  #10   Ban this user!
Old 03-26-2008, 11:23 AM
bugzpulverizer's Avatar  
Join Date: Dec 2007
Location: U.S.A.
Posts: 57
bugzpulverizer is on a distinguished road
Yeah, it's a habit of mine. Even when I programmed at the machines I put fillets on every corner I could. I don't like deburring anything. Hope it all goes well for you.
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 03-26-2008, 02:03 PM
Mitsui Seiki's Avatar  
Join Date: Feb 2007
Location: USA
Posts: 464
Mitsui Seiki is on a distinguished road
Try this.If it's possible.I don't know what the part looks like so maybe the X10Y10 doesn't work for you.

%
O0001
G0 G91 G28 Z0
G28 X0 Y0
G92 X175. Y55. Z307.
G80 G40 G49
G0 G90 X10. Y10. Z2. S1000 M3
G43H2Z10.
G41 X0. Y2. H22 (H22=5mm)
G1 Z-20. F500. M8
Y-50.
X-100.
Y0.
X2.
G0 Z20. M9
G40 X20.
G91 G28 Z0 Y0
M30
%


G0 G90 G43 X0 Y0 Z2. H2 S1000 M3
G1 Z-2. F500. M8
G41 X0 Y2. H22 (H22=5mm)
The movement you have between X0Y0 to X0Y2 is smaller than the radius of the tool.
__________________
Stefan Vendin
Tweet this Post!Share on Facebook
Reply With Quote

  #12   Ban this user!
Old 03-26-2008, 04:26 PM
 
Join Date: Mar 2008
Location: Sweden
Age: 39
Posts: 115
Swemill is on a distinguished road
ahh... Oops again.... Really sorry Stefan but the Y0 offcourse should have been Y10. It seems that i was a bit careless when i wrote it here..... In the machine i have Y10. but it didnt help.... Have tried a lot of diffrent "running-ins" with G41 and have no alarms but it still wouldnt go the right way. I could'nt run in from X10. Y10. either but it probably also have with the 3M - G39 "issue" to do. Straight from X0 Y10 to X0 Y2. the G41 run-in worked, but not the rest.....

I´m 99,9% convinced that the problem is the G39 i didn't run. There seems not to be time to try it out tonight but i sure will tomorrow!
If anybody else here have experience of Fanuc 3M and / or programming with G39 i'm very intrested of any more tips / info!

/Jocke
Tweet this Post!Share on Facebook
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
machine problem or software problem? bcnc Syil Products 8 10-26-2009 10:51 AM
Cuttercomp? jb_swampfox Torchmate 2 06-20-2007 04:15 PM




All times are GMT -5. The time now is 09:07 AM.





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