586,363 active members*
3,114 visitors online*
Register for free
Login
IndustryArena Forum > CAM Software > Mastercam > Post Processors for MC > converting post from 9.1 to X3
Results 1 to 13 of 13
  1. #1
    Join Date
    Dec 2004
    Posts
    185

    converting post from 9.1 to X3

    I am bringing an old machine back and need to get the old post processor (mc9.1) to run on MC X3

    Can anybody give me some pointers if this is possible and how i should go about getting it to run?

    The old machine runs an Anilam GXM (Crusader) control.

    Any help would be much apreciated.

    P

  2. #2
    Join Date
    May 2004
    Posts
    4519
    Read the help file in X3 on the topic "Update post dialog box".

  3. #3
    Join Date
    Dec 2004
    Posts
    185
    Thank you TXCNCMAN.

    That is exactly what I needed.

    The post was converted successfully and I just need do make some chips to confirm it is producing solid code.

    The converted post does produce a lot of empty lines of code. Is there a quick fix for that that you know of?

    Regards
    P

  4. #4
    Join Date
    May 2004
    Posts
    4519
    Have to see what you mean empty lines of code. Post a portion of it here.

    A quick fix is open the NC file in CIMCO Edit and click on NC Functions > Insert / Remove > Remove Empty Lines.

  5. #5
    Join Date
    Dec 2004
    Posts
    185
    This is what the code looks like:

    %
    N0010 G37 J1
    N0020 G90 G71 G0 T0 Z0.
    N0030 X250. Y250.
    N0040 S2000 M42
    N0050 T01 F80
    N0060 M3
    N0070
    N0080 V20R80.0
    N0090 V21R5.
    N0100 V22R0.
    N0110 V24R5.
    N0120 G81 X18.605 Y-14.25 Z-8.
    N0130 Y-50.75
    N0140 X56. Y-14.25
    N0150 Y-50.75
    N0160 X93.395 Y-14.25
    N0170 Y-50.75
    N0180 G80
    N0190 G0 T0 Z0
    N0200 M5
    N0210 X250. Y250.
    N0220 T215 F600
    N0230 M42
    N0240 M3
    N0250
    N0260
    N0270 X3.731 Y-28.141 Z12.5
    N0280
    N0290
    N0300 G1 Z0. F300
    N0310
    N0320
    N0330 G1 X8.049 Y-13.406 F600
    N0340
    N0350
    N0360
    N0370 G2 X18.605 Y-5.5 I18.605 J-16.5
    N0380
    N0390
    N0400
    N0410 G2 X29.161 Y-13.406 I18.605 J-16.5
    N0420
    N0430
    N0440 G1 X33.479 Y-28.141
    N0450
    N0460
    N0470
    N0480 G2 X34.105 Y-32.5 I18.605 J-32.5
    N0490
    N0500
    N0510
    N0520 G2 X33.479 Y-36.859 I18.605 J-32.5
    N0530
    N0540
    N0550 G1 X29.161 Y-51.594
    N0560
    N0570
    N0580
    N0590 G2 X18.605 Y-59.5 I18.605 J-48.5
    N0600
    N0610
    N0620
    N0630 G2 X8.049 Y-51.594 I18.605 J-48.5
    N0640
    N0650
    N0660 G1 X3.731 Y-36.859
    N0670
    N0680
    N0690
    N0700 G2 X3.105 Y-32.5 I18.605 J-32.5
    N0710
    N0720
    N0730
    N0740 G2 X3.731 Y-28.141 I18.605 J-32.5
    N0750
    N0760
    N0770 G0 Z10.
    N0780
    N0790
    N0800 Z12.5
    N0810
    N0820
    N0830 X41.126
    N0840
    N0850
    N0860 G1 Z0. F300
    N0870
    N0880
    N0890 G1 X45.444 Y-13.406 F600
    N0900
    N0910
    N0920
    N0930 G2 X56. Y-5.5 I56. J-16.5
    N0940
    N0950
    N0960
    N0970 G2 X66.556 Y-13.406 I56. J-16.5
    N0980
    N0990
    N1000 G1 X70.874 Y-28.141
    N1010
    N1020
    N1030
    N1040 G2 X71.5 Y-32.5 I56. J-32.5
    N1050
    N1060
    N1070
    N1080 G2 X70.874 Y-36.859 I56. J-32.5
    N1090
    N1100
    N1110 G1 X66.556 Y-51.594
    N1120
    N1130
    N1140
    N1150 G2 X56. Y-59.5 I56. J-48.5
    N1160
    N1170
    N1180
    N1190 G2 X45.444 Y-51.594 I56. J-48.5
    N1200
    N1210
    N1220 G1 X41.126 Y-36.859
    N1230
    N1240
    N1250
    N1260 G2 X40.5 Y-32.5 I56. J-32.5
    N1270
    N1280
    N1290
    N1300 G2 X41.126 Y-28.141 I56. J-32.5
    N1310
    N1320
    N1330 G0 Z10.
    N1340
    N1350
    N1360 Z12.5
    N1370
    N1380
    N1390 X78.521
    N1400
    N1410
    N1420 G1 Z0. F300
    N1430
    N1440
    N1450 G1 X82.839 Y-13.406 F600
    N1460
    N1470
    N1480
    N1490 G2 X93.395 Y-5.5 I93.395 J-16.5
    N1500
    N1510
    N1520
    N1530 G2 X103.951 Y-13.406 I93.395 J-16.5
    N1540
    N1550
    N1560 G1 X108.269 Y-28.141
    N1570
    N1580
    N1590
    N1600 G2 X108.895 Y-32.5 I93.395 J-32.5
    N1610
    N1620
    N1630
    N1640 G2 X108.269 Y-36.859 I93.395 J-32.5
    N1650
    N1660
    N1670 G1 X103.951 Y-51.594
    N1680
    N1690
    N1700
    N1710 G2 X93.395 Y-59.5 I93.395 J-48.5
    N1720
    N1730
    N1740
    N1750 G2 X82.839 Y-51.594 I93.395 J-48.5
    N1760
    N1770
    N1780 G1 X78.521 Y-36.859
    N1790
    N1800
    N1810
    N1820 G2 X77.895 Y-32.5 I93.395 J-32.5
    N1830
    N1840
    N1850
    N1860 G2 X78.521 Y-28.141 I93.395 J-32.5
    N1870
    N1880
    N1890 G0 Z10.
    N1900
    N1910 G0 T0 Z0
    N1920 M5
    N1930 X250. Y250.
    N1940 M2
    %

  6. #6
    Join Date
    May 2004
    Posts
    4519
    There is some error in the post processor that is outputting line numbers on "non-moves".

    In this situation, you will need to click on NC Functions > Insert / Remove > Remove Line Numbers first. Then you can Remove Empty Lines. Then you can reapply line numbers.

    If you need help actually correcting the post processor, put the post processor into a ZIP file and upload it here.

  7. #7
    Join Date
    Dec 2004
    Posts
    185
    Thank you txcncman! :cheers:
    Post processor attached here. I would be interested to learn how to edit the post in order to correct the problem.
    P
    Attached Files Attached Files

  8. #8
    Join Date
    May 2004
    Posts
    4519
    You can edit a post processor with a text editor. Be sure to make a back up copy before you make any changes. In your post processor file:

    These lines:
    pheader$ # File header
    "%",e$

    Outputs this line in your NC file:
    %

    These lines:
    psof$ # Start of file for non-zero tool number
    pinit
    pcan, n$, "G37", "J1", strcantext,e$

    Outputs this line:
    N0010 G37 J1

    This line:
    pcan1, n$, "G90", "G71", "G0", "T0", "Z0.", strcantext,e$

    Outputs this line:
    N0020 G90 G71 G0 T0 Z0.

    This line:
    n$, *xh$, *yh$,e$

    Outputs this line:
    N0030 X250. Y250.

    And so on down the list. I have not identified where or why this post processor is outputting block numbers with no subsequent data yet.

  9. #9
    Join Date
    Dec 2004
    Posts
    185
    I saw there is a switch in the post that would add the line number in the post responsible for each line of code. I will switch it on and see if it can shed some light on the blank lines.

  10. #10
    Join Date
    May 2004
    Posts
    4519
    You may also have to turn block numbering off or on in your machine definition file. I am not sure how the two might interact. One can override the other based on certain settings.

  11. #11
    Join Date
    Dec 2004
    Posts
    185
    OK, I turned block numbering off and all the blank lines are now gone.
    The block numbers are totally abscent in the nc file, but that is fine with me and easy enough to put back with Cimco.
    Some other questions might still pop up as i start to use the post, but for now i amall fixed up. :banana:

    Thank you for all the help and suggestions
    Pete

  12. #12
    Join Date
    Dec 2008
    Posts
    3111
    Modified your post, some items didn't work that were output on the same line as a n$, ----- look at all lines that have Sman

    N0070 ---> coolant, you probably didn't have coolant ON within the tool definition


    the other lines seem to have a M1452 or a M1453 needing to be output,
    - if you don't need these M codes, then place a # on the lines that have *Sman so it outputs nothing

    You might like the other little mods, see how you go with it.
    Attached Files Attached Files

  13. #13
    Join Date
    Dec 2004
    Posts
    185
    Thank you Superman!
    I had a quick look through the post and will test it soon.
    M1452 interpolates W with X, Y and Z
    and M1453 free the W axis from the X, Y, Z

    Since my W axis is not controlled under CNC i think these should be kept free.
    I will report back as soon as i've tested it.
    P

Similar Threads

  1. Converting N/m to oz/in
    By flybynight in forum DIY CNC Router Table Machines
    Replies: 10
    Last Post: 03-23-2011, 07:14 PM
  2. Converting dxf to dwg
    By kimfmx in forum Uncategorised CAM Discussion
    Replies: 1
    Last Post: 10-07-2010, 04:43 PM
  3. Converting to +/-10v Possible?
    By simonrafferty in forum Gecko Drives
    Replies: 6
    Last Post: 04-07-2010, 02:30 PM
  4. Converting to 3 ph with a VFD
    By reabdet21 in forum Uncategorised MetalWorking Machines
    Replies: 6
    Last Post: 07-17-2007, 03:28 PM
  5. converting to dfx
    By qsacracer in forum G-Code Programing
    Replies: 31
    Last Post: 04-26-2005, 09:43 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
  •