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 > G-Code Programing


G-Code Programing Discuss G-code programing and problems here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 09-29-2007, 06:54 AM
 
Join Date: Sep 2007
Location: canada
Age: 53
Posts: 11
pjmorand is on a distinguished road
c-axis programming lathe

Hello;
I am looking for a few sample programs using the c-axis feature for the lathe.
The equipment I will be using is Yama seiki ga-2000 series
with a fanuc Oi TB controller
I am looking for milling,drilling and tapping examples.
I am also wondering about the difference in using either the c or h for controlling the chuck rotation?
my email is
pjmorand@hotmail.com

Thank you
Reply With Quote

  #2   Ban this user!
Old 09-29-2007, 09:24 AM
 
Join Date: Jul 2007
Location: England
Posts: 60
star-turn is on a distinguished road

You would be better off looking at your manuals for prog examples as each machine maker seems to use different codes for activating live tooling

other than this drill tapping and basic milling are the same as turning G01 for feed you feed per rev or meters per min. you are just dealing with X, Z in a slightly different way.

C usually is absolute degrees H is incremental move.

ST
Reply With Quote

  #3   Ban this user!
Old 09-29-2007, 11:03 AM
 
Join Date: Sep 2007
Location: canada
Age: 53
Posts: 11
pjmorand is on a distinguished road

Thats the problem I am having the maker did not include any examples.
The m codes are ,
m18 c-axis cancel
m19 c-axis on
m29 rigid tapping

m73 revolve tool forward
m74 reverse
m75 stop

H and c as you mentioned

What G-codes are involved other than g97,g98
Thanks
Reply With Quote

  #4   Ban this user!
Old 09-29-2007, 08:39 PM
cnc-king's Avatar  
Join Date: Jul 2003
Location: united states
Posts: 232
cnc-king is on a distinguished road

G87 AND G88 are drilling and tapping with the -X- axis on the od of a part
__________________
If you can ENVISION it I can make it
Reply With Quote

  #5   Ban this user!
Old 09-29-2007, 08:45 PM
 
Join Date: Sep 2007
Location: canada
Age: 53
Posts: 11
pjmorand is on a distinguished road

Thank you King,
Got any sample programs?
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 10-01-2007, 06:27 AM
cnc-king's Avatar  
Join Date: Jul 2003
Location: united states
Posts: 232
cnc-king is on a distinguished road

don't know if this will work for you but this is from a fanuc control
q has to be reapeted on every line
r is an incremental value from x start point
remember x is diametrical and y is radial

substitute G88 for the tap. g88 is already rigid tap mode

N6(3/64 DIA TIN COATED COBALT DRILL )
G30U0W0
M35( milling mode)
M90( unclamp c axis)
G0G40G80G97G98
G0G54T0606
/M33S2491
M110 ( interferance check)
M8
G0C0.Z-.1Y.445
X.46
G87C0.X-.425Q300R-.025M89F3.5
C120.R0500Q300M89
C240.Q300R0500M89
G80X1.0
C0.M90
G28V0
G28H0
G30U0M35
M5
M1
__________________
If you can ENVISION it I can make it
Reply With Quote

  #7   Ban this user!
Old 10-01-2007, 06:49 PM
 
Join Date: Sep 2007
Location: canada
Age: 53
Posts: 11
pjmorand is on a distinguished road

Thank you King!
I will give it a whirl!
Paul
Reply With Quote

  #8   Ban this user!
Old 10-02-2007, 09:10 AM
jbird68's Avatar  
Join Date: Aug 2007
Location: USA
Posts: 15
jbird68 is on a distinguished road
Smile

This is a recent Drill and Tap program I used on our Leadwell CNC with Fanuc OiTB Control. We don't have B-Axis to cross-mill and can only Mill, Drill and Tap on the centerline in the Z direction only. Remember when milling, your finish depth will be in diameter. I tried to add notes where possible. I hope this helps.

[THERE ARE THREE MILLED FLATS FOR N3...ONE EACH AT 180 DEG., 0.0 DEG, AND 270 DEG.]

N3 (MILL CYLINDER FLAT)
(TOOL 1.250 OD END MILL)
G50 S3500
T0303 G54
M60
M5
M90
M191
G97 S424 M95
G98
G0 G28 H0
G0 C-180.
G0 Z0.75
X1.7500 M8
G0 X1.0635
G1 Z-1.3 F3.4 (First pass @C180.0)
G0 X1.7500
G0 Z0.75
G0 X0.752 (Finish Dia.{depth})
G1 Z-1.3 (Final pass @ C180.0)
G0 X2.7500
Z0.75

(MILL SENSOR FLAT)
G98
G0 C0.
G0 Z0.75
X2.7500
G0 X1.0500 (Finish Dia. {Depth})
G1F6.79
G1Z-1.3 F5.0 (Final Pass @C0.0)
G0X2.7500
Z0.75

(MILL AIR HOLE FLAT)
G98
G0 C270.
G0 Z0.75
X2.7500
G0 X1.352 (Finish Dia. {Depth})
G1F6.79
G1Z-0.700 F6.0 (Final pass @C270.0)
G0X2.7500
Z0.75
M9
M95
G0 X8.
G0 Z4.
M1

[THERE ARE THREE CROSS-DRILLED HOLES FOR N7...2 ON C0.0 @ Z-0.25 AND Z-0.846 AND 1 ON C270.0 @ Z-0.846]

N7 (#29 CROSS DRILLED HOLES)
(TOOL .136 CROSS DRILL - MAIN)
G50 S3500
T0505 G54
M59
M90 (C-Axis1 Mode On)
G0G28H0 (Home C-Axis)
G28C0.0 (C-Axis to 0.0)
G0X1.475
G0Z-0.25
G97G98S3000M94
M8
G87X0.125C0.0Z-0.25Q2500F4.0M35 (Drill Peck cycle @C0.0)
Z-0.846Q2500 (2nd hole on C0.0 @ Z-0.856)
G80
M36 (C-Axis1 Unclamp)
G0X1.452
G87X0.125Z-0.846C270.F4.0M35 (Drill Peck cycle @C270.0)
G80
M36 (C-Axis1 unclamp)
M95 (Spindle Stop)
M91 (C-Axis1 Mode OFF)
M9
G0X8.0
G0Z4.0
M1

[THERE ARE THREE CROSS-TAPPED HOLES FOR N8...2 ON C0.0 @ Z-0.25 AND Z-0.846 AND 1 ON C270.0 @ Z-0.846]

N8 (8-32 TAP 1)
(TOOL 8-32 TAP - CROSS)
G50S3500
T0707G54
M59
M90 (C-Axis1 Mode On)
G0X1.5
G0Z0.25C0.0
Z-0.25
X1.65
M65S721 (PMC-Axis Control ON)
G188U-0.375Z-0.250C0.0R0.3F0.03125S721D1.05 (Tapping cycle @C0.0)
Z-0.846 (2nd Tapped hole on C0.0 @ Z-0.846)
M66 (PMC-Axis control OFF)
M36 (C_Axis1 Unclamp)
G0X1.959
C270.0 (Rotate C-Axis to C270.0)
M65S721 (PMC-Axis Control ON)
G188U-0.375Z-0.846C270.R0.30F0.03125S721D1.352 (Tapping cycle @C270.0)
M66 (PMC-Axis control OFF)
M36 (C_Axis1 Unclamp)
M91 (C-Axis1 Mode OFF)
M9
G0X8.0
G0Z4.0
M1
Reply With Quote

  #9   Ban this user!
Old 10-05-2007, 03:44 PM
 
Join Date: Sep 2007
Location: canada
Age: 53
Posts: 11
pjmorand is on a distinguished road

Thank you jbird68!
Paul
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
Super NTJ LATHE Variable programming mike9696 G-Code Programing 8 07-10-2007 07:42 PM
haas lathe programming question pavelbure Haas Lathes 4 06-17-2007 10:17 AM
4-axis, 3+2, or 4+ axis programming system? roboticist General CAM Discussion 0 09-04-2006 01:02 PM
CNC Lathe programming software on Ebay WayneHill Product Announcements & Manufacturer News 0 07-19-2005 11:21 AM
Programming lathe with radius numbers mudwhump BobCad-Cam 1 06-07-2004 07:14 AM




All times are GMT -5. The time now is 10: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 354 355 356 357 358 359 360 361