Jump to content

Welcome to eMastercam

Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.

Use your display name or email address to sign in:

romeo123400

Verified Members
  • Posts

    36
  • Joined

  • Last visited

Posts posted by romeo123400

  1. Try this instead

     

     

    pcanceldc$ #Cancel canned drill cycle

    pbld, n$, "test", e$

    pbld, n$, "test", e$

    pbld, n$, "test", e$

    result = newfs(9, feed)

    result = newfs(three, zinc)

    result = nwadrs(strq, peck1$)

    z$ = initht$

    if cuttype = one, prv_zia = initht$ + (rotdia$/two)

    else, prv_zia = initht$

    pxyzcout

    !zabs, !zinc

    prv_gcode$ = zero

    pcan

     

     

     

     

     

    N120 T5 M6

    N130 G0 G90 G54 X1.4766 Y.778 A0. S1069 M3

    N140 G43 H5 Z.1

    N150 M8

    N160 G99 G81 Z-.125 R.1 F1.1

    N170 X2.9715 Y1.1653

    N180 X3.5344 Y-.3659

    N190 X2.2271 Y-.608

    N200 test

    N210 test

    N220 test

    N230 G80

    N240 M5

    N250 G91 G28 Z0. M9

    N260 A0.

    N270 M01

    N280 T4 M6

    N290 G0 G90 G54 X1.4766 Y.778 A0. S534 M3

    N300 G43 H4 Z.1

    N310 M8

    N320 G99 G83 Z-.6602 R.1 Q.125 F4.3

    N330 X2.9715 Y1.1653

    N340 X3.5344 Y-.3659

    N350 X2.2271 Y-.608

    N360 test

    N370 test

    N380 test

    N390 G80

    N400 M5

    N410 G91 G28 Z0. M9

    N420 A0.

    N430 M01

    N440 T22 M6

    N450 G0 G90 G54 X1.4766 Y.778 A0. S534 M3

    N460 G43 H22 Z.1

    N470 M8

    N480 G99 G83 Z-.51 R.1 Q.125 F41.1

    N490 X2.9715 Y1.1653

    N500 X3.5344 Y-.3659

    N510 X2.2271 Y-.608

    N520 test

    N530 test

    N540 test

    N550 G80

    N560 M5

    N570 G91 G28 Z0. M9

    N580 G28 X0. Y0. A0.

    N590 M30

    %

  2. Open your post in the mastercam editor. Serach for pdrill

     

     

    pdrill$ #Canned Drill Cycle

    pdrlcommonb

    pcan1, pbld, n$, *sgdrlref, *sgdrill, pxout, pyout, pfzout, pcout,

    prdrlout, dwell$, *feed, strcantext, e$

    pcom_movea*************************************************add after this line your code with quotaions

    pbld, n$, "##################", e$

    pbld, n$, "S5000 M4", e$

    pbld, n$, "G4 P1", e$

    pbld, n$ ,"##################", e$

     

    The quotation will insert your lines as is all the time every time

  3. Open the post with the mastercams editor. Do a search for pheader and edit as follows.

     

     

    pheader$ #Start of file

    sav_spc = spaces$

    spaces$ = 0

    "'",*progno$,"'", e$ *****************************(add qoutation mark apostrophy quotation mark, *progno$, qoutation mark apostrophy quotation mark,

     

    A # sign is used to ignore an entire line,

     

    you should end up with this result

     

    'O150282'

    (PROGRAM NAME - 150282)

    (DATE - JAN. 25 2013 TIME - 7:15 PM)

    G20

    (TOOL - 10 OFFSET - 10)

    (80 DEGREE TRIGON .032R INSERT - CNMG-432)

    G28 U0. W0.

    G0 T1010

    G97 S225 M03

    G0 X3.4 Z.005

  4. Hello all, I have programmed many machines (Lathes and Mills) in the past that would allow subroutines (Local)

    to be included in the main program, either above or below the main program.

     

    I am new to the Mazak and was wondering if my machine allows this programming method. I hate using separate files

    for subprogam call.

     

    I have a Mazak Nexus 640t.

     

    Also, my machine is not running the g84 tap cycle as a typical lathe would run. When I run the canned cycle

    the tool approaches the part and feeds in to depth but the spindle does not reverse and the tool remains at Z depth.

     

    Any thoughts on this, be happy to hear..

  5. I agree, I have never had to scale the tool either, just draw the tool to its radial dimension and it should output an exact cutter.

    Maybe the scaling affects sizing the tool within the tool params page for different size cutters.

     

     

    Great job on the pics Rotary Ninja HHHoooooooooooooooooooowwwaaaaaaaaa

  6. Are you even able to tap? I am new to Mazak and had to use live tooling to tap a hole down the center.

    my code was simple G84 but the machine acted like it didn't want to run the canned cycle.

     

    The tap went in but the spindle kept turning and the tap just reamed out the hole at final depth with no m4 to retract the tool.

     

    G0 X0 Z.1

    G84 G99 Z-.5 R0.0 F.0555

    g80

    did I miss anything or is the Mazak code different than that code in the manual?

Join us!

eMastercam - your online source for all things Mastercam.

Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.

Follow us

×
×
  • Create New...