586,281 active members*
4,547 visitors online*
Register for free
Login
IndustryArena Forum > CAM Software > Uncategorised CAM Discussion > Help with getting a Mach3 machine to read a code generated in Mastercam x5
Results 1 to 9 of 9
  1. #1
    Join Date
    Sep 2013
    Posts
    131

    Help with getting a Mach3 machine to read a code generated in Mastercam x5

    A friend is building pool cues, and wanted to make some inlays, I sent him the program, but the machine won't read it. I used default machine and Fanuc control for post, I also used a Mach3 post that was created by someone on here, any help would be great. Thank you in advance. Rod.

  2. #2
    Join Date
    Mar 2003
    Posts
    35538
    Without seeing the code, it's hard to tell you why it's not working.
    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

  3. #3
    Join Date
    Sep 2013
    Posts
    131
    Thank you Gerry, Program attached.

  4. #4
    Join Date
    Dec 2003
    Posts
    24221
    What is meant exactly by 'wont read it'?
    What are symptoms, if any.

    BTW if you go advanced and use the # symbol, you can display the code.

    Code:
    %
    O0000 (DIAMOND TEST PROFILE)
    (MASTERCAM - V14.)
    (MC9 FILE  - T)
    (POST      - )
    (MATERIAL  - ALUMINUM INCH - 2024)
    (PROGRAM   - DIAMOND TEST PROFILE.NC)
    (DATE      - SEP-24-13)
    (TIME      - 08:42)
    (POST DEV  - NovaLab)
    (NWDTOOL N" 1/32 FLAT ENDMILL" T1 D.0312 F.0312 L.0624 A45. CD.0624 CL.0312 SD.0624 C0)
    (NWDSTOCK X0. Y0. Z0. OTC OX0. OY0. OZ0.)
    N100 G00 G17 G20 G40 G49 G80 G90
    N110 T1 M06 ( 1/32 FLAT ENDMILL)
    N120 (MAX - Z1.)
    N130 (MIN - Z-.125)
    N140 G00 Z1.
    N150 G00 X0. Y0. S1069 M03
    N160 X-.6429 Y.4043
    N170 Z.2
    N180 G01 Z-.025 F6.42
    N190 X-.6381 Y.3963
    N200 G03 X-.6301 Y.3918 I.008 J.0048
    N210 X-.6253 Y.393 I0. J.0093
    N220 G01 X-.0168 Y.7581
    N230 G02 X0. Y.7628 I.0168 J-.0279
    N240 X.0168 Y.7581 I0. J-.0326
    N250 G01 X1.2337 Y.028
    N260 G02 X1.2496 Y0. I-.0167 J-.028
    N270 X1.2337 Y-.028 I-.0326 J0.
    N280 G01 X.0168 Y-.7581
    N290 G02 X0. Y-.7628 I-.0168 J.0279
    N300 X-.0168 Y-.7581 I0. J.0326
    N310 G01 X-1.2337 Y-.028
    N320 G02 X-1.2496 Y0. I.0167 J.028
    N330 X-1.2337 Y.028 I.0326 J0.
    N340 G01 X-.6253 Y.393
    N350 G03 X-.6207 Y.4011 I-.0048 J.0081
    N360 X-.622 Y.4059 I-.0094 J0.
    N370 G01 X-.6269 Y.4139
    N380 Z.175
    N390 G00 Z.25
    N400 X-.6429 Y.4043
    N410 Z.175
    N420 G01 Z-.05
    N430 X-.6381 Y.3963
    N440 G03 X-.6301 Y.3918 I.008 J.0048
    N450 X-.6253 Y.393 I0. J.0093
    N460 G01 X-.0168 Y.7581
    N470 G02 X0. Y.7628 I.0168 J-.0279
    N480 X.0168 Y.7581 I0. J-.0326
    N490 G01 X1.2337 Y.028
    N500 G02 X1.2496 Y0. I-.0167 J-.028
    N510 X1.2337 Y-.028 I-.0326 J0.
    N520 G01 X.0168 Y-.7581
    N530 G02 X0. Y-.7628 I-.0168 J.0279
    N540 X-.0168 Y-.7581 I0. J.0326
    N550 G01 X-1.2337 Y-.028
    N560 G02 X-1.2496 Y0. I.0167 J.028
    N570 X-1.2337 Y.028 I.0326 J0.
    N580 G01 X-.6253 Y.393
    N590 G03 X-.6207 Y.4011 I-.0048 J.0081
    N600 X-.622 Y.4059 I-.0094 J0.
    N610 G01 X-.6269 Y.4139
    N620 Z.15
    N630 G00 Z.25
    N640 X-.6429 Y.4043
    N650 Z.15
    N660 G01 Z-.075
    N670 X-.6381 Y.3963
    N680 G03 X-.6301 Y.3918 I.008 J.0048
    N690 X-.6253 Y.393 I0. J.0093
    N700 G01 X-.0168 Y.7581
    N710 G02 X0. Y.7628 I.0168 J-.0279
    N720 X.0168 Y.7581 I0. J-.0326
    N730 G01 X1.2337 Y.028
    N740 G02 X1.2496 Y0. I-.0167 J-.028
    N750 X1.2337 Y-.028 I-.0326 J0.
    N760 G01 X.0168 Y-.7581
    N770 G02 X0. Y-.7628 I-.0168 J.0279
    N780 X-.0168 Y-.7581 I0. J.0326
    N790 G01 X-1.2337 Y-.028
    N800 G02 X-1.2496 Y0. I.0167 J.028
    N810 X-1.2337 Y.028 I.0326 J0.
    N820 G01 X-.6253 Y.393
    N830 G03 X-.6207 Y.4011 I-.0048 J.0081
    N840 X-.622 Y.4059 I-.0094 J0.
    N850 G01 X-.6269 Y.4139
    N860 Z.125
    N870 G00 Z.25
    N880 X-.6429 Y.4043
    N890 Z.125
    N900 G01 Z-.1
    N910 X-.6381 Y.3963
    N920 G03 X-.6301 Y.3918 I.008 J.0048
    N930 X-.6253 Y.393 I0. J.0093
    N940 G01 X-.0168 Y.7581
    N950 G02 X0. Y.7628 I.0168 J-.0279
    N960 X.0168 Y.7581 I0. J-.0326
    N970 G01 X1.2337 Y.028
    N980 G02 X1.2496 Y0. I-.0167 J-.028
    N990 X1.2337 Y-.028 I-.0326 J0.
    N1000 G01 X.0168 Y-.7581
    N1010 G02 X0. Y-.7628 I-.0168 J.0279
    N1020 X-.0168 Y-.7581 I0. J.0326
    N1030 G01 X-1.2337 Y-.028
    N1040 G02 X-1.2496 Y0. I.0167 J.028
    N1050 X-1.2337 Y.028 I.0326 J0.
    N1060 G01 X-.6253 Y.393
    N1070 G03 X-.6207 Y.4011 I-.0048 J.0081
    N1080 X-.622 Y.4059 I-.0094 J0.
    N1090 G01 X-.6269 Y.4139
    N1100 Z.1
    N1110 G00 Z.25
    N1120 X-.6429 Y.4043
    N1130 Z.1
    N1140 G01 Z-.125
    N1150 X-.6381 Y.3963
    N1160 G03 X-.6301 Y.3918 I.008 J.0048
    N1170 X-.6253 Y.393 I0. J.0093
    N1180 G01 X-.0168 Y.7581
    N1190 G02 X0. Y.7628 I.0168 J-.0279
    N1200 X.0168 Y.7581 I0. J-.0326
    N1210 G01 X1.2337 Y.028
    N1220 G02 X1.2496 Y0. I-.0167 J-.028
    N1230 X1.2337 Y-.028 I-.0326 J0.
    N1240 G01 X.0168 Y-.7581
    N1250 G02 X0. Y-.7628 I-.0168 J.0279
    N1260 X-.0168 Y-.7581 I0. J.0326
    N1270 G01 X-1.2337 Y-.028
    N1280 G02 X-1.2496 Y0. I.0167 J.028
    N1290 X-1.2337 Y.028 I.0326 J0.
    N1300 G01 X-.6253 Y.393
    N1310 G03 X-.6207 Y.4011 I-.0048 J.0081
    N1320 X-.622 Y.4059 I-.0094 J0.
    N1330 G01 X-.6269 Y.4139
    N1340 Z.075
    N1350 G00 Z1.
    N1360 X0. Y0.
    N1370 M05
    N1380 G90
    N1390 M30
    %
    AL.
    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

  5. #5
    Join Date
    Sep 2013
    Posts
    131
    Great, good to know. I'm not sure what the symptoms are. I program and run big 50 taper horizontal CNC mills at work. I'm not sure what a Mach3 requires as far as editing the code. If someone could try this out, and let me know what changes to make, that would be great. It's just a simple diamond you can run a cardboard,lol.

  6. #6
    Join Date
    Jan 2006
    Posts
    2985
    I'd start by removing the tool change and any preparatory codes.

    Mach3 has an exhaustive G-code reference that lists all the available codes and their syntax. Your friend should run the code, see where it faults, then investigate that part to see how it needs to be changed.

  7. #7
    Join Date
    Mar 2003
    Posts
    35538
    It loads and runs in Mach3 just fine for me.
    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

  8. #8
    Join Date
    Sep 2013
    Posts
    131
    Thank you very much, I'll have him check it.

  9. #9
    Join Date
    Sep 2013
    Posts
    131
    Thank you Gerry, it must be something on his end.

Similar Threads

  1. MasterCam posting g-code for Probotix machine
    By NFATeacher in forum Mastercam
    Replies: 1
    Last Post: 09-18-2012, 06:10 PM
  2. Replies: 8
    Last Post: 12-15-2010, 09:32 PM
  3. HDI remove the .5 x,y offset generated in Mach 3 when I upload code?
    By billmiller in forum Mach Software (ArtSoft software)
    Replies: 2
    Last Post: 08-20-2010, 01:33 AM
  4. Mastercam X4 to Mach3 - machine acting crazy.
    By CarlofET in forum DIY CNC Router Table Machines
    Replies: 2
    Last Post: 05-25-2010, 01:43 AM
  5. what machine does Mach3 G code come from?
    By chevdrgtrk in forum Mach Software (ArtSoft software)
    Replies: 2
    Last Post: 04-14-2008, 02:14 PM

Posting Permissions

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