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 01-22-2008, 05:34 AM
 
Join Date: Aug 2007
Location: Australia
Posts: 11
zabba is on a distinguished road
Mazak M2 Sample program EIA

Hi this seems like a good place to ask for a little help, I've just started a new Job and we have a Mazak M2, a little old but still very good, all of the programming to date have been done with Mazatrol how ever I have some really cool nc programs that I used on an Okuma Mill, they are very close to Fanuc I would like to try them on the Mazak but have no Idea on what a EIA Mazak program should look like, so if any one could post a small sample program for the Mazak M2 it would really help me out.
Reply With Quote

  #2   Ban this user!
Old 01-23-2008, 02:24 PM
 
Join Date: Dec 2007
Location: United States
Posts: 195
MrMazak is on a distinguished road
Smile M2 code sample

Here is a sample of code for a VQC 20/40 M2. Cutter length and diameter are handled by the Tool Data page. (D and H codes can be used by parameter change if you prefer that)
Hope that helps you out.


PROGRAM HEAD
%
O1
G54G40G80G90M01
N1
G0G91G28Z0
G90
M06 T1
M01
G17G54G0X20.1537Y.2528Z3.M3S4000M8
G95
G41
Z.1
G1Z-.53F.0052
X20.6518Y.2092F.0078
X21.1432Y.1662
G2X21.5547Y.0178I-.0078J-.6662
G1X23.9193Y-1.897
G2X24.1662Y-2.4148I-.4193J-.5178
G1Y-6.6195
Y-7.1195
G0Z3.
G40


DELETED TO SAVE SPACE


PROGRAM END
G41
X24.5Y-6.2757
Z.1
G1Z-.53F.0052
X15.8202F.0312
G3X15.2184Y-6.6015I0.J-.7188
G2X8.7816Y-6.6015I-3.2184J2.1015
G3X8.1798Y-6.2757I-.6018J-.393
G1X-.5
G0Z3.
G40
M09M05
G0G91G28Z0
G90
M06 T1
(FIRST TOOL LOADING)
(END OF PROG.)
M30
%
Reply With Quote

  #3   Ban this user!
Old 01-25-2008, 03:36 AM
 
Join Date: Aug 2007
Location: Australia
Posts: 11
zabba is on a distinguished road

Thanks for that it all looks pretty standard but could you tell me what the “N1” is used for?
Reply With Quote

  #4   Ban this user!
Old 01-25-2008, 08:06 AM
 
Join Date: Dec 2007
Location: United States
Posts: 195
MrMazak is on a distinguished road
Smile M2 EIA

The N code can be used as a restart marker. N1 represents tool Number 1 in this program. A N number can be assigned at every tool change with the current tool. If you need to restart on tool 6 you would do a restart sequence search and input N6 and it would find that sequence number in the program for a restart from that point. Its been awhile since I did it on an M2 but thats roughly how it works. N codes are ignored by the control and are for operator reference only.
Reply With Quote

  #5   Ban this user!
Old 01-25-2008, 09:54 AM
 
Join Date: Jan 2008
Location: USA
Posts: 1
stewartd70 is on a distinguished road
M2 controll program example

The sample given would not run on my M2.

I don't think you can have two M codes on the same line.

N simply stands for line number.

My programs must start with G92 X0 Y0 Z0.

Here is a sample the runs on my Mazak M2.

%
O9948
(XY ZERO IS CENTER OF BORE)
N1 G92 X0 Y0 Z0
N6 (4 INCH ICEM)
N11 T2 M06
N16 G54 G90
M38
N21 G00 X12.5 Y2.51 S382 M03
N26 G43 Z3. M50
N31 G01 Z0.1 F600.0
N36 Z-0.1 F5.0
N41 G03 X13. Y2.01 I0.5 J0 F11.5
N46 G02 Y-3.01 I0 J-2.51
N51 G01 X1.5
N56 G02 Y2.01 I0 J2.51
N61 G03 X2. Y2.51 I0 J0.5
N66 G01 Z3. F600.0

( Deleted for space)

(end of program)

N336 G01 Z3. F600.0
N341 M09
N346 M05
N351 G28 G91 Z0
N356 G28 G91 X0 Y0
N361 M30
%

Regards
Don Stewart
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 01-28-2008, 09:30 PM
nlh nlh is offline
 
Join Date: Oct 2005
Location: U.S.
Posts: 324
nlh is on a distinguished road

Originally Posted by MrMazak View Post
Here is a sample of code for a VQC 20/40 M2. Cutter length and diameter are handled by the Tool Data page. (D and H codes can be used by parameter change if you prefer that)
%
Could you tell me which parameter controls the D and H?

Thanks
Reply With Quote

  #7   Ban this user!
Old 02-13-2008, 08:11 PM
 
Join Date: Mar 2007
Location: USA
Posts: 17
PrecisionD is on a distinguished road

Here is a program for a 2" square contour centered .5 depth

%
O0001
G0G17G40G49G80G90
T1M6
G91G28Z0
G0G90G54X1.Y-1.25S1000M3
G43H1Z.25
Z.1
G1Z-.5F5.
X-1.F10.
G2X-1.25Y-1.R.25
G1Y1.
G2X-1.Y1.25R.25
G1X1.
G2X1.25Y1.R.25
G1Y-1.
G2X1.Y-1.25R.25
G1Z-.4F20.
G0Z.25
M5
G91G28Z0.
G28X0.Y0.
M30
%


Are you running a CAM software
Reply With Quote

  #8   Ban this user!
Old 02-14-2008, 02:29 AM
 
Join Date: Aug 2007
Location: Australia
Posts: 11
zabba is on a distinguished road

[QUOTE=


Are you running a CAM software[/QUOTE]

Hi thanks for the sample I have not yet tried any samples, and my boss is a real tool, he has not given me any time to play even in my own time, so at the moment I am just trying to workout Mazatrol, made more difficult because we don't have the program manual.
I learned Mazatrol about 20 years ago but stumble at simple things and the only help I have is what I can glean from the internet.
I have used Edgecam with my past employer and still have access to it, but I'm not sure if this new boss can see any benefit to using or buying any CAM software I am hope he sees the light soon because at the moment he thinks it's quicker to manual machine than it is to write a program, "The Mazak is a production machine and should only be used if 10 or more parts are required" I disagree with him I come from a toolroom where I did almost every job on a CNC and most jobs where quicker than manual machining and always a better finish.
Reply With Quote

  #9   Ban this user!
Old 02-14-2008, 08:24 AM
 
Join Date: Mar 2007
Location: USA
Posts: 17
PrecisionD is on a distinguished road

I can help get you running realitively easily and have a bunch of extra manuals ( Bought mine from an university and they had multiple class books) feel free to give me a call.

Brandon
Precision Design
(269) 720-0384
Reply With Quote

  #10   Ban this user!
Old 02-15-2008, 12:00 AM
 
Join Date: Aug 2007
Location: Australia
Posts: 11
zabba is on a distinguished road

Originally Posted by PrecisionD View Post
I can help get you running realitively easily and have a bunch of extra manuals ( Bought mine from an university and they had multiple class books) feel free to give me a call.

Brandon
Precision Design
(269) 720-0384
Hi Thanks for the offer but I'm in Australia, I would be happy to pay postage cost + something for your time, please email me at bazza@heroproducts.com.au if your keen to post them to me.
Thanks

Last edited by zabba; 02-15-2008 at 12:01 AM. Reason: bad spellin
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 02-17-2008, 06:10 PM
 
Join Date: Nov 2007
Location: USA
Posts: 36
javajesus is on a distinguished road
T-2

Brandon,

I am looking for programming and operations manual for a QT15 with a T-2 contoller. Any chance you have these and are willing to part with them? We are willing to pay.....
Reply With Quote

  #12   Ban this user!
Old 02-18-2008, 01:43 AM
 
Join Date: Aug 2007
Location: Australia
Posts: 11
zabba is on a distinguished road

Mark Thanks for sending me the VQC 50/20 program Manual, it has and will come in very handy!
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
Sample 4th axis Program please.... bullseye Mach Mill 7 06-02-2010 04:42 PM
Post a sample of the program. Mitsui Seiki G-Code Programing 12 02-03-2008 09:18 AM
Need IEI-ISO sample program for Mazatrol 640 T turkaygeyik Mazak, Mitsubishi, Mazatrol 0 05-29-2007 09:03 AM
Sample Nisshinbo g-code program ehab General CNC (Mill and Lathe) Control Software (NC) 1 09-16-2006 05:20 PM
I need sample G code program bunalmis G-Code Programing 1 08-24-2004 03:50 AM




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