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 01-04-2011, 06:00 PM
 
Join Date: Dec 2008
Location: Canada
Age: 59
Posts: 32
jdgromi is on a distinguished road
Question Error 041

Hello!
I have a Fanuc 21i-T. When I use the G42 code in my G71 ..G70 caned loop this error message occur '' 041 Interference in NRC ''
What's the problem?

Best regards
Jean-Denis
Reply With Quote

  #2   Ban this user!
Old 01-04-2011, 06:22 PM
dcoupar's Avatar  
Join Date: Mar 2003
Location: USA
Posts: 2,312
dcoupar is on a distinguished road

Post your program here so we can see what might be causing the error. Also, what are the values in the T and R for that tool?
Reply With Quote

  #3   Ban this user!
Old 01-05-2011, 06:48 PM
 
Join Date: Dec 2008
Location: Canada
Age: 59
Posts: 32
jdgromi is on a distinguished road
ERROR 041

Hello!
Dcoupar

This is my program
%
O0102 (INSERT 48 66363 )
N10 G20 G50 S3000
N20 T0101 (CONTOUR )
N30 G97 G0 X,375 Z,04
N35 S1800 M03
N40 G71 U,03 R,02
N50 G71 P60 Q100 U,01 W,005 F,008
N60 G0 X,170
N70 G1 Z0 F,005
N80 X,250 Z-,04
N90 Z-,32
N100 X,188
N110 Z-,375
N120 X,25
N130 X,375 Z-,405
N135 G42
N140 G70 P60 Q130
N145 G40
N150 G0 X2 Z4
N160 T0202 ( FILET 1/4-20 NC )
N170 G97 GO
N180 G0 X,27 Z,1 S600 M03
N190 G76P010060Q00R00
N200 G76 X,181 Z-,36 P325 Q90 F,05
N210 GO X2
N220 G0 Z4
N230 T0404 (RAINURE + COUPER)
N240 GO Z-.56
N250 X,39
N260 S1000 M03
N270 G1 X,08 F,005
N280 G0 X.39
N290 Z-1.06
N300 G1 X-.1 F.005
N310 G0 X2
N320 Z4 M30

The value of T=2 and R = .032

Many Thanks.

Jean-Denis
Reply With Quote

  #4   Ban this user!
Old 01-05-2011, 08:52 PM
 
Join Date: Sep 2010
Location: Australia
Posts: 733
angelw is on a distinguished road

Originally Posted by jdgromi View Post
Hello!
Dcoupar

This is my program
%
O0102 (INSERT 48 66363 )
N10 G20 G50 S3000
N20 T0101 (CONTOUR )
N30 G97 G0 X,375 Z,04
N35 S1800 M03
N40 G71 U,03 R,02
N50 G71 P60 Q100 U,01 W,005 F,008
N60 G0 X,170
N70 G1 Z0 F,005
N80 X,250 Z-,04
N90 Z-,32
N100 X,188
N110 Z-,375
N120 X,25
N130 X,375 Z-,405
N135 G42
N140 G70 P60 Q130
N145 G40
N150 G0 X2 Z4
N160 T0202 ( FILET 1/4-20 NC )
N170 G97 GO
N180 G0 X,27 Z,1 S600 M03
N190 G76P010060Q00R00
N200 G76 X,181 Z-,36 P325 Q90 F,05
N210 GO X2
N220 G0 Z4
N230 T0404 (RAINURE + COUPER)
N240 GO Z-.56
N250 X,39
N260 S1000 M03
N270 G1 X,08 F,005
N280 G0 X.39
N290 Z-1.06
N300 G1 X-.1 F.005
N310 G0 X2
N320 Z4 M30

The value of T=2 and R = .032

Many Thanks.

Jean-Denis
Jean,

1. You start the G71 cycle with a an X only move in line N60. This will invoke Type I G71 cycle, in which only monotonous X direction moves are allowed, no pocketing, yet the moves between N60 and N100 show a change in direction of X. This would have no bearing on the error message you have, but its not the correct way to program G71. G71 Type II allows pocketing and is invoked by programing any combination of X or U and Z or W on the N60 line.

2. From what I can see from your program, the moves between N90 and N120 forms a groove that has a width of 0.055. As can be seen in the picture contained in the attached zip file, there will be considerable interference with the work during various moves. The Green circle represents move N90, the Blue circle move N100 and the Red circle move N110. I suspect that this will be the reason for the error.
G42_Error.zip

3. From your program, it would seem that the program is for an OD profile and the G42 would indicate that the tool is on the right side of the work's center line, viewed looking toward the chuck. If that the case, then I believe that the T value should be 3. T=2 would be for a boring bar.


Regards,

Bill

Last edited by angelw; 01-06-2011 at 12:30 AM. Reason: Edit point 2 with regards to reason for error.
Reply With Quote

  #5   Ban this user!
Old 01-06-2011, 06:12 PM
 
Join Date: Dec 2008
Location: Canada
Age: 59
Posts: 32
jdgromi is on a distinguished road
Thumbs up ERROR 041

Hello!

Thank Bill
Your answer was correct.
I had two major errors, my tools radius was to hight and my T value was wrong too.

I have an other question:
How can I program my G71 in type II. You wrote that G71 allows pocketing. How can I write line N60 for to do that?

Best Regards
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 01-06-2011, 08:55 PM
 
Join Date: Sep 2010
Location: Australia
Posts: 733
angelw is on a distinguished road

Originally Posted by jdgromi View Post
Hello!

Thank Bill
Your answer was correct.
I had two major errors, my tools radius was to hight and my T value was wrong too.

I have an other question:
How can I program my G71 in type II. You wrote that G71 allows pocketing. How can I write line N60 for to do that?

Best Regards
Jean,
All you have to do is have a two axis move on that first line. The Z doesn't have to actually be a move, but the control must see an X and Z word, or the equivalent incremental representation. In the example below you will see that the Z value in the N60 line is exactly the same as the Z value where you parked the tool prior to calling the G71. You could also have programed X0,170 W0,0, and this would have invoked G71 Type II.

With your original program, and ignoring the tool nose radius issue, your workpiece would have been stuffed during the roughing cycle before the finishing pass. The picture in the attached zip file shows the tool path for the roughing and finishing in Red and Green respectively. I've used a smaller tool radius in the roughing for clarity so that you can see the two paths, other wise the first part of the program would have only shown the one color. You will see in the picture where the roughing tool came down on the Z+ side of the groove. This is because the 6 and 9 o'clock points on the tool radius are the points that are programed.

I'm not a fan of using tool radius compensation with a lathe. It's necessary with a machining center, because you need that to control the size of the part, but with a lathe, this is not the case. Further, with a lathe machining towards the chuck and the tool on the right hand side of center line, G42 would be used to offset to the right away from the center line. When the tool is returning to the Z start to take the next cut, the tool will still keep to the right of the programmed path, but offsetting to the right is now towards the center line, with disastrous results if the tool was not retracted a sufficient distance to avoid interference with the work, or G42 canceled or swapped with G41.

Programming the true position of the tool with respect to tool nose radius comp is easy, even if done manually, and with the low priced or free CAM packages available to do this for you, I see little argument for using tool radius comp with a lathe.
G42_Error2.zip

Regards,

Bill


%
O0102 (INSERT 48 66363 )
N10 G20 G50 S3000
N20 T0101 (CONTOUR )
N30 G97 G0 X,375 Z,04
N35 S1800 M03
N40 G71 U,03 R,02
N50 G71 P60 Q100 U,01 W,005 F,008
N60 G0 X,170 Z0,04 (This will invoke G71 Type II)
N60 G0 X,170 (This will invoke G71 Type I only)

Last edited by angelw; 01-07-2011 at 02:28 AM.
Reply With Quote

  #7   Ban this user!
Old 01-07-2011, 03:32 PM
 
Join Date: Dec 2008
Location: Canada
Age: 59
Posts: 32
jdgromi is on a distinguished road
Exclamation 065 illegal command

Hello! Bill

When I had included in my program this line "N60 G0 X,170 Z0,04 (This will invoke G71 Type II), this error occure: 065 illegal command in G71-G73. Perhaps a bad setting of my controler???? I don't konw.

Best regards

Jean-Denis
Reply With Quote

  #8   Ban this user!
Old 01-07-2011, 03:54 PM
 
Join Date: Sep 2010
Location: Australia
Posts: 733
angelw is on a distinguished road

Originally Posted by jdgromi View Post
Hello! Bill

When I had included in my program this line "N60 G0 X,170 Z0,04 (This will invoke G71 Type II), this error occure: 065 illegal command in G71-G73. Perhaps a bad setting of my controler???? I don't konw.

Best regards

Jean-Denis
Jean,
Its probable that your control does not have G71 Type II. Its an option, but its a fairly basic option and most Fanuc controls from 6TB onwards had G71 Type II without it specifically being requested when the machine was ordered. In fact, late model control manuals simply refer to the two Types without reference to Type II being an option.

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
Error with topic ( Fatal error:) giveinfo Forum Questions or Problems 1 09-30-2010 11:03 PM
tl-2 program integrity error and program data error alarm #'s 212 250 need help CNChelp Haas Mills 12 03-14-2010 08:19 PM
Need Help!- Matsuura Mc500v seq error/magazine error mc500v General Metal Working Machines 10 01-08-2010 01:35 PM
Need Help!- Error 414 Z axis error detect- servo alarm andywids Fanuc 0 07-09-2009 10:33 AM
Need Help!- Error 414 Z-axis error detect servo alarm andywids General Metal Working Machines 1 07-09-2009 09:56 AM




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