585,930 active members*
3,984 visitors online*
Register for free
Login
Results 1 to 14 of 14
  1. #1
    Join Date
    Aug 2007
    Posts
    11

    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.

  2. #2
    Join Date
    Dec 2007
    Posts
    300

    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
    %

  3. #3
    Join Date
    Aug 2007
    Posts
    11
    Thanks for that it all looks pretty standard but could you tell me what the “N1” is used for?

  4. #4
    Join Date
    Dec 2007
    Posts
    300

    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.

  5. #5
    Join Date
    Jan 2008
    Posts
    1

    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

  6. #6
    Join Date
    Oct 2005
    Posts
    420
    Quote 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

  7. #7
    Join Date
    Mar 2007
    Posts
    17
    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. #8
    Join Date
    Aug 2007
    Posts
    11
    [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.

  9. #9
    Join Date
    Mar 2007
    Posts
    17
    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

  10. #10
    Join Date
    Aug 2007
    Posts
    11
    Quote 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 [email protected] if your keen to post them to me.
    Thanks

  11. #11
    Join Date
    Dec 2007
    Posts
    36

    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.....

  12. #12
    Join Date
    Aug 2007
    Posts
    11
    Mark Thanks for sending me the VQC 50/20 program Manual, it has and will come in very handy!

  13. #13
    Join Date
    Aug 2006
    Posts
    3

    Could you send me Mazak manuals

    Dear sirs,

    I am live in Vietnam.
    I would like to learn Mazatrol M2 of Mazak machine, but I haven't got Mazatrol manuals.

    Could you kindly help me to send the manuals.
    Thank you a lot.

    Thanh, Hoa Thai

  14. #14
    Join Date
    Aug 2007
    Posts
    11
    Hi could someone send me a sample tapping program for the Mazak in EIA format, prefer for a M10 Tap with 1.5 mm pitch.
    Cheers

Similar Threads

  1. Sample Nisshinbo g-code program
    By ehab in forum CNC (Mill / Lathe) Control Software (NC)
    Replies: 3
    Last Post: 05-17-2017, 10:59 AM
  2. Sample 4th axis Program please....
    By bullseye in forum Mach Mill
    Replies: 7
    Last Post: 06-02-2010, 10:42 PM
  3. Post a sample of the program.
    By Mitsui Seiki in forum G-Code Programing
    Replies: 12
    Last Post: 02-03-2008, 04:18 PM
  4. Need IEI-ISO sample program for Mazatrol 640 T
    By turkaygeyik in forum Mazak, Mitsubishi, Mazatrol
    Replies: 0
    Last Post: 05-29-2007, 03:03 PM
  5. I need sample G code program
    By bunalmis in forum G-Code Programing
    Replies: 1
    Last Post: 08-24-2004, 09:50 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •