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 09-14-2009, 03:47 PM
 
Join Date: Sep 2009
Location: DK
Posts: 8
Vifa is on a distinguished road
Mazak Rotary Table

Hey there...

First post, hope this is the correct place for this thread.

We are programmering a program where we need to repeat the same subprogram 8 times, and at the end of the subprogram we need to turn the rotary table 45 degrees.

Is it possible to add 45 degrees each time?

The only way we know how to turn the rotary table is to tell it its position to turn to.

So if possible, can we add 45 degrees to the current position of the rotary table?


Thanks in advance.

Vifa
Reply With Quote

  #2   Ban this user!
Old 09-15-2009, 07:56 AM
 
Join Date: Feb 2007
Location: USA
Posts: 193
jimiscnc is on a distinguished road

Some generalities

rotary tables are usually done in EIA programs. This allows the use of User Macro B, which is now standard on most Mazak's, but was optional previously.

So, in the main program, use this:


#500=0

in the sub program, for your A axis, or what ever the letter address is, use this

G46 (unclamp RT?)
G01 A[#500] F720. (rotate A at 2 RPM)
#500=#500+45.0
G47 (clamp RT?)
...commence machining sub program loop

each time the sub is executed, the number stored in register 500 is increased by 45.0 degrees. The value in #500 is reset to 0 in the main program.

on mill-turn lathes, the C spindle rotary axis is letter address C and the incremental of C is letter address H. I think it might be G91 A45. for an incremental rotary axis command on your M/C, but I'm not sure.

If Mazatrol programming, this info is no longer operative.

Not a bulletproof set of turnkey solutions, but I hope this steers you closer to your solution.

-90% Jimmy
Reply With Quote

  #3   Ban this user!
Old 09-15-2009, 09:56 AM
 
Join Date: Sep 2009
Location: DK
Posts: 8
Vifa is on a distinguished road

Thanks for your help. I appreciate it !

To this we have used Mazatrol programming, and the only solution we could see was to call the subprogram 8 times, and then turn the rotary table 45 degrees each time from the main program.
Reply With Quote

  #4   Ban this user!
Old 09-15-2009, 12:33 PM
 
Join Date: Feb 2007
Location: USA
Posts: 193
jimiscnc is on a distinguished road

The way you describe for Mazatrol is pretty much it and is just the nature of the beast. I don't think doing it Mazatrol way is particularly bad or cumbersome.

In your Mazatrol main program, index, then sub program call 8 times in main program seems not difficult to me, anyway. Your way seems to be the standard way it would be done in Mazatrol, in other words.

-90% jimmy
Reply With Quote

  #5   Ban this user!
Old 09-15-2009, 01:12 PM
 
Join Date: Sep 2009
Location: DK
Posts: 8
Vifa is on a distinguished road

The Mazatrol programmering is new to me, but I think I figured it out... When using 'index' it adds the degrees to the current zero point, and when I declare a new 'zero point' it simply just turns the table to the position I write - right?


Anyway, I was told that the proper way to declare a new 'zero point' when the rotary table has to turn was by using an 'index' and then a 'zero point'. I tried some different things today, and by only declaring a new 'zero point' between the subprograms I couldn't get the rotary table to turn - I had to put in an 'index' right before the 'zero point'.
But when I only have to move the rotary table 45 degrees can I then just use an 'index' and omit a new 'zero point' ?


Vifa
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 09-16-2009, 08:06 AM
 
Join Date: Feb 2007
Location: USA
Posts: 193
jimiscnc is on a distinguished road
mazatrol only concept

good questions. To get an answer, I suggest you make up a dummy program experiment that consists of the main program and a highly abbreviated sub and look at the position or command page (the one with a lot of info on it, not the one with less info but big characters) as the program is tool path checked, or if you cut air.

then use the scientific method. change one thing and look at the results.

CONCEPT:

Mazatrol uses a "WPC Unit" for a fixture offset, analogous to EIA G54-59. IT additionally affords a theta angle - which can skew your program by specified angle - I only point that out because EIA G54 to G59 does not have that cool feature.

"WPC" is probably an abbreviation for "work piece coordinate".

So, before each index unit, you would copy the WPC used at the beginning of your program, and add 45 degrees to the first value, and add an additional 45 degrees before each index unit. You have to repeat the X, Y and Z numbers even if they are not changed, or else Mazatrol will consider your WPC unit invalid.

Pretty sure the letter address for the first rotary axis is "A". Could also be "B" or "C" depending on machine type, or who ever set up the RT.

The Mazatrol "Unit Copy" editing function makes this pretty easy to do. The optional WPC number that you can put in goes up to 99. So WPC-0 could be zero degrees, WPC-1 could be 45 degrees, WPC-2 would be 90, and so on. (sure would be nice if this number was three places instead of 2, then you could give the angle number completely for integer angles) That number is merely an optional label that serves no other purpose as to be a label and the active WPC is determined solely by the placement in the program. It has 'modal' behavior, in other words. Multiple WPC's is perfectly fine. Because it's in the program and not in an external register like EIA, you could have an awful lot of fixture offsets.

Forgive me if I state the obvious. This is boilerplate to seasoned mazatrollers.

-90% Jimmy
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
Rotary table zeroing in mazak Bala Mazak, Mitsubishi, Mazatrol 1 01-10-2008 04:24 PM
rotary table bulletfab Haas Mills 4 12-16-2007 02:48 PM
Rotary table Piobaire HURCO 0 08-22-2007 07:30 AM
Mazak Rotary Turret Switch reBuild Al_The_Man Product Announcements & Manufacturer News 6 04-11-2007 10:21 AM
Cnc Rotary Table BAYWATCH-TIM General Metal Working Machines 2 10-31-2006 03:11 PM




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