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-30-2010, 11:45 AM
 
Join Date: Sep 2010
Location: Mexico
Posts: 13
lfacio12 is on a distinguished road
Improper G Code

I've got a programming problem with an Okuma & Howa ACT 3 lathe with Fanuc 15-T control... thanks to DCoupar I got the rough canned cycle syntax which is the following
G71 P100 Q200 U0.025 W0.010 D0.050 F0.008 S700
and when I run my program it gives me an Improper G Code alarm when it gets to this line... Does anyone know why its giving me this error
Thanks
Reply With Quote

  #2   Ban this user!
Old 12-30-2010, 12:07 PM
 
Join Date: Sep 2007
Location: usa
Posts: 23
gandp is on a distinguished road

Originally Posted by lfacio12 View Post
I've got a programming problem with an Okuma & Howa ACT 3 lathe with Fanuc 15-T control... thanks to DCoupar I got the rough canned cycle syntax which is the following
G71 P100 Q200 U0.025 W0.010 D0.050 F0.008 S700
and when I run my program it gives me an Improper G Code alarm when it gets to this line... Does anyone know why its giving me this error
Thanks

Put the S700 a line above the G71 line and use no decimal when expressing D value. In your case your D value is D500.
Reply With Quote

  #3   Ban this user!
Old 12-30-2010, 01:05 PM
 
Join Date: Sep 2010
Location: Mexico
Posts: 13
lfacio12 is on a distinguished road

Gandp, I've made the changes you suggested but it's still giving me the Improper G Code Alarm.... This lathe has recently been purchased by the company I work for and I'm wondering if there is such a situation where this lathe doesn't support canned cycles....Any ideas?
Reply With Quote

  #4   Ban this user!
Old 12-30-2010, 02:19 PM
 
Join Date: Jun 2008
Location: United States
Posts: 1,507
stevo1 is on a distinguished road

Improper G-code typically means that the machine does not support the canned cycles that you are programming. IOW the canned cycle option is not activated in the control.

Stevo
Reply With Quote

  #5   Ban this user!
Old 12-30-2010, 03:20 PM
 
Join Date: Sep 2007
Location: usa
Posts: 23
gandp is on a distinguished road

Originally Posted by stevo1 View Post
Improper G-code typically means that the machine does not support the canned cycles that you are programming. IOW the canned cycle option is not activated in the control.

Stevo

Ok, that may be the case, but could it also be the "2 line" method he needs here? Example

G71 U.05 (.05 depth per cut)
G71 P100 Q200 U.025 W.01 F.008

Last edited by gandp; 12-30-2010 at 03:27 PM. Reason: wrong info
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 12-30-2010, 04:14 PM
 
Join Date: Sep 2010
Location: Mexico
Posts: 13
lfacio12 is on a distinguished road

I've tried the "2 line" command and I'm still getting the same error.... I'm thinking that i don't have the canned cycle option enabled on this machine... how do I enable this feature?
Reply With Quote

  #7   Ban this user!
Old 12-30-2010, 05:50 PM
 
Join Date: Sep 2007
Location: usa
Posts: 23
gandp is on a distinguished road

pm sent
Reply With Quote

  #8   Ban this user!
Old 12-30-2010, 08:18 PM
 
Join Date: Aug 2008
Location: singapore
Posts: 10
rajanvadakkepat is on a distinguished road

try this method.
G71 U 0.20 R0.50;
G71 P 100 Q200 U0.01 W0.0 F 0.0002;
N100 G0 X ... Z 0.0;
G1 X.....
..
...
...
N200 G 0 Z 2.0;
G28 U0.0 W0.0
Reply With Quote

  #9   Ban this user!
Old 12-30-2010, 11:31 PM
 
Join Date: Sep 2007
Location: usa
Posts: 23
gandp is on a distinguished road

Originally Posted by rajanvadakkepat View Post
try this method.
G71 U 0.20 R0.50;
G71 P 100 Q200 U0.01 W0.0 F 0.0002;
N100 G0 X ... Z 0.0;
G1 X.....
..
...
...
N200 G 0 Z 2.0;
G28 U0.0 W0.0
Oh that's right rajanvadakkepat. It's been a while for me with this. Would this be for the 15t or did fanuc use this style after that? The R value is depth of cut and the U is finish allowance? I don't know why they couldn't keep it to one line anyway.
Reply With Quote

  #10   Ban this user!
Old 12-30-2010, 11:54 PM
 
Join Date: Sep 2010
Location: Australia
Posts: 733
angelw is on a distinguished road

Originally Posted by rajanvadakkepat View Post
try this method.
G71 U 0.20 R0.50;
G71 P 100 Q200 U0.01 W0.0 F 0.0002;
N100 G0 X ... Z 0.0;
G1 X.....
..
...
...
N200 G 0 Z 2.0;
G28 U0.0 W0.0
I doubt that the way in which the G71 cycle is programmed will generate an Improper G Code alarm. If the control uses the two block G71 system, omitting the first block results in the values previously set being used, as the values are modal and non-volatile with power off, it does not cause an Improper G Code alarm.

Stevo's comment regarding the control not supporting the canned cycles being programmed is correct and the most likely cause of this alarm condition.

Regards,

Bill
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 01-03-2011, 09:01 AM
 
Join Date: Sep 2010
Location: Mexico
Posts: 13
lfacio12 is on a distinguished road

Thanks guys for your input... i've tried all the methods suggested and the machine still gives me an Improper G Code alarm. As Bill has suggested, I really do think that this machine does not have canned cycles enabled and so I guess I'm stuck at programming line by line.
Reply With Quote

  #12   Ban this user!
Old 01-04-2011, 12:03 AM
 
Join Date: Feb 2006
Location: india
Posts: 1,187
sinha_nsit is on a distinguished road

G90 and G94 might be available which will simplify programming a little bit.
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!- fanuc 10 m X axle improper NC adress maher Machine Problems, Solutions , Wireless DNC, serial port 0 04-04-2008 08:23 AM
SX3... improper Mach3 pinout ?? no steppping krazatchu Syil Products 60 02-19-2008 05:21 AM
Improper V-Ready Off Alarm??? Crashmaster Fanuc 2 09-18-2007 07:31 AM
Fanuc 11m error message. improper number of axis kmcmillen571 Machine Problems, Solutions , Wireless DNC, serial port 0 04-01-2007 07:14 PM
svo13 y and u improper v_ready off stanman Machine Problems, Solutions , Wireless DNC, serial port 10 11-15-2006 08:11 AM




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