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 > CNC Swiss Screw Machines


CNC Swiss Screw Machines Discuss CNC Swiss Screw Machines here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 04-27-2010, 07:33 AM
 
Join Date: Mar 2010
Location: USA
Posts: 20
Ovrclck350 is on a distinguished road
Quick G12.1 Question (L20)

When programming in G12.1 from the 30-Tools are both the X and Y dimensions still in diameter?

Thanks in advance.
Reply With Quote

  #2   Ban this user!
Old 04-27-2010, 10:57 AM
 
Join Date: Oct 2007
Location: USA
Posts: 24
tejano4life72 is on a distinguished road

Straight out of WinCNC:

G12.1- (option)Converts C axis degrees and X axis movement to work like
a milling machine. Program X-Y axis and the control converts all the
commands to degrees automatically. X and Y are programmed in radius
values and zero is at the center of the part, like a milling machine.
Tool nose rad comp is also needed to use G12.1 correctly. Thinking
about the direction for G2/G3 and G41/G42 is backwards! You have to
imagine you are back behind the guide bushing looking to the cutter.
If you can't do this, then just do everything opposite!

There are some new options while calling G12.1. We used to have to
change parameters to use G12.1 #1125 Mill_AX and #1126 MillC , now
we can set these while calling G12.1 . See also G16 below.

G12.1 (no arguments uses C commands same as G12.1 D1 E=C)

G12.1 D0 E=C

D0 -You can use "C" or "Y" as the virtual axis while in G12.1
The manual suggests using "D1" to use "C" but I don't agree.
If in G17 X-Y plane, then I suggest you use "D0" to use Y".
Your choice, it makes no difference which you use! If D is
not on the G12.1 line then "C" is default.
Always have "D" first on the G12.1 line!

E=C -This will set the axis number of the system to use as the
polar axis. This depends if you are using the gang plate in
$1 or the U121B option in $2 or $3. Setting E=C will set the
proper axis automatically. If you don't use E=C on the line then
$1 C axis is default. For safety, always use E=C


(MILL A .3 SQUARE WITH .02R CORNERS)
T1100(Live face mill/.25" cutter /1/2"bar)
(M5)
M18C0
G98M59S3=1200 (GSE1110 is reverse rotation)
(G4)
M132(Y axis mirror image off) (if not T11-13 then M132 not needed)
G0X.8Z.1T10
G12.1 D0 E=C
G17
G41G0X.15Y.3
G1Y-.15,R.02F8.(or use G2)
X-.15,R.02
Y.15,R.02
X.15,R.02
Y.1
G40G0X.4Y0
G13.1
G18G99M60
M131(Y axis mirror image on) (if not T11-13 then M132 not needed)

G13.1- reverses G12.1 by setting control of the C axis back to C and H

G16- Plane select Y-Z cylindrical machining. To use this plane you need the
option of G12.1 milling interpolation. G16 is used to convert polar
C axis degrees to linear Y when machining "J" slots or cylindrical
cams. Most of these part prints are dimensioned with linear and radial
values, not degrees. Also the prints usually show the part cut and
spread flat. Radii are hard to program and adjust without G16 and tool
nose radius comp. G41-G42. Programming would be linear "Z Y".
The polar "C" axis is converted to a linear "Y" axis. Another use of G16
is to chamfer a cross hole equaly all the way around the hole.

G16C.15
C= Position of X axis to calculate from if the actual cutting
position is different. This is in radial value. C.15 = X.3

(MILL A J SLOT Sample program not tested yet but should work)
T900(.125" cutter / 1/2"bar/ to cut .156 slot)
(M5)
M18C0
G98M58S3=2500
(G4)
(M132 is needed to swap Y mirror image if using T1100-T1300)
G50W-.59
G0X.6Z-.1T9
X.3(to depth of J slot)
G12.1 D0 E=C
G16 (C.15)
G41G1Z-.02Y.078F6.
G1Z.1,R.02(or use G2)
Y.187
G3Z.256K.078
G1Y-.078,R.078
Z-.02
G13.1
G40G0X.6Y0
G50W.59
G18G99M20M60
(M131 is needed to swap Y mirror image back if using T1100-T1300)

G17- Plane select X-Y
G18- Plane select X-Z normally used. G18 is when power on.
G19- Plane select Y-Z
Reply With Quote

  #3   Ban this user!
Old 04-27-2010, 11:34 AM
 
Join Date: Jan 2005
Location: USA
Posts: 237
cogsman1 is on a distinguished road

ALL values are in RADIUS until you cancel with G13.1
Reply With Quote

  #4   Ban this user!
Old 04-27-2010, 01:34 PM
 
Join Date: Mar 2010
Location: USA
Posts: 20
Ovrclck350 is on a distinguished road

So, if I were to want to mill a square with zero chamfer, would the R-value offset still work?

Ex:

[G12.1 setup]

G0X-.3Y-.3
G1X-.2Y-.2
Y.2
X-.2
Y-.3
[RAPID OUT]
Reply With Quote

  #5   Ban this user!
Old 04-27-2010, 04:33 PM
 
Join Date: Oct 2008
Location: UK
Posts: 31
UK-Engineer is on a distinguished road

As others have said all dimensions are radial.

Also G2 and G3 radius are the wrong way round - machine looks at it from spindle perspective - clockwise is G3

R value in Tdata will work with 0 as P value for tool shape.

,R and , C will also work - A for angle doesn't

If we assume a square on centre with dimension of 1/2" AF then assuming you use X as vertical with C being horizontal your co-ors from top right hand corner would be

X0.25 C0.25 - Top right
X-0.25 C0.25 - Bottom right
X-0.25 C-0.25 - Bottom Left
X0.25 C-0.25 - Top left

Your code for L20 would be something like below - other methods are possible - it just depends on your preference

G42 is traversing clockwise around outside of shape

M25 G98
M174 S7=2000 (face power tool fwd)
T3200
(M118)
M48 C0
G0 Z-1.0
G12.1
G17
G42 G0 X0.9 C0.25 T32 (position above top right in X - allow for tool size)
G1 Z* F* (feed to depth)
X -0.25 (feed to bottom right)
C-0.25(feed to bottom left)
X0.25(feed to top left)
C0.35(feed past top right)
Z-2.0(tool clear)
G40(cancel comp)
G13.1 (Cancel Interpolation mode)
G18(reset plane)
G0 U0 Z-1.0 T0
M79 M176 G99
M119

good luck!
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 04-28-2010, 01:26 PM
 
Join Date: Mar 2010
Location: USA
Posts: 20
Ovrclck350 is on a distinguished road

Thanks UK.

Just to clarify 2 points.

1. I can specify Y instead of C, correct?
2. If I understood you correctly, the R-value can still be used as an offset to adjust for tool wear as the tool wears as long as the P-data is set as P0. Is this correct?

Originally Posted by UK-Engineer View Post
As others have said all dimensions are radial.

Also G2 and G3 radius are the wrong way round - machine looks at it from spindle perspective - clockwise is G3

R value in Tdata will work with 0 as P value for tool shape.

,R and , C will also work - A for angle doesn't

If we assume a square on centre with dimension of 1/2" AF then assuming you use X as vertical with C being horizontal your co-ors from top right hand corner would be

X0.25 C0.25 - Top right
X-0.25 C0.25 - Bottom right
X-0.25 C-0.25 - Bottom Left
X0.25 C-0.25 - Top left

Your code for L20 would be something like below - other methods are possible - it just depends on your preference

G42 is traversing clockwise around outside of shape

M25 G98
M174 S7=2000 (face power tool fwd)
T3200
(M118)
M48 C0
G0 Z-1.0
G12.1
G17
G42 G0 X0.9 C0.25 T32 (position above top right in X - allow for tool size)
G1 Z* F* (feed to depth)
X -0.25 (feed to bottom right)
C-0.25(feed to bottom left)
X0.25(feed to top left)
C0.35(feed past top right)
Z-2.0(tool clear)
G40(cancel comp)
G13.1 (Cancel Interpolation mode)
G18(reset plane)
G0 U0 Z-1.0 T0
M79 M176 G99
M119

good luck!
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
quick question ghostlx Mastercam 2 11-03-2009 06:37 AM
Quick Little question Clawsie Machine Mastercam 3 01-08-2008 06:20 PM
Quick Tig Question Edster Welding, Brazing, Soldering, Sealing 5 08-15-2005 08:19 PM
really quick question: bigal General Electronics Discussion 1 06-21-2005 07:39 PM
A quick question? Bartman Solidworks 4 05-30-2005 09:24 PM




All times are GMT -5. The time now is 07:52 AM.





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