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! > MetalWorking Machines > Okuma


Okuma Discuss Okuma machines here.


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 03-18-2008, 10:40 PM
 
Join Date: Feb 2007
Location: USA
Age: 56
Posts: 29
Tumbleweed Tim is on a distinguished road
bad code

Anyone got any ideas??
Why won't this work? It won't get the #14 offset. Trying to turn a .750 sphere with a .375 dia. neck with a .120 wide 0156r using both edges. I can't get it to get #14 at X.75Z-.375. cuts back side with #4 only. Is this possible to do like this?
G50S4000
G00 X50 Z50
X1.0Z0.050 T040404 G96S800 M03 M08
G85 NBAL D.025 U.010 W.005 F.015
NBAL G81
G00 X-.03 Z.3
G42 I.005
G01Z0.0 F.005
X0.0
G03 X.750 Z-.375 I0 K-.375
G03 X.375 Z-.700 I-.375 K0 T140414
G01 Z-1.0
X1.2
G40 K.005
G80
G00 X50Z50
T040404
G87 NBAL
G00X50Z50
M02
Thanks in advance,
Tim
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 03-19-2008, 06:23 AM
 
Join Date: Oct 2007
Location: US
Posts: 48
compuslave is on a distinguished road

To use offset 14 with tool number 4 you need to say T0414, also check that your tip data is correct on your tool offset page. For a tip that points straight down it should have an 8 for tip direction.

Code:
G50S4000
G00 X50 Z50
X1.0Z0.050 T040404 G96S800 M03 M08
G85 NBAL D.025 U.010 W.005 F.015
NBAL G81
G00 X-.03 Z.3
G1 Z0 G42F.005
X0.0
G03 X.750 Z-.375 I0 K-.375
T0414
G03 X.375 Z-.700 I-.375 K0 
G01 Z-1.0
X1.2
G40 K-.0004
G80
G00 X50.Z50.
T040404
G87 NBAL
G00X50Z50
M02
Try that. I have never used offsets like that within a LAP cycle. Let me know how it turns out.

Last edited by compuslave; 03-19-2008 at 06:29 AM. Reason: Forgot something.
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 03-19-2008, 06:31 AM
 
Join Date: Oct 2007
Location: US
Posts: 48
compuslave is on a distinguished road

I seriously doubt your gonna be able to switch offsets like that since cutter comp would be totally lost.
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 03-19-2008, 01:13 PM
 
Join Date: Mar 2008
Location: USA
Posts: 28
throttle_jockey is on a distinguished road

This will probably work, but you must remember the 6 digit tool offset, and the order that it reads in. Just like in the tool layout page, R T O, radius, tool, offset. I think if you call the offset with 6 digits you'll get what you're after.
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 03-19-2008, 02:16 PM
 
Join Date: Feb 2007
Location: USA
Age: 56
Posts: 29
Tumbleweed Tim is on a distinguished road

Thanks,

Draws fine on the screen. Cuts the shape of football. Does not even show tool going into the part when it gets to start G87. Thanks for your input and I did run the program as copied and pasted.
Okuma can't get it to go either and they say it should work, Really wierd.

Thanks,
Tim
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 03-19-2008, 03:00 PM
 
Join Date: Nov 2007
Location: Canada
Posts: 51
lshingleton is on a distinguished road

You can try -should work-you are just moving the rear side by a variable


G50S4000
G00 X50 Z50
X1.0Z0.050 T040404 G96S800 M03 M08
G85 NBAL D.025 U.010 W.005 F.015
NBAL G81
G00 X-.03 Z.3
G42 I.005
G01Z0.0 F.005
X0.0
G03 X.750 Z-.375 I0 K-.375
()
V1=.120(or manually enter data )
G03 X.375 Z-.700+V1 I-.375 K0+V1
G01 Z-1.0+V1
()
X1.2
G40 K.005
G80
G00 X50Z50
T040404
G87 NBAL
G00X50Z50
M02
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 03-19-2008, 03:03 PM
 
Join Date: Nov 2007
Location: Canada
Posts: 51
lshingleton is on a distinguished road

Just check whether the variable should be a minus or a plus value
Tweet this Post!Share on Facebook
Reply With Quote

  #8   Ban this user!
Old 03-19-2008, 04:16 PM
 
Join Date: Feb 2007
Location: USA
Age: 56
Posts: 29
Tumbleweed Tim is on a distinguished road

Wow,
Now that looks sneaky. I went to full radius tool, but I will try that some time when I can play with it. Thanks.

Now I need to adjust size. I get .750 at center and .7507 everywhere else on the sphere diameter. Is in tol, but I am thinking I can get closer. Offsets are .06/.06. I am getting a little spiral pip at center.
I don't need bearings but I want them.
Thanks,
Tim
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
Wierd NC Code and G-Code Tazzer General CAM Discussion 10 01-09-2012 02:07 PM
To hand Code? or to CAD Code? automizer Polls 81 11-26-2011 10:30 PM
learning g code or cad-cam code output? slow_rider G-Code Programing 3 02-27-2010 09:48 PM
G-code for beginners - want to learn G-code FPV_GTp G-Code Programing 7 11-18-2008 12:25 AM
looking for g code 3d from bobcadcam or simmilar for indexer lpt v5 with g code soft troyswood Ability Systems - LPT Indexer and G-Code 2 12-24-2006 10:21 PM




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