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 11-04-2010, 02:06 AM
 
Join Date: Jan 2008
Location: Tunisia
Posts: 8
merhas06 is on a distinguished road
Problem with machine and program zero for tool movements

Hello,

I’m new in CNC and I have a lathe machine ECOCA equipped with FANUC 0i-TC and rear turret.

After the machine setup (reference return position, tool offset, program zero…) and when I want to execute the program all tool movements are referenced to the zero machine and not to program zero[/B][/COLOR]. If for example I want to execute the bloc N10 G00 X100.0 Y100.0, the tools starts the movement to the right and the over travel alarm appear in the screen.

I find this problem at the beginning of the program and in the tool change position inside the program.

With many other programs this works very well and all tool movements are referenced to the program zero at the right end of the part.

I tried many alternatives to fix the problem, but this happens involuntarily and I can’t locate the problem and how to correct it.

Why this happens with some programs and not with others?

You are all kinds to help me.
Reply With Quote

  #2   Ban this user!
Old 11-04-2010, 07:53 AM
dcoupar's Avatar  
Join Date: Mar 2003
Location: USA
Posts: 2,312
dcoupar is on a distinguished road

Please post your program here.
Reply With Quote

  #3   Ban this user!
Old 11-04-2010, 09:06 AM
 
Join Date: Jan 2008
Location: Tunisia
Posts: 8
merhas06 is on a distinguished road

Hello dear,

These are the main blocs of the program. The simulation is perfect either on machine or on CIMCAD software. I tried G90 but it does not work.

O0000
N1 G21 G40 G99;
N2 T0100;
N3 G97 S1500 M04;
N4 G00 G42 X55.0 Z0 T0101 M08 (here, the tool moves to zero machine and not to the part??)
N5 G01 X-0.5 F0.2
N5 G01 Z1.0;
N6 X52.0;
N7 G71 U2.0 R0.5
N8G71 P11 Q20 U0.4 W0.2 F0.2
N10 G00 X14.0
N11 G01 X15.0 Z0 F0.2
N12 X20.0 Z-2.5
N13 Z-6.0
N14 G02 X20.0 Z-14 R5
N15 G01 Z-22.0
N16 G01 X20 Z-23.79
N17 G02 X30.17 Z-32.5 R10
N18 G01 X40.0 R5.0
N19 Z-70.0
N20 U2.0 W1.0
N21 G00 X100.0 Z100.0 T0100 M09 (here, the tool moves to zero machine and not to the part)
N22 M01
N23 T0200
N24 G97 S1500 M04
N25 T0202
N25 G00 G42 X55.0 Z1.0
N26 G70 P10 Q20
N27 G00 X100.0 Z100.0 T0200 M09 (here, the tool moves to zero machine and not to the part)
N28 M01
N29 ..
.GROOVE CUTTING
.
N35 ..
. (DRILLING operations)
.
M30
%
Reply With Quote

  #4   Ban this user!
Old 11-04-2010, 09:37 AM
dcoupar's Avatar  
Join Date: Mar 2003
Location: USA
Posts: 2,312
dcoupar is on a distinguished road

Originally Posted by merhas06 View Post
Hello dear,

These are the main blocs of the program. The simulation is perfect either on machine or on CIMCAD software. I tried G90 but it does not work.

O0000
N1 G21 G40 G99;
N2 T0100;
N3 G97 S1500 M04;
N4 G00 G42 X55.0 Z0 T0101 M08 (here, the tool moves to zero machine and not to the part??)
N5 G01 X-0.5 F0.2
N5 G01 Z1.0;
N6 X52.0;
N7 G71 U2.0 R0.5
N8G71 P11 Q20 U0.4 W0.2 F0.2
N10 G00 X14.0
N11 G01 X15.0 Z0 F0.2
N12 X20.0 Z-2.5
N13 Z-6.0
N14 G02 X20.0 Z-14 R5
N15 G01 Z-22.0
N16 G01 X20 Z-23.79
N17 G02 X30.17 Z-32.5 R10
N18 G01 X40.0 R5.0
N19 Z-70.0
N20 U2.0 W1.0
N21 G00 X100.0 Z100.0 T0100 M09 (here, the tool moves to zero machine and not to the part)
N22 M01
N23 T0200
N24 G97 S1500 M04
N25 T0202
N25 G00 G42 X55.0 Z1.0
N26 G70 P10 Q20
N27 G00 X100.0 Z100.0 T0200 M09 (here, the tool moves to zero machine and not to the part)
N28 M01
N29 ..
.GROOVE CUTTING
.
N35 ..
. (DRILLING operations)
.
M30
%
What values are in your geometry offsets for T01 and T02?

Please try it without the T0100 and T0200 in the retract move to index.
Reply With Quote

  #5   Ban this user!
Old 11-04-2010, 10:36 AM
 
Join Date: Aug 2010
Location: USA
Posts: 99
hitachibos is on a distinguished road

Hi
Everybody relax and slow down.

Try taking out the G42 in your first move line.
if that works then we can talk about tool nose radious compansation.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 11-04-2010, 02:28 PM
 
Join Date: Jan 2008
Location: Tunisia
Posts: 8
merhas06 is on a distinguished road

Thank you very much for your precious ideas.

The Fanuc system is Fanuc 0i-TC. So it is a new one not an old.
The machine manual indicates that there is no need to write G54 because it is used by default.
I will take out the G42 and T0100 and T0200 and try again.

the big question is why with this program only? With other program it works correctly with G42 and T0100 T0200?????????????

Any way, I will try all these advices saturday. Tomorrow I have other duties outside. I will tell you the result later.

Thanks again dear friends.
Reply With Quote

  #7   Ban this user!
Old 11-04-2010, 02:51 PM
 
Join Date: Nov 2010
Location: norway
Posts: 8
manolo23 is on a distinguished road

G90 doesnt work on lathe machine as Absolute programming it only works for milling machine

G90 for Lathe are for inside and outside canned cycle turning
ex.
G0 X50. Z1.
G90 X45. Z-20 F.25
X40.
X35.
X30.

usually i used this cycle in reboring of jaws.

i edit the program you just posted, try to run it..

PS. for safe run of program make a standard format method for all your programs safety of the operator and machine first..

dont cancel the compensation when your tool is still near your part.
start the compensation when you start cutting not on rapid positioning.
and dont include in one block the initial homing position and cancellation of tool offset (safety first)

i hope it helps..


Originally Posted by merhas06 View Post
Hello dear,

These are the main blocs of the program. The simulation is perfect either on machine or on CIMCAD software. I tried G90 but it does not work.

O0000
N1 G21 G40 G99;
G28 U0. W0.
N2 T0100;
N3 G97 S1500 M04;
T0101 M08
N4 G00 X55.0 Z0
G42
N5 G01 X-0.5 F0.2
N5 G01 Z1.0;
N6 X52.0;
N7 G71 U2.0 R0.5
N8G71 P11 Q20 U0.4 W0.2 F0.2
N10 G00 X14.0
N11 G01 X15.0 Z0 F0.2
N12 X20.0 Z-2.5
N13 Z-6.0
N14 G02 X20.0 Z-14 R5
N15 G01 Z-22.0
N16 G01 X20 Z-23.79
N17 G02 X30.17 Z-32.5 R10
N18 G01 X40.0 R5.0 ( what is this R5?)
N19 Z-70.0
N20 U2.0 W1.0
N21 G00 X100.0 Z100.0 M09
T0100 ( no need to call T# again to cancel the offset just T0. will works)
N22 M01
N23 T0200
N24 G97 S1500 M04
N25 T0202
N25 G00 (G42 )X55.0 Z1.0
G42
N26 G70 P10 Q20
N27 G00 X100.0 Z100.0 M09
T0200(T0)
N28 M01
N29 ..
.GROOVE CUTTING
.
N35 ..
. (DRILLING operations)
.
M30
%
Reply With Quote

  #8   Ban this user!
Old 11-04-2010, 03:13 PM
 
Join Date: Jan 2008
Location: Tunisia
Posts: 8
merhas06 is on a distinguished road

Thanks manolo for re-editing the program.

You are perfectly right. For lathe, G90 is for outer diameter/ inner diameter cutting cycle.

Like C for chamfering, the R5.0 is the radius of the corner with the direction X to Z (I can use G03 for the same purpose).

The method that I use in all programs is recommended by Peter Smid in his famous CNC PROGRAMMING HANDBOOK Second Edition.

Your recommendations are well. I think I will review this method.

Thanks again

Last edited by merhas06; 11-04-2010 at 04:21 PM.
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
Need Help!- First Rapid movements need changed ToddF Post Processors for MC 1 09-12-2010 06:43 AM
Program stop/Tool Carousel problem dylskee Haas Mills 5 11-29-2007 03:46 PM
Arc movements for circles ozturbo MadCAM 8 08-05-2007 10:59 PM
precise movements in mach....how do I... cephjedi Mach Software (ArtSoft software) 2 04-04-2007 06:52 PM
Z Movements Are he Wrong Way. Why? gopackgo Kellyware CAM 4 05-15-2004 06:10 PM




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