Welcome, Guest. Please login or register.
Did you miss your activation email?
February 12, 2012, 09:06:05 AM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  Brains Development
| | |-+  User LED and Brain
Pages: 1   Go Down
Print
Author Topic: User LED and Brain  (Read 932 times)
0 Members and 1 Guest are viewing this topic.
ianion
Active Member

Offline Offline

Posts: 8


View Profile
« on: September 01, 2010, 02:36:56 PM »

 Hi,
I write a smal brain rung. If modbus input goes high, invert signal, then activate OEMLED:1200
From terminating window i select USER LED - - USE LED NUMBER - - and write value 1200 (valid value for this 1000-2255)
In BrainControl - -ViewBrain, the value of OEMLED:1200 is high.
The problem is. I have created a led in Screen4 and ticked in table LED CONTROL the OEM CODE FUNCTION  and write value 1200.
Save...bla,bla.
Launch Mach3.... and the led is dead.
What i make wrong?
Logged
poppabear
S S SYSTEMS, LLC
Global Moderator
*
Offline Offline

Posts: 1,690


Briceville, TN, USA


View Profile WWW
« Reply #1 on: September 01, 2010, 06:44:47 PM »

the brains input logic is backwards from machs LED logic on screens....

I.e. If you want an User LED to turn on on your screen when an Input (from modbus or other external source goes ON), then you rung has to look like this:

MyInput->InvertSignal->ULED1200

save it, and then MAKE SURE you then RELOAD all Brains from the Brain control, then make SURE you enable it, THEN view it.....

read the "Brains Users Guide" in the member docs, it explains all this.....

scott


Logged

Commercial Mach3: Screens (regular and flash), Wizards, Plug-ins, Brains, PLCs, Macros, ATC's, machine build, retrofit and Prototyping
http://sites.google.com/site/volunteerfablab/
ianion
Active Member

Offline Offline

Posts: 8


View Profile
« Reply #2 on: September 02, 2010, 01:26:51 AM »

Thank for reply.
Can you explain how you get an terminating comand ULED: *********X
When i select USERLED > USE LED NUMBER ( valid numbers are from 1000-2250) > and hit OK
This command create an OEMLED not ULED.
Exist an another way to get ULED comand?
Logged
poppabear
S S SYSTEMS, LLC
Global Moderator
*
Offline Offline

Posts: 1,690


Briceville, TN, USA


View Profile WWW
« Reply #3 on: September 02, 2010, 09:16:46 AM »

dont worry about that, it is a typo in the brains
Logged

Commercial Mach3: Screens (regular and flash), Wizards, Plug-ins, Brains, PLCs, Macros, ATC's, machine build, retrofit and Prototyping
http://sites.google.com/site/volunteerfablab/
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!