Welcome, Guest. Please login or register.
Did you miss your activation email?
May 28, 2012, 02:14:16 PM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  VB and the development of wizards
| | |-+  Spindle led
Pages: 1   Go Down
Print
Author Topic: Spindle led  (Read 991 times)
0 Members and 1 Guest are viewing this topic.
ftomazz
Active Member

Offline Offline

Posts: 193


View Profile
« on: October 03, 2008, 03: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
Logged
ftomazz
Active Member

Offline Offline

Posts: 193


View Profile
« Reply #1 on: October 03, 2008, 03:41:32 AM »

Sorry.

It is working, but it was on a sub program that was making it go off.
My fault.
Logged
ALLEN
Active Member

Offline Offline

Posts: 6


View Profile
« Reply #2 on: April 20, 2010, 07: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
Logged
Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!