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 > General Metalwork Discussion


General Metalwork Discussion Discuss everything relating to metal work.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 09-08-2009, 03:04 PM
 
Join Date: Sep 2009
Location: us
Posts: 19
taperedbearings is on a distinguished road
macro B parametric Program mazak lathe

Hello,

Could someone help me with creating a variable program In G code using variables #500 and above.

The part is a Tapered Roller for a Tapered Bearing.

i can send a pdf. of the print email me at jdp@kingsbury.com

Here is the code generated by smartcam for the part to be made

the variables i'm looking to use are.

1. length of part
2. Dia. and taper angle
3. back face radius driven by taper angle
4. corner radius
5. counterbore depth, dia. is driven by tool used
6. thru hole is driven by tool used
7. material is 8620 steel
8. i would like to create a straight roller with no back face radius also from this program by simply setting values to 0 or some value.

(MSG, 69556-3.EIA 1.25" X 2.35" TAPER ROLLER K069556-3M BHB 08/26/09)
G0 G18 G20 G40 G53 G80 G96 G99 G111


G30 U0
G30 W0
G99
G111
G50 S4000 R1
M901
N10 T1010.03 G96 S660 M4 R1 M8
(MSG, WALTER DWLNL 16 4 D HOLDER- FACING UP AND LEFT)
(MSG, ROUGH TURN LEAVING .015")
G0 Z0.1 X1.7
Z0.015
G1 X-0.062 F0.02
G0 Z0.1
X1.4537
G1 Z-2.63742
X1.5
G0 Z0.1 X1.7
X1.1538
G1 Z-0.00012
G3 X1.36004 Z-0.15036 I-0.05788 K-0.15024
G1 Z-0.18059
X1.35991 Z-0.18503
X1.21031 Z-2.63742
X1.4537
G0 Z0.1 X1.7
G30 U0
G30 W0
M1
G99
G111
G50 S4000 R1
M901
N20 T0202.01 G96 S700 M4 R1 M8
(MSG, WALTER DWLNL 16 4 D HOLDER- FACING UP AND LEFT)
(MSG, FINISH FACE AND TURN - HD1)
G0 Z0.1 X0.44625
Z0.05238
X0.42192
G1 X1.0904 Z-0.00656 F0.012
G3 X1.32991 Z-0.15378 I-0.02518 K-0.1428
G1 X1.17944 Z-2.62046
G0 Z-2.505 X1.37946
Z0.1
G30 U0
G30 W0
M1
G99
G111
G50 S4000 R1
M901
N30 T0606.01 G97 S3000 M3 R1 M8
(MSG, NINE-9 CHAMFER TOOL)
(MSG, SPOT FOR DRILL)
G0 Z0.1 X0.0
G1 Z-0.177 F0.0033
G0 Z0.1
G30 U0
G30 W0
M1
G99
G111
G50 S4000 R1
M901
N40 T1212.01 G96 S80 M3 R1 M8
(MSG, -J- (.277) HSS DRILL 2.4" MIN FLUTE LENGTH)
(MSG, DRILL THRU)
G0 Z0.0 X0.0
G1 Z-0.65 F0.003
G0 Z0.0
Z-0.6
G1 Z-0.85
G0 Z0.0
Z-0.8
G1 Z-1.05
G0 Z0.0
Z-1.0
G1 Z-1.25
G0 Z0.0
Z-1.2
G1 Z-1.45
G0 Z0.0
Z-1.4
G1 Z-1.65
G0 Z0.0
Z-1.6
G1 Z-1.85
G0 Z0.0
Z-1.8
G1 Z-2.05
G0 Z0.0
Z-2.0
G1 Z-2.25
G0 Z0.0
Z-2.2
G1 Z-2.45
G0 Z0.0
Z-2.4
G1 Z-2.49322
G0 Z0.0
G30 U0
G30 W0
M1
G99
G111
G50 S4000 R1
M901
N50 T0707.01 G96 S205 M3 R1 M8
(MSG, .625" C.E.M.)
(MSG, SPOTFACE PER PRINT)
G0 Z0.0 X0.0
G1 Z-0.037 F0.0016
G0 Z0.0
G30 U0
G30 W0
M1
G99
G111
G50 S4000 R1
M901
N60 T0303.01 G97 S1200 M3 R1 M8
(MSG, SECO CFML 100 05D W/SECO LCMF 160505-A187-MT CP500)
(SET Z TO RIGHT SIDE OF TOOL)
(MSG, BACK END RADIUS AND CUT-OFF- HD1)
G0 Z-2.355 X1.7
X1.52992
G1 X0.76071 F0.003
X1.48992
G0 Z-1.94426
X1.30695
G1 X1.19707 Z-2.25584
G3 X0.96071 Z-2.355 I-0.11818 K0.02084
G1 X-0.04
X1.48992
G0 X1.7
G30 U0
G30 W0
G28 B0
M1
M99
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!- Sample EIA program for Mazak lathe extanker59 Mazak, Mitsubishi, Mazatrol 5 10-24-2011 08:16 PM
Need help understanding a program Fanuc 6t on a Mazak lathe mgb1974 Fanuc 15 07-31-2009 03:48 PM
Testing program for Macro (Fanuc Macro B) NickDP Fanuc 2 03-27-2009 03:15 PM
Need Help!- Mazak macro bill52 General Metal Working Machines 3 10-01-2008 12:44 PM
Macro/Parametric Programming screensnot Fadal 4 03-28-2005 08:45 PM




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