G-code only spits out max spindle speed not the tool set speed

Hello ,

I am working on RhinoCAM milling and trying a profile cut. I have written the post processor and set the feeds and speeds in the tool. However, when i generate a G-code, it always takes the spindle speed from the max spindle speed set in the settings rather than taking the spindle speed from the tool.
Example:
Tool 1 spindle speed : 9000 rpm,
Min/Max Spindle Speed: 1000/17000
G code always generates S17 or a random number like S11 but not S9 (tool spindle speed). How do I solve this problem? Thanks

Regards,
Ali

@Shehroze_Ali

I don’t know how to solve this in RhinoCAM, but I build and maintain KaroroCAM, available on the Package Manager.

If you send me a direct message I could set you up with a trial license and you can see if it is suitable for your workflow.

Cheers

DK

https://www.food4rhino.com/en/app/karorocam-cnc-gcode-cam-plugin-rhino-8

Hi Ali,

I would suspect that you are not using the correct variable in your post under the spindle section. Here is what I have in one of my posts under “Spindle Block Format”:

TOOL[DELIMITER]CALL[DELIMITER][TOOL_NUM][DELIMITER]Z[DELIMITER]S[SPINDLE_SPD]

There are a few spindle options, maybe you have used the wrong one?

Hope this helps. The next step if it doesn’t would be to attach your .spm post file for further analysis.

Trying to pawn your product off every time someone has a RhinoCAM issue is not a classy move. How would it look if every Rhino issue was answered with a sales pitch for Fusion? Yeah, that’s how this looks.

Hi Dan,

Appreciate your help. I was just using one single tool. I worked it out with the scale factor while trying to use the correct variable.
Thanks again for the help.

Regards,

Hi Dan, thanks for the feedback.

When I mention KaroroCAM it’s simply as a possible solution to the problem being discussed. Being cross-platform and directly supported by its developer means issues like this - and others that come up here - can often be solved faster for users.

Funny enough, the reason KaroroCAM exists at all was to remove Fusion 360 from my own workflow.

Cheers

DK