585,902 active members*
4,206 visitors online*
Register for free
Login
IndustryArena Forum > CAM Software > Postprocessor for CAM > Editing FANUC postprocessor for SolidCAM
Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2014
    Posts
    1

    Editing FANUC postprocessor for SolidCAM

    Hey guys, I need your help.

    I am currently editing FANUC postprocessor for SolidCAM and I have a question about setting up the tool preselect.

    It works just fine - preparing the next tool pocket directly after grabbing the tool for the operation, and then changing it in the beginning of the next operation:

    N1 G90 G17 G40 G80 G00
    N112 M06 T9 (202270 16M)
    N114 T2
    N116 (F-contour)
    N118 G00 G54 G90 X-5.5 Y-72. S7958 M03
    ...

    but on the last operation there is a problem, that it won´t prepare the tool for the first operation directly after the change. It starts to preparing the next tool in the end of the last operation.
    N3 G90 G17 G40 G80 G00
    N184 M06 T21 (114030)
    N186 (D-drill-1)
    N188 G00 G54 G90 X92.5 Y-15. S2247 M03
    N190 G43 H21 Z140. M08
    ---
    N210 G80
    N212 M09
    N214 M05
    N216 G00 G28 G91 Z0
    N218 G00 G28 G91 Y0.
    N220 G90
    N222 M06 T9
    N224 M30
    %

    My question is... Is it possible editing the postprocessor that in the last operation it will prepare the tool pocket for the first operation and then in the end of the last operation change the tool and have it ready for the first operation?

    Something like:
    N3 G90 G17 G40 G80 G00
    N184 M06 T21 (114030)
    N185 T9
    N186 (D-drill-1)
    N188 G00 G54 G90 X92.5 Y-15. S2247 M03
    N190 G43 H21 Z140. M08
    ---
    N210 G80
    N212 M09
    N214 M05
    N216 G00 G28 G91 Z0
    N218 G00 G28 G91 Y0.
    N220 G90
    N222 M06 T9
    N224 M30
    %

  2. #2
    Join Date
    Mar 2016
    Posts
    325

    Re: Editing FANUC postprocessor for SolidCAM

    U would have to create condition which shows if there is no next tool and in that case add new block with first tool preselect
    eg.:
    If next tool eq false
    then
    {nb "T first_tool_number'}
    endif
    Of course U would have to also add fist_tool_number variable and assign it
    Or just condition to switch next_tool_number variable to first_tool_number if next_tool is empty

Similar Threads

  1. postprocessor editing gpp tool solidcam
    By allenp in forum Post Processor Files
    Replies: 2
    Last Post: 03-21-2021, 09:42 PM
  2. Solidcam five axis postprocessor editing (by modifiying 3 axis post)
    By allenp in forum SolidCAM for SolidWorks and SolidCAM for Inventor
    Replies: 0
    Last Post: 11-19-2016, 03:16 PM
  3. solidcam editing postprocessor and diameter for compensation question
    By allenp in forum SolidCAM for SolidWorks and SolidCAM for Inventor
    Replies: 5
    Last Post: 09-20-2015, 04:28 PM
  4. Replies: 1
    Last Post: 04-14-2014, 07:41 PM

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
  •