Just in case anyone finds it useful here's the initial Macropump for the two overrides.
Spindle Speed CAPPING Courtesy of Aaron

I only said I needed to write something to cap the overridden rpm if it exceeded my max safe rpm, and he wrote it for me! What a kind Yorkshireman.
Wayne....
maxrpm = 6200
feedpot = Getinput(64) / 1023
spinpot = (getinput(65) / 1023)
spinover = (spinpot * 125) + 25
curSValue = getoemdro(817)
overRideRpm = (curSValue * spinover) / 100
If (overRideRpm > maxrpm) Then
Spinover = (maxrpm / curSValue) * 100
End If
Call setoemdro(74,spinover)
feedover = (feedpot * 240) + 10
Call setdro(21,feedover)