587,406 active members*
3,204 visitors online*
Register for free
Login
IndustryArena Forum > CAM Software > BobCad-Cam > Feature name in post output?
Results 1 to 5 of 5
  1. #1
    Join Date
    May 2008
    Posts
    99

    Feature name in post output?

    Hopefully a quick question....
    V26. I rename all my features to something descriptive.... i.e. "Cut Magnet Holes"

    When posted, the system_name, system_name_comment, feature_name and feature_name_comment all output the original names... i.e. (PROFILE ROUGH).

    Can anyone point me to the variable I'm looking for?
    Thanks in advance.

  2. #2
    Join Date
    Dec 2011
    Posts
    295
    There is a post varible page for V25. Under comments; they are called system_comment and feature_name_comment. There is prolly a post varible page for V26

  3. #3
    Join Date
    May 2008
    Posts
    99
    Thanks, LeWhite - these variables are exactly the ones I tried..... they all output the original name, not the renamed name in the CAM tree.
    When I rename features in the CAM tres, I'd like to be able to output these in the Post... and even better, in the Job Setup Sheet.

    Thanks.

  4. #4
    Join Date
    Jun 2008
    Posts
    1838
    Quote Originally Posted by tlharris View Post
    Thanks, LeWhite - these variables are exactly the ones I tried..... they all output the original name, not the renamed name in the CAM tree.
    When I rename features in the CAM tres, I'd like to be able to output these in the Post... and even better, in the Job Setup Sheet.

    Thanks.
    Whether it is a "bug" or done intentionally but the initial name in the Feature appears to be no longer what is posted, instead it is the individual operations within the feature that the names are carried through.
    They do also carry through to the setup sheets

    I have done a simple pocket example with a Semi Finish profile and a Finish profile, here is the sample code produced with my modified BC_3x_Mill.MillPst PP.

    I think this may be what you are looking for (BTW it is in Metric)

    %
    O0001 (PROGRAM NUMBER)

    (BEGIN PREDATOR NC HEADER)
    (MCH_FILE=4AXVMILL.MCH)
    (WORK OFFSET= X-25. Y-25. Z0.)
    (COOR_SYS 1=X0 Y0 Z0)
    (MTOOL T1 S1 D8. C0. A0. H62.)
    (MTOOL T2 S1 D12. C0. A0. H84.)
    (SBOX X-25. Y-25. Z-25.4 L50. W50. H25.4)
    (END PREDATOR NC HEADER)


    (FIRST MACHINE SETUP - Machine Setup - 1)

    (PROGRAM NAME - FIRST TEST.NC)
    (POST - BC_3X_MILL 3-AXIS GENERIC FANUC)
    (DATE - THU. 02/13/2014)
    (TIME - 01:14AM)

    N10 G00 G17 G40 G49 G80 G21 G90

    (FIRST OPERATION - FIRST TOOL)
    (POCKET ROUGH 4MM DEEP)


    (TOOL #1 8. 8mm Carbide End Mill 4Fl Merlin)
    N20 T1 M06
    N30 G10 L2 P1 X-25. Y-25. Z0.
    N40 G90 G54 X4.004 Y2.757 S230 M03
    N50 G43 H1 Z10. M08
    N60 Z5.
    N70 Z2.
    N80 G01 Z0. F67.8923
    N90 Z-4.
    N100 X-1.095 F135.7846
    N110 Y-1.926
    N120 X4.004
    N130 Y2.757
    N140 X8.004
    N150 Y6.757
    N160 X-5.095
    N170 Y-5.926
    N180 X8.004
    N190 Y2.757
    N200 Y6.757
    N210 X12.004
    N220 Y8.507
    N230 G17 G03 X9.754 Y10.757 I-2.25 J0.
    N240 G01 X-6.845
    N250 G03 X-9.095 Y8.507 I0. J-2.25
    N260 G01 Y-7.676
    N270 G03 X-6.845 Y-9.926 I2.25 J0.
    N280 G01 X9.754
    N290 G03 X12.004 Y-7.676 I0. J2.25
    N300 G01 Y6.757
    N310 G00 Z5.
    N320 Z10.
    N330 M09
    N340 M05
    N350 G91 G28 Z0.
    N360 G90

    (NEXT OPERATION - NEXT TOOL)
    (POCKET 4MM DEEP PROFILE SEMI-FINISH)


    (TOOL #2 12mm Carbide Merlin)
    N370 T2 M06
    N380 G90 G54 X9.754 Y8.807 S153 M03
    N390 G43 H2 Z10. M08
    N400 G00 Z5.
    N410 Z2.
    N420 G01 Z-4. F22.6308
    N430 X-6.845 F45.2615
    N440 G17 G03 X-7.145 Y8.507 I0. J-0.3
    N450 G01 Y-7.676
    N460 G03 X-6.845 Y-7.976 I0.3 J0.
    N470 G01 X9.754
    N480 G03 X10.054 Y-7.676 I0. J0.3
    N490 G01 Y8.507
    N500 G03 X9.754 Y8.807 I-0.3 J0.
    N510 G00 Z5.
    N520 Z10.

    (NEXT OPERATION - SAME TOOL)
    (POCKET 4MM DEEP PROFILE FINISH)


    N530 X9.754 Y8.857 S153
    N540 Z5.
    N550 Z2.
    N560 G01 Z-4. F22.6308
    N570 X-6.845 F45.2615
    N580 G03 X-7.195 Y8.507 I0. J-0.35
    N590 G01 Y-7.676
    N600 G03 X-6.845 Y-8.026 I0.35 J0.
    N610 G01 X9.754
    N620 G03 X10.104 Y-7.676 I0. J0.35
    N630 G01 Y8.507
    N640 G03 X9.754 Y8.857 I-0.35 J0.
    N650 G00 Z5.
    N660 Z10.
    N670 M09
    N680 M05
    N690 G91 G28 Z0.
    N700 G91 G28 Y0.
    (END OF FILE)
    N710 M30

    (END OF PROGRAM)
    %

    Here are the PP modified blocks

    2. Start of file Standard
    "(PROGRAM NAME - ",prog_name,")"
    "(POST - ",machine_make,machine_model,")"
    "(DATE - ",output_date,")"
    "(TIME - ",output_time,")"
    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
    " "
    n,rapid_move,"G17","G40","G49",cancel_drill_cycle, measure_mode,movement_mode
    " "
    "(FIRST OPERATION - FIRST TOOL)"
    feature_name_comment

    " "
    "(TOOL #",list_tool_number," ", tool_diameter, " ", tool_label, ")"
    n,t,"M06"
    force_no_add_spaces
    output_rotary_angle
    output_second_rotary_angle
    default_add_spaces
    n,"G10","L2","P1","X"stock_min_x "Y"stock_min_y "Z"stock_max_z"
    n,rapid_move,absolute_coord,work_coord,force_x,xr, force_y,yr,p_rot, s_rot,s,spindle_on
    n,rapid_move,length_offset,zr,coolant_on
    machining_mode

    3. Tool change
    n,coolant_off
    n,spindle_off
    n,rapid_move,incremental_coord,"G28","Z0."
    n,absolute_coord
    " "
    "(NEXT OPERATION - NEXT TOOL)"
    feature_name_comment

    " "
    "(TOOL #",list_tool_number, tool diameter, tool_label, ")"
    n,t,"M06"
    force_no_add_spaces
    output_rotary_angle
    output_second_rotary_angle
    default_add_spaces
    n,rapid_move,absolute_coord,work_coord,force_x,xr, force_y,yr,p_rot, s_rot,s,spindle_on
    n,rapid_move,length_offset,zr,coolant_on

    4. Null tool change
    " "
    "(NEXT OPERATION - SAME TOOL)"
    feature_name_comment

    " "
    force_no_add_spaces
    output_rotary_angle
    output_second_rotary_angle
    default_add_spaces
    n,rapid_move,force_x,xr,force_y,yr,p_rot, s_rot,s

    Attached is the zipped up BC file which has the modified "Tree" with the individual naming of each operation, that`s how I have it worked out so far, best I can do for you for now, hope it`s enough for you to get by with, works for me so far

    Attachment 223540

    Attachment 223538

    Regards
    Rob
    :rainfro: :rainfro: :rainfro:

  5. #5
    Join Date
    Dec 2011
    Posts
    295
    I am using haas4xvmc mpost. And replaced the second comment line with , feature_name_comment, in three places,and it did work as planned. I also changed the Onnnnn line to read "O00000","(",prog_name,")" . That worked well also. I hard code the program# because zero is always vacant at the machine and is the in out address.

    Now when I tried installing feature_name_comment into the same place as in mpost but into lpost it didnt work as there is no lathe post variable by that name. There is,
    ,start_comment, comment_1,end comment. Where comment_1 is job; comment_2 is tool; comment_3 is finish tool. What do I have to do to output MY feature name as comment 1

Similar Threads

  1. Output Feature Name in Post Processor
    By Alf0412 in forum BobCad-Cam
    Replies: 3
    Last Post: 07-30-2012, 08:44 PM
  2. Replies: 8
    Last Post: 07-18-2012, 10:51 PM
  3. Dill feature without center drill feature
    By LockTech in forum BobCad-Cam
    Replies: 2
    Last Post: 08-25-2011, 02:38 PM
  4. Feature Cam Post For 04 Tl-1
    By DATTAMAN in forum Haas Mills
    Replies: 0
    Last Post: 02-04-2005, 04:27 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
  •