Hello Guest it is March 28, 2024, 08:22:00 AM

Author Topic: Macro not working in .lset, but works in .set  (Read 3533 times)

0 Members and 1 Guest are viewing this topic.

Macro not working in .lset, but works in .set
« on: November 14, 2011, 06:20:18 PM »
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