Hello Guest it is April 23, 2024, 04:22:50 AM

Author Topic: SRO disable  (Read 741 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
'I enjoy sex at 73.....I live at 71 so its not too far to walk.'