Machsupport Forum
Mach Discussion => VB and the development of wizards => Topic started by: ftomazz on October 03, 2008, 04:37:28 AM
-
Hello. I would like to turn on a user led when my spindle is on, then turn off the spindle, but I still want that the led remain ON, so I did:
If GetOEMLed (11) SetUserLed (1500,1) ' This is ok, will turn on the user led 1500
If GetOEMLed (11) DoOEMButton (110)' This turns off the spindle, BUT also turns off the led 1500
This should not happen. What I am doing wrong ?
Thank you,
Filipe
-
Sorry.
It is working, but it was on a sub program that was making it go off.
My fault.
-
HELLO OFFLINE:
I am a beginner
I want turn on a led of the FEED HOLD on,it`s led is on ,please give me a example
file is the "m1001.mls"
thanks
gys16435@sina.com