![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| Mazak, Mitsubishi, Mazatrol Discuss Mazak, Mitsubishi and Mazatrol systems here! |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
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. |
|
#2
| |||
| |||
| 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 % |
|
#4
| |||
| |||
| 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. |
|
#5
| |||
| |||
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 |
| Sponsored Links |
|
#6
| |||
| |||
| Thanks |
|
#7
| |||
| |||
| 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 |
|
#8
| |||
| |||
| [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. |
|
#10
| |||
| |||
| Thanks Last edited by zabba; 02-15-2008 at 12:01 AM. Reason: bad spellin |
| Sponsored Links |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
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 |