587,628 active members*
3,284 visitors online*
Register for free
Login
IndustryArena Forum > CAM Software > Mastercam > Post Processors for MC > need help tweaking hurco pst in mastercam x5
Results 1 to 8 of 8
  1. #1
    Join Date
    May 2013
    Posts
    10

    need help tweaking hurco pst in mastercam x5

    the same post will work on one hurco but not another. this is what its doing, I have the tool rapid down to .100 from the part then feed. I get a double block numbering on the same line where the .100 is. at line N110, and N800 there is a N110 in front of the Z move. if I go through and delete all the second n# program runs with no syntax error. can someone tell me where to edit the post to correct this?

    %
    N10 G70 G75 G90
    N20 G0 T1 M6
    N30 G0 X-.2069 Y-.85
    N40 S1000 M3
    N50 Z.5
    N60 Z.1
    N70 G1 Z0. F10.0
    N80 X.2072 F50.0
    N90 G0 Z.1
    N100 Z.25
    N110 X.3544 Y-.8 N110 Z.1
    N120 G1 Z0. F10.0
    N130 X-.3539 F50.0
    N140 X-.4503 Y-.75
    N150 X.4506
    N160 X.5247 Y-.7
    N170 X-.5248
    N180 X-.5857 Y-.65
    N190 X.5855
    N200 X.6366 Y-.6
    N210 X-.6367
    N220 X-.6803 Y-.55
    N230 X.6804
    N240 X.7179 Y-.5
    N250 X-.7179
    N260 X-.7503 Y-.45
    N270 X.7502
    N280 X.7781 Y-.4
    N290 X-.778
    N300 X-.8019 Y-.35
    N310 X.8017
    N320 X.8218 Y-.3
    N330 X-.8218
    N340 X-.8384 Y-.25
    N350 X.8384
    N360 X.8516 Y-.2
    N370 X-.8518
    N380 X-.8618 Y-.15
    N390 X.862
    N400 X.8691 Y-.1
    N410 X-.8691
    N420 X-.8735 Y-.05
    N430 X.8734
    N440 X.875 Y0.
    N450 X-.8748
    N460 X-.8735 Y.05
    N470 X.8734
    N480 X.8691 Y.1
    N490 X-.8691
    N500 X-.8618 Y.15
    N510 X.862
    N520 X.8516 Y.2
    N530 X-.8518
    N540 X-.8384 Y.25
    N550 X.8384
    N560 X.8218 Y.3
    N570 X-.8218
    N580 X-.8019 Y.35
    N590 X.8017
    N600 X.7781 Y.4
    N610 X-.778
    N620 X-.7503 Y.45
    N630 X.7502
    N640 X.7179 Y.5
    N650 X-.7179
    N660 X-.6803 Y.55
    N670 X.6804
    N680 X.6366 Y.6
    N690 X-.6367
    N700 X-.5857 Y.65
    N710 X.5855
    N720 X.5247 Y.7
    N730 X-.5248
    N740 X-.4503 Y.75
    N750 X.4506
    N760 X.3544 Y.8
    N770 X-.3539
    N780 G0 Z.1
    N790 Z.25
    N800 X-.2069 Y.85 N800 Z.1
    N810 G1 Z0. F10.0
    N820 X.2072 F50.0
    N830 G0 Z.1
    N840 Z.5
    N850
    N860
    N870 M5
    N880 G0 M25
    N890 M2
    E

  2. #2
    Join Date
    Jun 2005
    Posts
    305
    Post a copy of your .PST file here.
    One of us will be able to fix that for you.
    ObrienDave. MasterCam since V6. Gcode since 1983.
    The nose you punch today may belong to the butt you have to kiss tomorrow.

  3. #3
    Join Date
    May 2013
    Posts
    10
    i'm having problems posting an attachment, can I email you the file?

  4. #4
    Join Date
    Jun 2005
    Posts
    305
    If you change the extension or add a supported extension to the file name you will be able to post the file here.
    Change the extension to .TXT or add it to the end of the file name.
    That will work.
    ObrienDave. MasterCam since V6. Gcode since 1983.
    The nose you punch today may belong to the butt you have to kiss tomorrow.

  5. #5
    Join Date
    May 2013
    Posts
    10

    post file

    thanks for the help

  6. #6
    Join Date
    Dec 2008
    Posts
    3132
    Looking at your post & the NC file
    - problem is with using the same tool, but when changing operations

    look at this area in your post,. It looks for a prapid command, but there is no e$ to end the NC blockline
    before it runs the next postblock command ( usually a "descend to the retract plane" (ie pzrapid) )
    Code:
    prapidm    # Linear line movement - at rapid feedrate              0
           pcan
           pcan1, n$, sgplane, sccomp, pccdia, sgcode, x$, y$, z$, strcantext, !fr$   , e$
           pcan
    
    prapid$     # Linear line movement - at rapid feedrate              0
           if rotaxis$ <> 0, protaxis
           if rotaxis$ = 0, prapidm
    
    pzrapid$    # Linear movement in Z axis only - at rapid feedrate    0
           n$, sccomp, pccdia, sgcode, pccdia, z$,e$
    Amend your .PST then repost the NC file to prove that it is correct

    As a future hint,
    if you had the original backed up, it is very simple to compare differences to where problems could exist
    - it is usually stated by many post gurus that this be done. even the gurus have to revert back to a previous version due to dyslexia ( fat finger syndrome )

  7. #7
    Join Date
    Jun 2005
    Posts
    305
    who, what me??? NEVER!
    ObrienDave. MasterCam since V6. Gcode since 1983.
    The nose you punch today may belong to the butt you have to kiss tomorrow.

  8. #8
    Join Date
    May 2013
    Posts
    10
    yes, that did it, thanks for the help, ObrienDave and Superman!

    see no more double numbering at line or block #110 and #800.......thanks again


    %
    N10 G70 G75 G90
    N20 G0 T1 M6
    N30 G0 X-.2069 Y-.85
    N40 S1000 M3
    N50 Z2.
    N60 Z.1
    N70 G1 Z0. F10.0
    N80 X.2072 F50.0
    N90 G0 Z.1
    N100 Z.25
    N110 X.3544 Y-.8
    N120 Z.1
    N130 G1 Z0. F10.0
    N140 X-.3539 F50.0
    N150 X-.4503 Y-.75
    N160 X.4506
    N170 X.5247 Y-.7
    N180 X-.5248
    N190 X-.5857 Y-.65
    N200 X.5855
    N210 X.6366 Y-.6
    N220 X-.6367
    N230 X-.6803 Y-.55
    N240 X.6804
    N250 X.7179 Y-.5
    N260 X-.7179
    N270 X-.7503 Y-.45
    N280 X.7502
    N290 X.7781 Y-.4
    N300 X-.778
    N310 X-.8019 Y-.35
    N320 X.8017
    N330 X.8218 Y-.3
    N340 X-.8218
    N350 X-.8384 Y-.25
    N360 X.8384
    N370 X.8516 Y-.2
    N380 X-.8518
    N390 X-.8618 Y-.15
    N400 X.862
    N410 X.8691 Y-.1
    N420 X-.8691
    N430 X-.8735 Y-.05
    N440 X.8734
    N450 X.875 Y0.
    N460 X-.8748
    N470 X-.8735 Y.05
    N480 X.8734
    N490 X.8691 Y.1
    N500 X-.8691
    N510 X-.8618 Y.15
    N520 X.862
    N530 X.8516 Y.2
    N540 X-.8518
    N550 X-.8384 Y.25
    N560 X.8384
    N570 X.8218 Y.3
    N580 X-.8218
    N590 X-.8019 Y.35
    N600 X.8017
    N610 X.7781 Y.4
    N620 X-.778
    N630 X-.7503 Y.45
    N640 X.7502
    N650 X.7179 Y.5
    N660 X-.7179
    N670 X-.6803 Y.55
    N680 X.6804
    N690 X.6366 Y.6
    N700 X-.6367
    N710 X-.5857 Y.65
    N720 X.5855
    N730 X.5247 Y.7
    N740 X-.5248
    N750 X-.4503 Y.75
    N760 X.4506
    N770 X.3544 Y.8
    N780 X-.3539
    N790 G0 Z.1
    N800 Z.25
    N810 X-.2069 Y.85
    N820 Z.1
    N830 G1 Z0. F10.0
    N840 X.2072 F50.0
    N850 G0 Z.1
    N860 Z2.
    N870
    N880
    N890 M5
    N900 G0 M25
    N910 M2
    E

Similar Threads

  1. mastercam for hurco
    By SUT1 in forum Mastercam
    Replies: 9
    Last Post: 04-27-2012, 10:47 PM
  2. Hurco VMX 30 U Mastercam 9 Post Help
    By atlasworxs in forum Post Processors for MC
    Replies: 4
    Last Post: 12-02-2011, 02:24 PM
  3. hurco & mastercam
    By splash in forum HURCO
    Replies: 4
    Last Post: 03-24-2010, 01:26 AM
  4. Mastercam with *old* Hurco CNC Miller
    By ReValveiT in forum Mastercam
    Replies: 25
    Last Post: 05-19-2006, 01:01 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
  •