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 12-16-2011, 04:27 AM
Snowie's Avatar  
Join Date: Jul 2008
Location: NZ
Posts: 48
Snowie is on a distinguished road
Question Fanuc T6 G71 type 2 G-code troubles

Hi all
Not sure if this is the right place to post this or not.. but here go's

I'm having troubles at setting up Type 2 G71 Canned cycles witch i need as there is pocketing in the Z axis

The machines errors out 065 when it runs the first line of the roughing cycle

HTML Code:
%					' This program Machines the Z profile
'Material 2in out 65mm from chuck
:0003						'Program number
N010 G50 S1500;					'Set max chuck speed
N020 G96 M04 S200;				'Turn on constant surface speed, Start splindle clockwise  @ 200M/Min chuck speed
N030 G99;					'Turn on feedrate mm\rev
N040 /M08;					'Option turn on coolant
N050 G00 X52.00 Z1.00;				'Rapid positioning, Move to position X52 if a bit bigger than the diameter of the stock work peice
N060 G71 P070 Q190 U0.5 W0.00 D1000 F0.25;	'(G71)Z Profile,(P060)Start of facing cycle,(Q070)End of facing cycle,(U0.5)Finishing allowance X directing.(W0.25)Finishing allowance Z directing,(D500)Depth of cut 0.5mm.
N070 G00 X31.00 Z0 ;				'Start of tit on the end  ---------Errors here-------------
N074 G01 Z0.00;	
N075 X31.75 Z-0.5;					'Tit in the end
N080 X37.00;					'Start of taper
N090 X40.45 Z-5.70;				'Cut taper
N100 Z-17.10;					'Thread leadin start
N110 X45.00 Z-19.38;				'Thread lead in
N120 Z-28.25;					'Thread length
N130 X41.50 Z-30.00;				'Thread lead out taper
N140 Z-33.40;					'Tharead Clearence
N150 X49.30;					'Start of taper
N160 X50.8 Z-34.10;				'Cut taper
N170 Z-39.25;					'Head flange length
N180 X49.3 Z-40.00;				'Cut taper
N190 Z-45.00;					'Clearence cut

'finishing
N200 G70 P070 Q190 F0.15; 			'(G70) Finishing cycle,(P060)Start of facing cycle,(Q070)End of facing cycle
N210 /M09;					'Option turn off coolant
N220 M99;                          			'	 Return from sub program
%

As expected the code runs if i leave out the Z0.00 but the pocket is missed out on the roughing cycle but is done on the G70 finishing


Then manual says it can do it but there is no examples. I've had a Google and the examples i find have the same issue

What am i missing

Cheers
Reply With Quote

  #2   Ban this user!
Old 12-16-2011, 04:35 AM
fordav11's Avatar  
Join Date: Aug 2011
Location: Fordaville
Posts: 939
fordav11 is on a distinguished road

what is alarm 065?

The manual states pocketing in the Z axis with G71 can't be done even if Type II is enabled.

also read this thread....
http://www.cnczone.com/forums/fanuc/...-t_help-2.html

it has a lot of info about type II roughing cycles.
Reply With Quote

  #3   Ban this user!
Old 12-16-2011, 05:20 AM
Snowie's Avatar  
Join Date: Jul 2008
Location: NZ
Posts: 48
Snowie is on a distinguished road

Hi
Sorry i might have lead you a-stray. The pockets are along the Z Axis (Shaft with groves and shapes along the length of it)

Code 065 is a long windered one. But here is the tail end of it

"in G71 & G72 , Z(W) has been commanded (G71) OR X (U) has been commanded (G72) in the block of Sequence No. Commanded by P"

When you say
Type II is enabled.
I take it my machine could not have it enabled??
If so How do i check

Page 158 & 159 of my manual goes on about type 1 and type 2

Cheers
Reply With Quote

  #4   Ban this user!
Old 12-16-2011, 05:57 AM
 
Join Date: Feb 2006
Location: india
Posts: 1,187
sinha_nsit is on a distinguished road

Type II is not available on your machine.
Is it 0i Mate series?
Reply With Quote

  #5   Ban this user!
Old 12-16-2011, 06:03 AM
 
Join Date: Sep 2010
Location: Australia
Posts: 733
angelw is on a distinguished road

Originally Posted by Snowie View Post
Hi
Sorry i might have lead you a-stray. The pockets are along the Z Axis (Shaft with groves and shapes along the length of it)

Code 065 is a long windered one. But here is the tail end of it

"in G71 & G72 , Z(W) has been commanded (G71) OR X (U) has been commanded (G72) in the block of Sequence No. Commanded by P"

When you say

I take it my machine could not have it enabled??
If so How do i check

Page 158 & 159 of my manual goes on about type 1 and type 2

Cheers
To expand on Sinha's comment, Type II G71 and G72 are initiated by programming both X(U) and Z(W) in the block referenced by the P command in the G71 or G72 cycle. Error 065 is raised if an attempt is made to initiate Type II G71 or G72 cycle with a control that does not have that option.

The result that you achieved by leaving out the Z move in the P referenced block is typical if you include a non-monotonous X move when using Type I G71, which is what you have when only an X(U) command is made in the P referenced block. Its also typical that the G70 cycle will follow the profile; it will always follow the finished profile exactly. In fact you can use G70 to run a profile between Sequence numbers referenced by the P and Q commands in the G70 block without having previously executed a G71 or G72 cycle.

Regards,

Bill
Reply With Quote

Sponsored Links
Reply

Tags
g71 type 2




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
Problem- Fanuc 18i on Fadal Troubles? fizzissist Fadal 2 02-16-2010 06:47 AM
Fanuc triple servo drive troubles fasto Fanuc 2 02-12-2010 01:19 PM
Fanuc 11T Soft limit troubles on Slant-1 shupej Fanuc 2 09-26-2007 04:30 PM
Fanuc 6T RS232 Troubles Bent82 Fanuc 6 02-06-2007 12:57 PM
fanuc 0m-B troubles sammer003 Machine Problems, Solutions , Wireless DNC, serial port 2 01-25-2007 05:32 AM




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