Hi,
I made a mistake in first post - there should be "then axis is jerking and it DOESN'T move smoothly." instead of "then axis is jerking and it move smoothly.".
@boopathi.sivakumarI have setting 34 set at 160 mm (HRT-160 SS).
There is a little mistake here - there should be ; after "feed":
if (!properties.useDPMFeeds) { // inverse time
f.frn = getInverseTime(length.tool, feed);
f.fmode = 93;
feedOutput.reset();
} else { // degrees per minute
f.frn = feed //<<Change to feed instead of getFeedDPM(length, feed);
// there should be ; after feed
f.fmode = 94;
}
return f;
Ok, so here we have 3 options:
1 - NGC post with IPM FEEDS:
* axis moves smoothly
* feedrate is too low
* feedrate changes with diameter
2 - NGC post without IPM FEEDS:
* axis doesn't move smoothly (because feedrate is in every line and also in every line there is diffrent value)
* feedrate changes with diameter
3 - NGC post with @boopathi.sivakumar modification:
* axis moves smoothly
* feedrate doesn't change with diameter
So my conclusion is that first option is the best, but there is a problem with calculations of radius, movetime or some length.
Correct me if I'm wrong:
var moveTime = _moveLength.tool / _feed;
var moveTime = [mm] / [mm/min] = [min]
dpmFeed = Math.min(toDeg(_moveLength.abcLength) / moveTime, maxDPM);
dpmFeed = [°] / [min]
Shouldn't it be [rad/s] instead of [°/min]?