Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 02:16:49 AM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  General Mach Discussion
| | |-+  How to add LED's to Control Panel for Jog Modes.
Pages: 1   Go Down
Print
Author Topic: How to add LED's to Control Panel for Jog Modes.  (Read 348 times)
0 Members and 1 Guest are viewing this topic.
johnv
Active Member

Offline Offline

Posts: 40


View Profile
« on: September 30, 2010, 04:21:32 PM »

Hi All,
I added pushbuttons to my control panel for Jog Cont. and Jog Step. Now I would like to add leds so I know which is active. I wired an led with a 220 ohm resister from 5vdc source to BOB2  pin1. Then in Ports & Pins/Output/, I choose  Output2 and entered 2 for ports, and 1 for pins, and choose Active low. Wrote a brain with Jog Cont Led as input, to Pass Signal/No Operation to Output2. The brains switches on when I'm in JogCont, but the led always stays lit. What am I doing wrong?
Johnv
Logged
Hood
Active Member

Offline Offline

Posts: 17,360


Carnoustie, Scotland


View Profile
« Reply #1 on: September 30, 2010, 04:32:45 PM »

Can  you attach the Brain please.
Hood
Logged
johnv
Active Member

Offline Offline

Posts: 40


View Profile
« Reply #2 on: September 30, 2010, 05:07:30 PM »

Hood,
I spent the last 15 min trying to figure out how to attach a file. Would you tell me how this is done?
Johnv
Logged
Hood
Active Member

Offline Offline

Posts: 17,360


Carnoustie, Scotland


View Profile
« Reply #3 on: September 30, 2010, 05:09:44 PM »

Additional options button on the reply page.
Hood
Logged
johnv
Active Member

Offline Offline

Posts: 40


View Profile
« Reply #4 on: September 30, 2010, 05:15:28 PM »

Hood,
Thanks!
Johnv

* JOGCONT.brn (1.71 KB - downloaded 54 times.)
Logged
Hood
Active Member

Offline Offline

Posts: 17,360


Carnoustie, Scotland


View Profile
« Reply #5 on: September 30, 2010, 05:44:22 PM »

It seems to be working fine here. See the screen capture I took and posted on youtube.
http://www.youtube.com/watch?v=hI0_c_fuS28
Do you see the same when you view the Brain and work via the flyout screen?
Hood
Logged
johnv
Active Member

Offline Offline

Posts: 40


View Profile
« Reply #6 on: September 30, 2010, 06:24:35 PM »

Hood,
Yes! I get the same action. I shut down the system for about 5 minutes and rebooted.... It works fine now!   I hate when I can't find the cause of these malfunctions! Thanks again Hood.
Johnv
Logged
Hood
Active Member

Offline Offline

Posts: 17,360


Carnoustie, Scotland


View Profile
« Reply #7 on: September 30, 2010, 06:26:40 PM »

Hopefully it will keep working from now on Smiley
Hood
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!