584,865 active members*
4,846 visitors online*
Register for free
Login
IndustryArena Forum > CAM Software > BobCad-Cam > Post Processor Modification
Results 1 to 13 of 13
  1. #1
    Join Date
    Apr 2013
    Posts
    70

    Smile Post Processor Modification

    Is there a way to modify the PP to add the material that is selected to the code? I am using a modified PP for Haas. I tried this to no avail.






    2. Start of file standard
    "(PROGRAM NAME - ",prog_name,")"
    "(POST - ",machine_make,machine_model,")"
    "(DATE - ",output_date,")"
    "(TIME - ",output_time,")"
    "(MATERIAL - ",output_material,")"



    Just wondering if it's possible. :0

  2. #2

    Re: Post Processor Modification

    Use material_comment

    Outputs the defined material as a string.

    API:
    string MILLTURN_GetMaterialComment()

  3. #3
    Join Date
    Apr 2013
    Posts
    70

    Re: Post Processor Modification

    I have tried cutting and pasting several different ways what you suggested, but it still doesn't post material. If it makes a difference I am using V27 build 9600. Simple script I can muddle through anything complicated I get overwhelmed.

  4. #4

    Re: Post Processor Modification

    I'm sorry,
    seem with V27 doesn't work but with V31 works fine.
    I haven't V27 and related documentation to try....

    With V31 I've changed my post adding:

    Code:
    0. File header
    	"%"
    	comment_start," ==                             == ",comment_end
    	comment_start," ==    Created for RosettaCNC   == ",comment_end
    	comment_start," ==      by BobCAD-CAM v31      == ",comment_end
    	comment_start," ==                             == ",comment_end
    	comment_start," ==       5 Axis Mill - v1      == ",comment_end
    	comment_start," == Table-Table AxCz - RTCP ON  == ",comment_end
    	" "
    	default_add_spaces
    	"O",prog_n
    	force_no_add_spaces
    	"; === PROGRAM INFO ==="
    	"; NAME: ",prog_name
    	"; POST: ",machine_make
    	"; MACH: ",machine_model
    	"; DATE: ",output_date
    	"; TIME: ",output_time
    	"; MATL: ",material_comment
    	" "
    	"; === TOOLS INFO ==="
    	default_add_spaces
    	output_tool_list
    	user_comment_1
    	user_comment_2
    	user_comment_3
    	user_comment_4
    	user_comment_5
    	user_comment_6
    	user_comment_7
    	user_comment_8
    	user_comment_9
    	user_comment_10
    	user_comment_11
    	user_comment_12
    	user_comment_13
    	user_comment_14
    	user_comment_15
    	" "
    and output gcode is:

    Code:
    %
    ==                             ==
    ==    Created for RosettaCNC   ==
    ==      by BobCAD-CAM v31      ==
    ==                             ==
    ==       5 Axis Mill - v1      ==
    == Table-Table AxCz - RTCP ON  ==
    
    
    O0100
    ; === PROGRAM INFO ===
    ; NAME: SWARF EXAMPLE 1.NGC
    ; POST: BC_TABLE_TABLE
    ; MACH: GENERIC FANUC
    ; DATE: TUE. 07/02/2019
    ; TIME: 10:11PM
    ; MATL: Carbon Steel 1018 - Plain (100-125 HB)
    
    
    ; === TOOLS INFO ===
    (MTOOL T1 S1 D0.5 C0. A0. H3.)
    
    
    
    
    ; FIRST MACHINE SETUP - MACHINE SETUP - 1
    
    
    G00 G17 G20 G40 G49 G80 G90
    G54
    
    
    (FIRST CUT - FIRST TOOL)
    
    
    ; TOOL #1 0.5 1/2 FLAT ROUGH ENDMILL - STANDARD
    T1 M06
    G54
    C04.115
    A-20.374

  5. #5

    Re: Post Processor Modification

    Variable names for use in scripting are different in different versions of BCC, ideally you need the variable list for the version you are working in, if a variable name is yielding an empty string it probably doesn't exist with that variable name in your version.

  6. #6
    Join Date
    Apr 2013
    Posts
    70

    Re: Post Processor Modification

    Tried V31 script as suggested and only the hard code without the variable posted. I suspect that magicniner is correct that, if there is a variable name to output material it is different in V27. I did a quick google search for the list and didn't find it. Is this list available anywhere. I like tinkering with scripts although I'm not very skilled at it. Either way, I appreciate the help!

  7. #7

    Re: Post Processor Modification

    Take a look at this page if there is a equivalent variable: https://bobcad.com/components/webhel...elp_System.htm

  8. #8
    Join Date
    Apr 2013
    Posts
    70

    Re: Post Processor Modification

    Although there seems to be no variable for material output for V27, I do appreciate the link. Never knew list was right there waiting to be opened.

  9. #9

    Re: Post Processor Modification


    l
    online help engine don't track in url the related page but you can watch the tree in image and discover all post-processor variables for V27

  10. #10

    Re: Post Processor Modification

    Mill_Post_Variables is the "Legacy" info with V28, the other document is "current documentation" as supplied with V28

  11. #11
    Join Date
    Apr 2009
    Posts
    3376

    Re: Post Processor Modification

    Here's for V26
    Maybe some nuggets of info in here
    Attached Files Attached Files

  12. #12

    Re: Post Processor Modification

    WOW there is a similar document also for V31 ?

  13. #13

    Re: Post Processor Modification

    What the BCC documentation doesn't mention regarding Advanced Posting is that Check Boxes 1 to 24 are addressed as 0 to 23 in VB Script which can throw you a curve ball ;-)

Similar Threads

  1. Post Processor Modification
    By zachf in forum BobCad-Cam
    Replies: 1
    Last Post: 03-21-2016, 03:30 PM
  2. Post processor modification for a 1990 SHINX war horse
    By Randomsledge in forum CNC Machining Centers
    Replies: 0
    Last Post: 03-05-2016, 07:56 AM
  3. X3 Post processor modification for Emcotronic tm02 mill
    By cf_tech in forum Post Processors for MC
    Replies: 4
    Last Post: 01-19-2013, 06:49 PM
  4. V8 Post Modification?
    By mjp in forum Post Processors for MC
    Replies: 1
    Last Post: 01-05-2009, 12:30 PM
  5. Post modification help?
    By bassn_07 in forum Esprit
    Replies: 3
    Last Post: 06-16-2008, 08:56 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
  •