Hello Guest it is April 18, 2024, 11:36:13 AM

Author Topic: Spindle led  (Read 3238 times)

0 Members and 1 Guest are viewing this topic.

Spindle led
« 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
Re: Spindle led
« Reply #1 on: October 03, 2008, 04:41:32 AM »
Sorry.

It is working, but it was on a sub program that was making it go off.
My fault.
Re: Spindle led
« Reply #2 on: April 20, 2010, 08:21:22 AM »
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