Page 1 of 2 12 LastLast
Results 1 to 12 of 15

Thread: Mastercam post needed for router..hust control

  1. #1
    Registered
    Join Date
    Oct 2007
    Location
    usa
    Posts
    113
    Downloads
    0
    Uploads
    0

    Mastercam post needed for router..hust control

    I am helping out a friend that just built a Router with an old Hust controller....

    Problem is this old Controller does not use a Z value instead it uses a G11 P + or - value.....everything else from a Fanuc post works fine as we have been changing the Z values to P, Just getting to be a pain

    I have Mastercam 9 and have tried every post I can find with no Luck

    I have no idea how to change a Post but if someone could help that would be Great......Thanks in Advance


  2. #2
    Registered
    Join Date
    Oct 2007
    Location
    usa
    Posts
    113
    Downloads
    0
    Uploads
    0
    here is a sample program

    %
    O0001
    N10 G90 G54 G17 G40
    N15 T1 M6
    N20 S50 M03 D1
    N25 G11 P-05
    N30 G00 X0.1462 Y0.6243
    N35 G11 P05
    N40 G03 X0.3962 Y0.8743 R0.25 F20.
    N45 G01 Y1.7576
    N50 G02 X0.5212 Y1.8826 R0.125
    N55 G01 X0.5739
    N60 G02 X0.697 Y1.7792 R0.125
    N65 G03 X0.714 Y1.692 R2.368
    N70 X0.7314 Y1.6182 R1.8411
    N75 X0.752 Y1.5461 R1.3854
    N80 X0.7747 Y1.4822 R0.9852
    N85 X0.7967 Y1.4323 R0.6867
    N90 X0.8101 Y1.4068 R0.4613
    N95 X0.8651 Y1.3309 R0.4264
    N100 X0.9029 Y1.2936 R0.4889
    N105 X0.9465 Y1.2586 R0.5583
    N110 X0.9811 Y1.2354 R0.6677
    N115 X1.0453 Y1.1994 R0.7146
    N120 X1.1889 Y1.1484 R0.6456
    N125 X1.266 Y1.1355 R0.6805
    N130 X1.3671 Y1.1314 R0.7582
    N135 X1.4328 Y1.1363 R0.6698
    N140 X1.508 Y1.1518 R0.4895
    N145 X1.5686 Y1.1751 R0.3752
    N150 X1.6364 Y1.2198 R0.318
    N155 X1.6408 Y1.2237 R0.3296
    N160 X1.6827 Y1.2678 R0.3693
    N165 X1.7127 Y1.3135 R0.2807
    N170 X1.7357 Y1.3785 R0.2429
    N175 X1.7409 Y1.4312 R0.2682
    N180 Y1.4376 R0.2682
    N185 X1.7333 Y1.4924 R0.2446
    N190 X1.721 Y1.5303 R0.3226
    N195 X1.6814 Y1.6039 R0.3499
    N200 X1.6588 Y1.6329 R0.3832
    N205 X1.6206 Y1.6726 R0.4891
    N210 X1.5733 Y1.7124 R0.6305
    N215 X1.5622 Y1.7205 R0.3684
    N220 X1.5361 Y1.7382 R0.9423
    N225 X1.4783 Y1.7749 R2.3367
    N230 X1.3778 Y1.8352 R5.8836
    N235 X1.2318 Y1.9194 R12.0459
    N240 G01 X1.1708 Y1.9541
    N245 G02 X1.0767 Y2.0082 R9.563
    N250 X0.9583 Y2.0788 R7.0403
    N255 X0.8575 Y2.142 R4.6152
    N260 X0.7771 Y2.1959 R2.9095
    N265 X0.7255 Y2.2329 R1.8895
    N270 X0.6774 Y2.2706 R1.2634
    N275 X0.59 Y2.3513 R1.0373
    N280 X0.5164 Y2.438 R0.8901
    N285 X0.4576 Y2.5295 R0.7977
    N290 X0.3912 Y2.699 R0.7
    N295 X0.3751 Y2.7875 R0.7186
    N300 X0.3697 Y2.8794 R0.7852
    N305 X0.3726 Y2.9459 R0.7852
    N310 X0.3805 Y3.0087 R0.7719
    N315 X0.4351 Y3.1868 R0.7149
    N320 X0.4922 Y3.2893 R0.7313
    N325 X0.5697 Y3.3881 R0.8192
    N330 X0.6422 Y3.4589 R0.9302
    N335 X0.6993 Y3.5047 R0.8515
    N340 X0.9086 Y3.617 R0.8431
    N345 X1.0519 Y3.6567 R0.9183
    N350 X1.1559 Y3.6712 R1.0391
    N355 X1.2625 Y3.6756 R1.1604
    N360 X1.3687 Y3.6697 R1.044
    N365 X1.4813 Y3.6521 R1.1514
    N370 X1.6113 Y3.618 R1.3146
    N375 X1.7534 Y3.5651 R1.5471
    N380 G03 X1.7914 Y3.5496 R1.1241
    N385 X1.8248 Y3.5378 R0.6221
    N390 X1.8478 Y3.5315 R0.2512
    N395 X1.8491 Y3.5313 R0.0639
    N400 X1.8529 Y3.5417 R0.1427
    N405 X1.8623 Y3.5768 R0.3586
    N410 G02 X1.9845 Y3.6756 R0.125
    N415 G01 X2.0373
    N420 G02 X2.1623 Y3.5506 R0.125
    N425 G01 Y2.6673
    N430 G02 X2.0373 Y2.5423 R0.125
    N435 G01 X1.9845
    N440 G02 X1.8606 Y2.6509 R0.125
    N445 G03 X1.8482 Y2.73 R1.7104
    N450 X1.8341 Y2.7983 R1.403
    N455 X1.816 Y2.8666 R1.1321
    N460 X1.7946 Y2.9293 R0.888
    N465 X1.7725 Y2.9808 R0.699
    N470 X1.7481 Y3.0263 R0.5521
    N475 X1.679 Y3.1167 R0.5029
    N480 X1.6232 Y3.1668 R0.5151
    N485 X1.5644 Y3.2069 R0.5781
    N490 X1.4994 Y3.2409 R0.6781
    N495 X1.4421 Y3.2636 R0.6226
    N500 X1.3867 Y3.2794 R0.5731
    N505 X1.2507 Y3.2937 R0.555
    N510 X1.1946 Y3.2893 R0.4695
    N515 X1.1311 Y3.2746 R0.3698
    N520 X1.0277 Y3.2173 R0.3119
    N525 X0.9793 Y3.1686 R0.379
    N530 X0.9494 Y3.1248 R0.2781
    N535 X0.9229 Y3.0213 R0.2151
    N540 X0.9239 Y3.0004 R0.2151
    N545 X0.9384 Y2.9435 R0.1951
    N550 X0.9491 Y2.9219 R0.2023
    N555 X0.9703 Y2.8904 R0.255
    N560 X0.9975 Y2.8598 R0.3515
    N565 X1.0297 Y2.8298 R0.6049
    N570 X1.0716 Y2.7954 R0.9881
    N575 X1.1247 Y2.7562 R1.4885
    N580 X1.2028 Y2.7035 R2.2351
    N585 X1.2949 Y2.6463 R3.3757
    N590 X1.3922 Y2.5895 R4.6828
    N595 X1.4994 Y2.5301 R6.1964
    N600 G02 X1.6999 Y2.4183 R9.3121
    N605 X1.8101 Y2.3533 R5.5039
    N610 X1.8953 Y2.3001 R3.5424
    N615 X1.967 Y2.2517 R2.0765
    N620 X2.0153 Y2.2158 R1.1699
    N625 X2.1068 Y2.1333 R0.9082
    N630 X2.1792 Y2.0477 R0.8375
    N635 X2.2828 Y1.8595 R0.8134
    N640 X2.3326 Y1.6275 R0.7486
    N645 X2.3337 Y1.5853 R0.8079
    N650 X2.3224 Y1.4511 R0.8079
    N655 X2.2656 Y1.2653 R0.7489
    N660 X2.2047 Y1.1561 R0.7678
    N665 X2.1235 Y1.0529 R0.8627
    N670 X2.0481 Y0.9791 R0.9803
    N675 X1.9 Y0.8738 R0.8861
    N680 X1.783 Y0.8184 R0.8915
    N685 X1.6879 Y0.7872 R0.9533
    N690 X1.5947 Y0.7665 R1.0256
    N695 X1.4987 Y0.754 R1.1289
    N700 X1.4048 Y0.7495 R1.2646
    N705 X1.2769 Y0.7533 R1.5294
    N710 X1.1545 Y0.768 R1.3137
    N715 X1.1169 Y0.7755 R0.5994
    N720 X1.0652 Y0.7886 R1.4545
    N725 X1.0035 Y0.8062 R3.0451
    N730 X0.9178 Y0.8323 R5.3477
    N735 G01 X0.8778 Y0.8449
    N740 G03 X0.8141 Y0.8643 R3.7489
    N745 X0.7463 Y0.883 R1.9284
    N750 X0.7063 Y0.8919 R0.6973
    N755 X0.7046 Y0.8923 R0.2122
    N760 X0.6976 Y0.8562 R0.3834
    N765 G02 X0.5739 Y0.7493 R0.125
    N770 G01 X0.5212
    N775 G02 X0.3962 Y0.8743 R0.125
    N780 G03 X0.1462 Y1.1243 R0.25
    N785 G11 P-05
    N790 M5
    N795 G91 G28 X0 Y0
    N800 G90
    N805 G11 P-05
    N810 M30
    %


  3. #3
    Registered Superman's Avatar
    Join Date
    Dec 2008
    Location
    Krypton
    Posts
    1,768
    Downloads
    0
    Uploads
    0
    Copy the post and work on the original

    find in the post this area
    Code:
    # --------------------------------------------------------------------------
    # Toolchange / NC output Variable Formats
    # --------------------------------------------------------------------------
    fmt  T  4   t           #Tool Number
    fmt  T  4   first_tool  #First Tool Used 
    fmt  T  4   next_tool   #Next Tool Used  
    fmt  D  4   tloffno     #Diameter Offset Number
    fmt  H  4   tlngno      #Length Offset Number
    fmt  G  4   g_wcs       #WCS G address
    fmt  P  4   p_wcs       #WCS P address
    fmt  S  4   speed       #Spindle Speed
    fmt  M  4   gear        #Gear range
    # --------------------------------------------------------------------------
    fmt  N  4   n           #Sequence number
    fmt  X  2   xabs        #X position output
    fmt  Y  2   yabs        #Y position output
    fmt  Z  2   zabs        #Z position output
    fmt  X  3   xinc        #X position output
    fmt  Y  3   yinc        #Y position output
    fmt  Z  3   zinc        #Z position output
    fmt  A  11  cabs        #C axis position
    fmt  A  14  cinc        #C axis position
    fmt  A  4   indx_out    #Index position

    change the Z in the red areas to G11P
    fmt G11P 2 zabs #Z position output
    fmt G11P 3 zinc #Z position output

    This should effectively replace any Z's in the program to G11P
    ( I don't think a space in the G11 P will work )


  4. #4
    Registered
    Join Date
    Oct 2007
    Location
    usa
    Posts
    113
    Downloads
    0
    Uploads
    0
    I can't open a post....what do you need to open one


  • #5
    Registered
    Join Date
    Nov 2003
    Location
    canada P.Q.
    Posts
    85
    Downloads
    0
    Uploads
    0

    post

    just use notepad
    Andy


  • #6
    Registered Superman's Avatar
    Join Date
    Dec 2008
    Location
    Krypton
    Posts
    1,768
    Downloads
    0
    Uploads
    0
    or the CIMCO editor that comes with Mastercam


  • #7
    Registered
    Join Date
    Oct 2007
    Location
    usa
    Posts
    113
    Downloads
    0
    Uploads
    0
    edited
    Last edited by bullseye; 02-11-2010 at 08:46 PM.


  • #8
    Registered Superman's Avatar
    Join Date
    Dec 2008
    Location
    Krypton
    Posts
    1,768
    Downloads
    0
    Uploads
    0
    You have opened the TXT file, not the actual PST file. This sets the names in the buttons fields of the dialog boxes, you play with this file when advanced customizing your Mastercam ( this is window dressing, not used at all for getting NC code )

    There should be another file with the same filename but a .PST extension. This is your post and is extremely touchy, edit only a small section and test--- Do NOT edit a large part in one go, It is very hard to find a missing comma so take it easy


  • #9
    Registered
    Join Date
    Oct 2007
    Location
    usa
    Posts
    113
    Downloads
    0
    Uploads
    0
    I can not open the pst file......can I upload the post and have you mod it for me


  • #10
    Registered
    Join Date
    Oct 2007
    Location
    usa
    Posts
    113
    Downloads
    0
    Uploads
    0
    nevermind...it won't upload

    the mpfan post works on everything else but the P


  • #11
    Registered Superman's Avatar
    Join Date
    Dec 2008
    Location
    Krypton
    Posts
    1,768
    Downloads
    0
    Uploads
    0

    ??

    No show

    You cannot attach a .PST file ?

    You have to put it into a compressed or ZIP folder before attaching ( use the paper clip icon and "Browse" for that folder, then "Upload" to your message )


  • #12
    Registered
    Join Date
    Oct 2007
    Location
    usa
    Posts
    113
    Downloads
    0
    Uploads
    0
    ok...here ya go...Thanks alot
    Attached Files Attached Files


  • Page 1 of 2 12 LastLast

    Similar Threads

    1. HUST CNC control systems
      By Jonne in forum Product and Manufacturer Announcements
      Replies: 9
      Last Post: 11-01-2011, 09:37 AM
    2. HAAS TM1 / mastercam post needed
      By buckrod in forum CNCzone Club House
      Replies: 0
      Last Post: 02-02-2010, 04:30 PM
    3. Needed Mastercam X Post for TNC 145
      By joepower in forum Post Processor Files
      Replies: 5
      Last Post: 10-31-2008, 03:54 PM
    4. Need Help!- puma 240 mastercam x post needed
      By outcastproducts in forum Daewoo/Doosan
      Replies: 5
      Last Post: 03-29-2008, 11:40 AM
    5. MasterCam X Fanuc 10M Post needed
      By jonesr in forum Post Processor Files
      Replies: 0
      Last Post: 04-10-2007, 10:12 PM

    Posting Permissions


     


    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.