586,384 active members*
3,678 visitors online*
Register for free
Login
IndustryArena Forum > CAM Software > FeatureCAM CAD/CAM > PRE-STAGE NEXT TOOL-HOW TO MODIFY POST?
Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2009
    Posts
    100

    PRE-STAGE NEXT TOOL-HOW TO MODIFY POST?

    Machine is HAAS VF2, FC 2016 Ver. 22.1.0.33

    Want:
    %
    O10214(091-251-002-MOLD-A-CAV-SIDE)
    ( SETUP1 - 9/29/2016 - 10:34:12 )
    (TOOL-LIST)
    ( FEATURECAM - HAAS VF )
    ( MACHINE TIME = 17:43.3 )

    ( FINISH CHAMFER CHAMFER1 )
    G0 G17 G20 G40 G80 G94
    N10 T10 M6 ( TOOL 101/4 DIA 90° CHAMFER 0.24 DIA. )
    T5 (WHATEVER IS NEXT)
    G57 G90 X0. Y-3.094 S7500 M3
    G43 H10 Z1.0 M8
    Z0.1


    POST PROCESSOR "PROGRAM START"
    "%<EOB>
    O<PROG-NAME>([uppercase(<FM-NAME>)])<EOB>
    ( <MCSID> - <REGION-DATE> - <TIME> )<EOB>
    (TOOL-LIST)<EOB>
    ( FEATURECAM - HAAS VF )<EOB>
    ( MACHINE TIME = <MACH-TIME> )<EOB>
    <10>
    ( <OP-PASS> <OP-TYPE> <SEGM-ID> )<EOB>
    <MOTION> <PLANE> <UNITS> G40 G80 <F-UNITS><EOB>
    N[<SEQ>:tc=10] T<TOOL> M6 ( TOOL <TOOL>[uppercase(<TOOL-NAME>)] <TOOL-DIAM> DIA. )<EOB>
    G<FIXTURE> G90 X<X-COORD> Y<Y-COORD>
    <IF><INDEXING><THEN>
    <BOL> A<ROT1-WIND>
    <ENDIF>
    <BOL> S<SPEED> <SPINDLE><EOB>
    G43 H<OFFSET#> Z<Z-COORD> <COOLANT>
    <IF>[next_tool]<THEN>
    <IFNOT><LAST-TOOL><THEN>
    <BOL> T<NEXT-TL>
    [:more_than_one_tool=true]
    <ENDIF>
    <ENDIF>
    <EOB>

    POST PROCESSOR: "TOOL CHANGE"
    "<INCLUDE:FixtureFix>
    {<MOTION> }G53 G49 Z0. <CANCEL-COOL><EOB>
    G53 X-17.<EOB>
    <10>
    M1<EOB>
    ( <OP-PASS> <OP-TYPE> <SEGM-ID> )<EOB>
    <MOTION> <PLANE> G40 G49 G80 <F-UNITS><EOB>
    N[<SEQ>:tc=tc+10] T<TOOL> M6 ( TOOL <TOOL>[uppercase(<TOOL-NAME>)] <TOOL-DIAM> DIA. )<EOB>
    G<FIXTURE> G90 X<X-COORD> Y<Y-COORD>
    <IF><INDEXING><THEN>
    <BOL> A<ROT1-WIND>
    <ENDIF>
    <BOL> S<SPEED> <SPINDLE><EOB>
    G43 H<OFFSET#> Z<Z-COORD> <COOLANT>
    <IF>[next_tool]<THEN>
    <BOL> T<NEXT-TL>
    <ENDIF>
    <EOB>"

    Can anyone tell me how to modify this to pre-stage the next tool?
    Thanks.

  2. #2

    Re: PRE-STAGE NEXT TOOL-HOW TO MODIFY POST?

    You already have it in your post processor. Just remove or comment out these lines in PROGRAM START:
    //<IF>[next_tool]<THEN>
    <IFNOT><LAST-TOOL><THEN>
    <BOL> T<NEXT-TL>
    //[:more_than_one_tool=true]
    //<ENDIF>

    and these in TOOL CHANGE:
    //<IF>[next_tool]<THEN>
    <BOL> T<NEXT-TL>
    //<ENDIF>

  3. #3
    Join Date
    Dec 2009
    Posts
    100

    Re: PRE-STAGE NEXT TOOL-HOW TO MODIFY POST?

    sabregr, Thank you, that was it! The only other thing I had to do was change "[:next_tool=false]" to "[:next_tool=true]", and it's working just as I wanted.

Similar Threads

  1. modify post to add "next tool" variable after every tool change
    By allenp in forum SolidCAM for SolidWorks and SolidCAM for Inventor
    Replies: 2
    Last Post: 05-22-2016, 08:56 PM
  2. Modify lathe post to separate X&Z moves after tool changes
    By colton_m in forum Post Processors for MC
    Replies: 10
    Last Post: 09-27-2013, 09:43 AM
  3. VX400 fanuc tool pre stage
    By jacep in forum Hyundai Kia
    Replies: 1
    Last Post: 11-30-2011, 05:46 AM
  4. How to modify mc9 post (just tool change)
    By gasho in forum MetalWork Discussion
    Replies: 0
    Last Post: 12-05-2006, 12:19 AM

Tags for this Thread

Posting Permissions

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