Hello Guest it is April 19, 2024, 10:12:22 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - philipw

Pages: 1
1
Thanks poppabear.

I had tried those two inputs with no better result.

Testing more now, I think the issue isn't related to mach at all because in the pokeys software the moment I change pin 34 to digital output and send it the light turns on, whether or not it's inverted or not. It only goes off if I set the pin to inactive.

Maybe this is a question for Boris instead because this sure seems strange.

2
PoKeys / How to use Mach and Pokeys to control LED status lights?
« on: May 11, 2010, 04:55:49 PM »
First time working with pokeys and mach3 and my small DIY cnc router.

I'm trying to add LED status lights to my control panel with pokeys but must be missing something as my light is on all the time for my first and second tests.

My environment is vista, .040 licensed Mach, pokeys 55 with the latest pokeys plugin from machsupport and software from pokeys.

I have the pokeys software installed and the mach3 pokeys plug in installed.

I have used the pokeys to connect a momentary switch that emulates alt-a on the keyboard for going to x y z on the movement control with my MPG, which is connected directly to one of my C10 boards, I know at least that function works great.

I'd like to list my recipe below for what I did to have an LED (light) illuminate when the spindle is on. I can turn the spindle on and off with the mach3 button or M3 / M5 g-code commands.

In the mach pokeys plug in I mapped user led i/o to a range starting at 2000, and set uled input range to 33 - 55, which is supposed to correlate to pins 33 - 55 on the pokeys I believe.

In the LED brain I created, I set LED input to look for spindle on, had it pass the signal to oem led 2001. 2001 should be pin 34 on the pokeys if I have all that correct.

I connected the led to pokeys 34 and ground with the proper resistor. + to the actual pin 34. I
tested it separately and it works fine.

Using the pokeys software, I set pin 34 for digital output.

the light comes on the moment I send the update to the pokeys and never goes off.

I turn the spindle on in mach, turn the spindle off, led stays lit no matter what I do.

Talking with Arturo he suggested I try a forumla for spindle speed >0 instead, but I couldn't get that to work either.

Then, worried that I had some other issue related to the spindle after talking with Arturo, I did the same setup but checking for estop, but had the same result, LED (light) is always lit.

I read through the pokeys manual and did not see this setup explained, though I did verify that I had the LED (light) installed correctly.

I'm sure I have a step above that's wrong or missing and would appreciate any help on this I can get.

Thanks...philip

Pages: 1