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 > Mazak, Mitsubishi, Mazatrol


Mazak, Mitsubishi, Mazatrol Discuss Mazak, Mitsubishi and Mazatrol systems here!


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 03-07-2011, 10:42 PM
 
Join Date: Mar 2011
Location: Colombia
Posts: 2
afrancoc is on a distinguished road
Please Help! - How to use G19 with G12.1 in Mazak Turn Milling Mode

Hi!,

I'm working with a Mazak Mill Turn, and although I've worked a lot with G codes I'm new to the Mill turning codes for Mazak.

So, I'm trying to get my postprocessor to work properly but I don't understand the way my machine does the plane interpolation on milling mode.

When I use G17 everything goes great thats because I'm in front of the piece and I don't need to change planes, I start in C0.0. the only thing weird here is that I need to put the speed twice for it to work, once before the G12.1 and a second one after, here is an example:


N1870 G53
(HTA-11A FRESA 0.625)
N1880 G98
N1890 G00 T1100 M08
N1900 G50 S3000
N1910 M202
N1920 M200
N1930 M212
N1940 G97 S1800 M203
N1950 G10 P11 X0.0 Z0.0
N1960 G98 G00 C0.0
N1970 G50 C0.0
N1980 G12.1
N1990 G17
N2000 G00 T1111
N2010 G97 S1800 M203
( )
( )
N2020 G00 X0.456 Y-0.11
N2030 G00 Z0.533
...
N2140 G00 Z2.325
N2150 G13.1
N2160 G28 U0.0 W0.0 T1100 M09 M205
N2170 M202

No idea but this is working if you know a different way to do it I would appreciate it.


But this is my real problem, now I need to make a milling in G19 at C90.0 and 270.0, but everywhere I read you need to be in C0.0 to enter milling mode, I tried it on the machine and no luck the machine didn't moved in Z and it did weird moves in X.... its a really simple machining but I can't make the machine do it... please help!!!!

This is the code:

N5670 G53
(HTA-12B FRESA 6 GRADOS)
N5680 G98
N5690 G00 T1200 M08
N5700 G50 S3000
N5710 M202
N5720 M200
N5730 M212
N5740 G97 S1900 M203
N5750 G10 P12 X0.0 Z0.0
N5760 G98 G00 C90.0
N5770 G50 C0.0
N5780 G12.1
N5790 G19
N5800 G00 T1212
N5810 G97 S1900 M203
( )
( )
N5820 G00 X1.85 Y-1.57
N5830 G00 Z2.1545
N5850 G00 X0.94
N5860 G01 Y1.57
N5880 G00 X1.85
N5900 G40
N5910 G13.1
N5920 G18
N5930 M212
N5940 G98 G00 C270.0
N5950 G50 C0.0
N5960 G97 S1900 M203
N5970 G12.1
N5980 G19
N5990 G00 X1.85 Y-1.57 Z2.1545
N6010 G00 X0.94
N6020 G01 Y1.57
N6040 G00 X1.85
N6050 G13.1
N6060 G28 U0.0 W0.0 T1200 M09 M205
N6070 M202



Thanks!!!
Reply With Quote

  #2   Ban this user!
Old 03-09-2011, 02:43 PM
 
Join Date: Mar 2005
Location: Silicon Valley, CA
Posts: 982
psychomill is on a distinguished road

You can't change planes in G12.1 mode. You need to command your planes before it.

not sure why your spindle needs to be commanded twice....
__________________
It's just a part..... cutter still goes round and round....
Reply With Quote

  #3   Ban this user!
Old 03-10-2011, 06:10 PM
 
Join Date: Mar 2011
Location: Colombia
Posts: 2
afrancoc is on a distinguished road

Hi,

Thats what the manual says and that's the problem, I'm changing planes before entering the G12.1 but it doesn't work, not with G19, my piece doesn't move in Z as if a different plane is selected.

I don't know if there should be a different way to change planes than G00 C90.0, if there is, then that probably is my problem but I don't know it.

Thanks!!!
Reply With Quote

  #4   Ban this user!
Old 04-15-2011, 03:34 PM
 
Join Date: Oct 2007
Location: france
Posts: 10
froggy is on a distinguished road

You must designed the plane for G12.1 mode with name of virtual axis
G17 UH
I don't exactly understand what you want to do in G12 mode in G19 plane but try to select
G19 ZH (just before activate G12.1 for me..)

If your mill is vertical mode, you need to use cylindrical interpolation G07 ..
Reply With Quote

  #5   Ban this user!
Old 04-15-2011, 05:27 PM
 
Join Date: Feb 2007
Location: USA
Posts: 193
jimiscnc is on a distinguished road

G12.1 applies only to a cutter axis parallel to the machine Z axis. (AKA face drilling) It is software that can translate the C axis motion combined with X axis motion to result in a linear path. To explain another way - it will establish a "virtual" X-Y coordinate system on the face of a part, with part program zero the center of spindle rotation. This coordinate systems corresponds to the C axis degree coordinate system like this:

C0.0 degrees is the X plus direction vector, C90.0 degrees corresponds to the Y plus axis direction vector (except I'm pretty sure you must use letter address "C" instead of Y in this mode only.) It is more funky because I think you still have to program X as diameter units and C (virtual Y) is in radius units. A 1.0" square, starting at C0.0 in the middle of the flat, with program zero being the center of the square, would be:
X1.0 C0
X1.0 C.5
X-1.0 C.5
X-1.0 C-.5
X1.0 C-.5
X1.0 C0.0

So, with an axial milling cut, you can program it just like a round part in a vertical machining center, with program zero being the center of your stationary chuck, after the G12.1 info is in your program. You need to position C0.0 before invoking G12.1, because G12.1 turns whatever the C position is at the time G12.1 is programmed into C0.0 (virtual Y0.0 in G12.1) The above paragraph helps if you are overlaying C degree positioning with G12.1 polar (motion) interpolation.

If your cutter axis is 90 degrees to the machine Z axis, (aka cross drilling) then you want to contour in the Y-Z plane. THIS CAN ONLY BE DONE if you have a full blown real linear Y axis! All Integrex types do, and some Mazak mill-turns also offer REAL Y axis capability.

If you do not have a real Y axis, then a radial (cross) contour milled feature would require another set up, probably a machining center. If your life depended on doing it on the Mazak mill-turn, you could semi finish the turned blank, and mill fixture jaws to grip the part with the axis 90 degrees from the turned axis of the part and use the polar G12.1 capability. Coming in from the side of the part this time.

an explanation I like is to think of a roller lifter in a car engine following the camshaft. think of the cutter as the roller and the cam profile as your workpiece. This up down motion of the lifter is the linear X axis, and the cam rotation is the rotary C axis. The cam profile could be any combination of arcs and straight lines, just like the X-Y on a typical VMC, but using one rotary and one liner axis to get the result, as opposed to the easy to understand two linear axis of the VMC.

The G12.1 is software to afford really easy programming and take more advantage of the axes already there (C and X). Without it, you would have to perform what I would call "interpolation by part program", which means that you have a to calculate a bucket load of X-C polar coordinates that would approximate your milled profile. But, you'd need to calc. a lot of coordinates before you achieved fluid interpolation like motion. (and too many could result in "information bind", which I don't think is very common these days due to the processing speed of modern cnc's)

-jim

PS - I just remembered something - NEVER EVER EVER us a G0 while in G12.1! It will create weird problems. use a high feed rate instead.
Also, the hardest task for G12.1 is simply a straight line on the face that goes from X plus to X minus and crosses the centerline. It will reverse "instantly" when it hits centerline, as it doesn't ever cross over into the real X minus of the machine. (Mazak don't do X minus travel typically) this makes older machines trip out their servos. modern Mazaks, for perhaps the last 5 years, actually fixed this and put in deceleration and microsecond dwells to make the reversal of the C axis and X less severe and more fluid. But you still will get reversal error marks on the side walls.

Last edited by jimiscnc; 04-15-2011 at 06:15 PM.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 04-16-2011, 08:56 AM
 
Join Date: Aug 2006
Location: USA
Posts: 62
Integrexman is on a distinguished road

afrancoc

What control is this Matrix? What type of machine is it? If you use G122.1 X can be radial.

G00 C0.0
G17UH
G12.1
G122.1

You can search G12.1 here and find several posts.
integrexmachinist.com community built on miniBB - Search - G12.1
Reply With Quote

Reply

Tags
mazak, millturn, post proccesor




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
Problem- Drip feed mode for Mazak M32 CimUser2000 Mazak, Mitsubishi, Mazatrol 5 07-11-2010 07:55 PM
Need Help!- T MSR AUTO MODE IN MAZAK! sridhartsr Mazak, Mitsubishi, Mazatrol 2 03-28-2009 04:34 PM
Need Help!- Mazak QT15 with T32-B control does not switch to automatic mode MarkusFunk Mazak, Mitsubishi, Mazatrol 2 06-05-2008 09:54 PM
Mazak Integrex 100Y Subspindle Milling Mode not working mzbik G-Code Programing 3 01-22-2007 12:59 PM
Using G12.1 Milling Mode on a Mazak Integrex mattclubb Mazak, Mitsubishi, Mazatrol 8 12-22-2006 11:24 PM




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