Need Help! Post Processor Modification


Results 1 to 13 of 13

Thread: Post Processor Modification

  1. #1
    Member
    Join Date
    Apr 2013
    Location
    United States
    Posts
    70
    Downloads
    0
    Uploads
    0

    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

    Similar Threads:


  2. #2
    Member
    Join Date
    Jul 2017
    Location
    Italy
    Posts
    126
    Downloads
    0
    Uploads
    0

    Default Re: Post Processor Modification

    Use material_comment

    Outputs the defined material as a string.

    API:
    string MILLTURN_GetMaterialComment()



  3. #3
    Member
    Join Date
    Apr 2013
    Location
    United States
    Posts
    70
    Downloads
    0
    Uploads
    0

    Default 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
    Member
    Join Date
    Jul 2017
    Location
    Italy
    Posts
    126
    Downloads
    0
    Uploads
    0

    Default 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
    Member
    Join Date
    Feb 2013
    Location
    United Kingdom
    Posts
    677
    Downloads
    0
    Uploads
    0

    Default 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.

    I quite like targeted ads if they're not intensely annoying so I'll enable ads when your advertisers stop using annoying sounds, annoying slideshows and annoying animations


  6. #6
    Member
    Join Date
    Apr 2013
    Location
    United States
    Posts
    70
    Downloads
    0
    Uploads
    0

    Default 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
    Member
    Join Date
    Jul 2017
    Location
    Italy
    Posts
    126
    Downloads
    0
    Uploads
    0

    Default 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
    Member
    Join Date
    Apr 2013
    Location
    United States
    Posts
    70
    Downloads
    0
    Uploads
    0

    Default 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
    Member
    Join Date
    Jul 2017
    Location
    Italy
    Posts
    126
    Downloads
    0
    Uploads
    0

    Default Re: Post Processor Modification

    Post Processor Modification-001-jpg
    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

    Attached Thumbnails Attached Thumbnails Post Processor Modification-001-jpg  


  10. #10
    Member
    Join Date
    Feb 2013
    Location
    United Kingdom
    Posts
    677
    Downloads
    0
    Uploads
    0

    Default Re: Post Processor Modification

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

    Attached Files Attached Files
    I quite like targeted ads if they're not intensely annoying so I'll enable ads when your advertisers stop using annoying sounds, annoying slideshows and annoying animations


  11. #11
    Member
    Join Date
    Apr 2009
    Location
    usa
    Posts
    3376
    Downloads
    0
    Uploads
    0

    Default Re: Post Processor Modification

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

    Attached Files Attached Files


  12. #12
    Member
    Join Date
    Jul 2017
    Location
    Italy
    Posts
    126
    Downloads
    0
    Uploads
    0

    Default Re: Post Processor Modification

    WOW there is a similar document also for V31 ?



  13. #13
    Member
    Join Date
    Feb 2013
    Location
    United Kingdom
    Posts
    677
    Downloads
    0
    Uploads
    0

    Default 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 ;-)

    I quite like targeted ads if they're not intensely annoying so I'll enable ads when your advertisers stop using annoying sounds, annoying slideshows and annoying animations


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
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

Post Processor Modification

Post Processor Modification