Hello Guest it is October 24, 2019, 01:15:56 AM

Author Topic: SRO disable  (Read 148 times)

0 Members and 1 Guest are viewing this topic.

SRO disable
« on: February 16, 2019, 05:58:33 AM »
Hi All,

I Need an M function to disable the SRO especially when taping ,Is this possible with mach4
Re: SRO disable
« Reply #1 on: February 16, 2019, 04:04:51 PM »
Hi,
yes it is possible.
Look in the 'Spindle' category of the Mach AI.chm:

Code: [Select]
LUA Syntax:
rc = mc.mcSpindleSetOverride(
number mInst,
number percent)

Description:
Set the spindle override percentage.

You could use this or you might experiment with another from the same category:

Code: [Select]
LUA Syntax:
rc = mc.mcSpindleSetOverrideEnable(
number mInst,
number enable)

This API determines whether a SRO is applied at all.

Craig
My wife left with my best friend...
     and I miss him!