Hello George,
You will need to make a couple of changes to the post to get your desired output. First there is an issue with the Okuma post when direction codes for the rotary axes are not output. Please add the following code to the getRotaryDirectionCode function to properly set the previous ABC angles (we will updated this in the stock post processor).
function getRotaryDirectionCode(abc) {
if (properties.useTableDirectionCodes) {
var delta = abc.getCoordinate(masterAxis) - previousABC.getCoordinate(masterAxis);
previousABC.setCoordinate(masterAxis, abc.getCoordinate(masterAxis));
if (((delta < 0) && (delta > -Math.PI)) || (delta > Math.PI)) {
return cAxisDirectionModal.format(16);
} else if (abcFormat.getResultingValue(delta) != 0) {
return cAxisDirectionModal.format(15);
}
} else {
previousABC.setCoordinate(masterAxis, abc.getCoordinate(masterAxis));
}
return "";
}
The next change in the getFeedDPM function modifies the DPM feed rates from a combination of FPM and DPM to straight DPM. All controls are a bit different in the way DPM feed rates are calculated when there is linear axes movement involved. This change will not be placed in the library post, so you will need to use your modified post.
if (tcp) { // TCP mode is supported, output feed as FPM
dpmFeed = _feed;
} else if (true) { // standard DPM
dpmFeed = Math.min(toDeg(_moveLength.abcLength) / moveTime, maxDPM);
if (Math.abs(dpmFeed - previousDPMFeed) < dpmFeedToler) {
dpmFeed = previousDPMFeed;
}
} else if (false) { // combination FPM/DPM
If you find that the feed rates are still off when moving both the linear and rotary axes in a single block, you can change it back to combination FPM/DPM and change the pulse weight to 1 for the rotary axes.
var dpmBPW = unit == MM ? 1.0 : 1.0; // ratio of rotary accuracy to linear accuracy for DPM calculations
This will also get you the feed rate values you are looking for when only the rotary axes move, but will take into account the linear axes when both move.

Bob Schultz
Sr. Post Processor Developer