587,833 active members*
3,301 visitors online*
Register for free
Login

Thread: post changes

Results 1 to 15 of 15
  1. #1
    Join Date
    Mar 2009
    Posts
    291

    post changes

    does anybody know how to change my post so my tap cycle looks like this?
    this is ridged tap for fanuc 21 i

    N135 T05 M06
    N137 G90 G54 X0. Y-3.1496
    N138 G43 H05 Z2. M08
    N138 M29 S200
    N139 G84 G98 X0. Y-3.1496 Z-1.0362 R.1 F11.82
    N140 X6.7716
    N141 X10.1574
    N142 G80
    N143 G00 Z2.

  2. #2
    Join Date
    Jun 2006
    Posts
    89
    I'm sure one of us can. Can you post what bobcad is outputting so we can see what needs to be changed? How about uploading your post processor also.
    Dave

  3. #3
    Join Date
    Mar 2009
    Posts
    291

    post change

    this is what bobcad posts for tapping cycle


    N135 T05 M06
    N136 S378 M03
    N137 G90 G54 X0. Y-3.1496
    N138 G43 H05 Z.1 M08
    N139 G84 G98 X0. Y-3.1496 Z-1.0362 R.1 F22.3228
    N140 X6.7716
    N141 X10.1574
    N142 G80
    N143 G00 Z.1

  4. #4
    Join Date
    Mar 2009
    Posts
    291

    post changer

    here is the post file
    Attached Files Attached Files

  5. #5
    Join Date
    Dec 2008
    Posts
    4548
    With one change to the standard start of program, I get this:

    N04 T01 M06
    N05 G90 G54 X0. Y0.
    N06 G43 H01 Z2. M08
    N07 M29 S504
    N08 G81 G98 X0. Y0. Z-.08 R2. F1.0084
    N09 G80
    N10 Z.1
    N11 M09
    N12 M05
    N13 G00 G91 G28 Z0.
    N14 M01

    There should be a couple changes to the toolchange area also. Can you post the file that makes the code you posted. (Sorry, dont know how to re-create it so I can be sure I get the same numbers) For instance, my code shows coolant off and spindle off and such. This can be removed but I dont want to if your program doesnt have it for some other reason. Also, to get the end at the z.2 also.

    [EDIT] Dave may beat me to it! [EDIT]

  6. #6
    Join Date
    Jun 2006
    Posts
    89
    It looks like Burr already has the fix for you. Burr, if you put 3 points on your drawing with the first being at X0.0 Y-3.1496, the second one at the same Y position and X6.7716 and the third one at X10.1574. Then when you select your geometry select all three points and then regenerate your program, your numbers and program should look like his first post.
    Also, can you post the processor file for him?
    Thanks Burr,

    Dave

  7. #7
    Join Date
    Dec 2008
    Posts
    4548
    Thanks Dave! I suppose if I look at that then I may be able to figure it out!

    Heres what that posted. a default tap.

    N04 T01 M06
    N05 G90 G54 X0. Y-3.1496
    N06 G43 H01 Z.1 M08
    N07 M29 S504
    N08 G81 G98 X0. Y-3.1496 Z-.08 R.1 F1.0084
    N09 X6.7716
    N10 X10.1574
    N11 G80
    N12 Z.1
    N13 M09
    N14 M05
    N15 G00 G91 G28 Z0.
    N16 M01

    The M29 and S was moving a line in the "standard start of program" and "tool changes" areas. (hard coded the M29 in)

    Click image for larger version. 

Name:	post_edit.jpg 
Views:	36 
Size:	53.1 KB 
ID:	83380

    Click image for larger version. 

Name:	post_edit2.jpg 
Views:	33 
Size:	41.8 KB 
ID:	83379

    Click image for larger version. 

Name:	post_edit3.jpg 
Views:	34 
Size:	31.9 KB 
ID:	83378

    Also, the starting Z param is contolled in the feature edit called "Rapid Plane". Put the 2 there. The end Z is inserted by the post. Ive always wondered why it over rides the rapid plane set it the feature edit though.

    Anybody else here?

    Click image for larger version. 

Name:	post_edit4.jpg 
Views:	33 
Size:	33.9 KB 
ID:	83377

    The post is attatched. This one appears to be a bit different than your with some Coolent On/Off Spindle On/Off at end of programs and tool changes. This should be fairly clear though.
    Attached Files Attached Files

  8. #8
    Join Date
    Jun 2006
    Posts
    89
    Any time Burr, nice job.

    Dave

  9. #9
    Join Date
    Mar 2009
    Posts
    291

    post change

    looks good for the tap cycle but it adds the m29 code for all tools.
    m29 sets the machine for ridged tap and that wont work for the rest of the tools.ya i know im a pain in the ##%%^# lol.

  10. #10
    Join Date
    Aug 2003
    Posts
    449
    Do you need any other options than the M29 for the start? That is to say, will it always be the M29?

    Regards

  11. #11
    Join Date
    Mar 2009
    Posts
    291
    m29 is only for g84 tapping cycle.this code sets up ridged tap.i only want m29in the tapping cycle nowhere else.

    N135 T05 M06
    N137 G90 G54 X0. Y-3.1496
    N138 G43 H05 Z2. M08
    N138 M29 S200 (only for tapping)
    N139 G84 G98 X0. Y-3.1496 Z-1.0362 R.1 F11.82
    N140 X6.7716
    N141 X10.1574
    N142 G80
    N143 G00 Z2.


    N116 T04 M06
    N117 S946 M03 (for every other tool )
    N118 G90 G54 X0. Y-3.1496
    N119 G43 H04 Z2. M08
    N120 G73 G98 X0. Y-3.1496 Z-1.1015 R.1 Q.169 F3.
    N121 X6.7716
    N122 X10.1574
    N123 G80
    N124 G00 Z2.

  12. #12
    Join Date
    Mar 2009
    Posts
    291

    post change

    also predator editor does not like the m29.Is there a way to have it skip that block during simulation?as soon as it gets to a line with m29 it stops back plotting the program.

  13. #13
    Join Date
    Apr 2007
    Posts
    243
    This is something you can do with the post for BobCAD.

    Most of the post I've pulled from their website have been wrong for the format of the cycle. There are more then a few changes you'll need to make.

    These are some of the line of code need to be changed in the post

    80. Drill canned cycle cancel.
    n, "G80"
    rigid_tapping_end

    90. Canned cycle drill point format WITH SUBPROGRAMS.
    n,x_f,y_f, zr_no_output
    91. Canned cycle drill point format for standard drill canned cycle NO SUBPROGRAMS.
    n,x_f,y_f, zr_no_output
    92. Canned cycle drill point format for standard drill canned cycle with dwell NO SUBPROGRAMS.
    n,x_f,y_f, zr_no_output
    93. Canned cycle drill point format for peck drill canned cycle NO SUBPROGRAMS.
    n,x_f,y_f, zr_no_output
    94. Canned cycle drill point format for tapping canned cycle NO SUBPROGRAMS.
    n,x_f,y_f, zr_no_output
    95. Canned cycle drill point format for boring cycle #1 canned cycle NO SUBPROGRAMS.
    n,x_f,y_f, zr_no_output
    96. Canned cycle drill point format for boring cycle #2 canned cycle NO SUBPROGRAMS.
    n,x_f,y_f, zr_no_output
    97. Canned cycle drill point format for back boring cycle canned cycle NO SUBPROGRAMS.
    n,x_f,y_f, zr_no_output
    98. Canned cycle drill point format for boring cycle #1 canned cycle with dwell NO SUBPROGRAMS.
    n,x_f,y_f, zr_no_output
    99. Canned cycle drill point format for boring cycle #2 canned cycle with dwell NO SUBPROGRAMS.
    n,x_f,y_f, zr_no_output


    113. Canned cycle drill point format for high speed peck drill canned cycle NO SUBPROGRAMS.
    n,x_f,y_f, zr_no_output
    114. Canned cycle drill point format for left handed tapping canned cycle NO SUBPROGRAMS.
    n,x_f,y_f, zr_no_output

    116. Canned cycle drill point format for fine boring canned cycle NO SUBPROGRAMS.
    n,x_f,y_f, zr_no_output

  14. #14
    Join Date
    Apr 2007
    Posts
    243
    Some more changes needed

    rigid_tapping_start
    n,g_canned_cycle,g98_g99,x_f,y_f,drill_depth,refer ence_plane,dwell,canned_feed_rate





    22. Rigid tapping start.
    n, "G93"

    23. Rigid tapping end.
    n, "G94"


    50. Line first rapid move Z.
    n, cancel_drill_cycle
    n, rigid_tapping_end
    n,rapid_move,zr


    80. Drill canned cycle cancel.

    84. Tapping canned cycle.

    rigid_tapping_start
    n,g_canned_cycle,g98_g99,x_f,y_f,drill_depth,refer ence_plane,dwell,canned_feed_rate

  15. #15
    Join Date
    Dec 2008
    Posts
    4548
    The example and post I made will put it "Everytime, everywhere". Global.

    You wont want to use this.

    Look at Allen's post. Also, The One would most certainly know.

    Sounds like its done with the canned cycle and I dont understand this area.

Posting Permissions

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