I have an old macropump macro for overriding the spindle speed with a potentiometer. The macro works fine when using the standard Mach 3 mill screen (1024.set), but when I switch to the lathe screen (1024.lset), the macro no longer works.
Here's the macro code I'm using:
SRO = GetInput (65)
SRO = (SRO * 120.0)/1024.0
Call SetOEMDRO(74,SRO)
Just for kicks, I used the screen designer to save a copy of 1024.lset as a .set file, and the macro worked fine when I loaded this screen. (A number of other things were messed up, however, including the toolpath views.)
Any ideas why this macro won't work on a lathe screen? Any suggestions for a workaround?
Thanks,
m