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:

shredder

Verified Members
  • Posts

    72
  • Joined

  • Last visited

Posts posted by shredder

  1. Ok I have added these 3 codes but my program adds the mcode m50 and m11 and m07 and m12 and m08 and m13

    See program example below.

     

     if cantext$ =11, [
                                         pbld, n$, "M50", e$
                                       ]
             if cantext$ =12, [
                                         pbld, n$, "M07", e$
                                       ]                           
            if cantext$ =13, [
                                         pbld, n$, "M08", e$
                                       ]                          

     

     

    1. "Stop - M00"
    2. "Op Stop - M01"
    3. "Bld on"
    4. "Bld off"
    5. "Dwell - G04 P1"
    6. "Chip Conveyor On"
    7. "Chip Conveyor Off"
    8.
    9. ""
    10. ""
    11. "Bottom Wash - M50"
    12. "Thru Coolant - M07"
    13. "Flood Coolant - M08"

     

     

     

    O0001 (FBM TEST)
    (KITAMURA2)
    (MACHINE GROUP-1)
    (MCX FILE  - \\JPBFS01\COMPANY\COMMONAREA\MIKE STAPLETON\FBM TEST.MCX-7)
    (DATE      - APR-02-2015)
    (TIME      - 9:23 AM)
    (T7   - 10. SPOT DRILL       - H0   - D0   - D0.3937")
    N100 G00 G17 G20 G40 G80 G90
    N110 G91 G28 Z0.
    N120 M50
    N130 M11
    N140 G90 G53 X0. Y0.
    N150 T7 M06 (10. SPOT DRILL)
    N160 (MAX - Z1.)
    N170 (MIN - Z-.128)
    N180 G00 G17 G54 X-7.375 Y-1.5 S329 M03
    N190 G43 H0 Z1.
    N200 G94
    N210 G98 G81 X-7.375 Y-1.5 Z-.128 R.1 F.49
    N220 X-4.125 Y-2.
    N230 X-.625 Y-1.
    N240 G80
    N250 M07
    N260 M12
    N270 X-6.125 Y-2.
    N280 G43 H0 Z1.
    N290 G98 G81 X-6.125 Y-2. Z-.1181 R.1 F.49
    N300 X-2.875 Y-2.
    N310 G80
    N320 M08
    N330 M13
    N340 X-5.375
    N350 G43 H0 Z1.
    N360 G98 G81 X-5.375 Y-2. Z-.1009 R.1 F.49
    N370 X-2.125 Y-2.
    N380 G80
    N390 M05
    N400 G91 G28 Z0.
    N410 G90 G53 X0. Y0.
    N420 G90
    N430 M30

  2. Good morning everyone:)

    I need some help with a MyCenter-4xiF_Fanuc30iB  post .

    I need to get rid of the g49 on line 3360.Any help greatly appreciated:)

    cheers,

     

     

     

     

    N3310 (3D S.FINISH)
    N3320 (TOOLPATH - FINISHPARL)
    N3330 (STOCK LEFT ON DRIVE SURFS = .005)
    N3340 (STOCK LEFT ON CHECK SURFS = .005)
    N3350 X-.2 Y.0798
    N3360 G49
    N3370 G05.1 Q1 R1
    N3380 G43 H23 Z7.
    N3390 Z1.9595
    N3400 G01 Z1.7095
    N3410 X-.1965 Z1.712
    N3420 X-.1709 Z1.7262
    N3430 X-.1636 Z1.7302
    N3440 X-.1348 Z1.7426

  3. Good morning everyone,

    I need a little info about this post when I write 2 different tapping operations the second one automatically changes from g95 to g94 which screws up the feed rate.

     

    Any help is appreciated:)

     

    Here is a sample of the code.

     

    %
    O0000 (T)
    (MYCENTER-4XIF_FANUC30IB)
    (MACHINE GROUP-1)
    (MCX FILE  - T)
    (DATE      - SEP-11-2014)
    (TIME      - 9:03 AM)
    (T40  - M16 -2.0  RH TAP     - H40  - D40  - D0.6300")
    N100 G00 G17 G20 G40 G80 G90
    N110 G91 G28 Z0.
    N120 G90 G53 X-39.05 Y-1.1419
    N130 T40 M06 (M16 -2.0  RH TAP)
    N140 (MAX - Z15.)
    N150 (MIN - Z-2.1)
    N160 G00 G17 G54 X-1.4674 Y.4861
    N170 G43 H40 Z15.
    N180 G95
    N190 M29 S127
    N200 G98 G84 X-1.4674 Y.4861 Z-1.6 R.1 F.0787
    N210 G80
    N220 G94
    N230 X-.2338 Y-.2984
    N240 Z14.5
    N250 M29 S127
    N260 G98 G84 X-.2338 Y-.2984 Z-2.1 R-.4 F.0787
    N270 G80
    N280 G94
    N290 X-.4054 Y.5988
    N300 M29 S127
    N310 G98 G84 X-.4054 Y.5988 Z-2.1 R-.4 F.0787
    N320 G80
    N330 G94
    N340 Z15.
    N350 X1.1491 Y-.4481
    N360 M29 S127
    N370 G98 G84 X1.1491 Y-.4481 Z-1.6 R.1 F.0787
    N380 G80
    N390 G94
    N400 M05
    N410 G91 G28 Z0.
    N420 G90 G53 X-39.05 Y-1.1419
    N430 G90
    N440 M30
    %
     

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