Open Source Sofware

» Topic: Feedrates

Home New Forums BobCAD-CAM Forums Feedrates

This topic contains 8 replies, has 3 voices, and was last updated by  Sean 2 years, 4 months ago.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #18918

    Tom
    Participant

    On a mill program, is there a way to have BobCAD output reduced feed rates when the cutter enters a smaller inside radius. Currently I have been modifying the G code output manually. Very time consuming.

    #18921

    Sean
    Participant

    Tom,

    It is possible to output a reduced feedrate when going around an arc. On the tool selection page of a feature, there is an option for Arc Slowdown%. This number can be modified to reduce or increase the feedrate that outputs around arcs based on a percentage of the cutting feedrate.

    #18926

    Tom
    Participant

    Sean,

    Thank you for the fast reply. I have have experimented with the Arc Slowdown % but that only reduces the feedrate to a predetermined feed on all inside contours. I have a part that has .187″ radius inside cuts and other arcs that are 2.00″ radius. Using a .250″ diameter end mill, I have to reduce the feedrate by a high percentage but do not need this much reduction in other areas. I have used other types of software that looks at the diameter of the cutter and the diameter of the arc and reduces the feed accordingly. Can this be done with BobCAD without manually changing the feeds of the G code output?

    Thanks again,

    Tom

    #18929

    Sean
    Participant

    Tom,

    It can by adjusting the feedrate output in the post processor itself. It would require a script that checks the size of the arc and then you can create a scale factor off of that.

    #18930

    Tom
    Participant

    How is this done?

    #18933

    jrmach
    Participant

    Tom,I think BoB will want $$$

    Over at the Zone there are a few people who understand scripts.There have been threads on scripts before over there.Can be pretty powerful to tweak your code in different ways.This particular question has never came up,but this would be doable pretty easily I reckon.
    Actually,I encourage you to post over there as this is something that would be pretty nice to have.
    A future feature request maybe Sean ?

    #18934

    Sean
    Participant

    JR,

    I will submit a feature request to development to have radius specific slowdown, basically, if smaller than a certain radius size, reduce feedrate.

    Tom,

    For us to do the scripting JR is correct. There are ways in which scripting can be done, but they would vary based on the specific conditions. If you wish to limit the feedrate feature by feature basis, rather than a general rule of thumb, you would have to create a page inside the feature that would allow input. If you want a general rule of thumb, here is an example of that style of script. This would go into one of the open program blocks in the 2001 + area of the post processor. You would then change the feed_rate value on block 64-66 to the specific program block used, i.e. program block 1 would be program_blocK_1.

    Dim feedValue
    feedValue = Mill_GetFeedRate() ‘Grab feed value using built in API
    feedValue = round(feedValue,4) ‘Round feed value to 4 decimal places
    Dim rValue
    rValue = MILL_GetArcRadius() ‘Grab radius value using built in API
    rValue = round(rValue,4) ‘Round rValue to 4 decimal places

    ‘Conditional Statement to check value of radius and reduce feed

    If(rValue<=.125) then
    feedValue = round((feedValue*.2),4)
    Mill_SetReturnString(” F”&feedValue&””)
    Else
    Mill_SetReturnString(” F”&feedValue&””)
    End If

    • This reply was modified 2 years, 4 months ago by  Sean.
    #18985

    Tom
    Participant

    Sean,

    To do this correctly, the radius must be compared to the tool diameter and the feed slowed accordingly to maintain a constant chip load.

    Is there any data or documentation available for writing scripts?

    #19009

    Sean
    Participant

    Tom,

    We do not have any documentation available in regards to scripting. You can review tutorials online that cover vbscript, which is what we use for our scripting engine. The argument you need to make needs to grab tool diameter and the radius value of the arc and do a comparison between the two. There are many ways this can be done, but it is a more complicated script then the one that I showed.

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.

Forum Account

     Lost Password / Register   

Sharing

facebooktwittergoogle_pluspinterestlinkedinmail