Hi Peter,
I was concerned that during a machining operation Mach might not keep up with calculating the vector velocity components of a multi axis feed twenty times a second.
Here’s the code I used in a macropump to buffer it a little. It is pretty jittery so I had to use wide deadbands.
Sub FRO()
a = getinput(64)
b= Fix(a/6.8267) ‘150%
If b < (GetVar(607)-2.5) Or b > (GetVar(607)+2.5) Then
SetVar(607,b)
If GetVar(607) < 103 And GetVar(607) > 98 Then
SetDro(21,100)
DoOemButton(1014) 'reset overide
Exit Sub
End If
SetDro(21,GetVar(607))
End If
End Sub
Thanks for all your help.
Tony