Hello Guest it is April 25, 2024, 12:20:34 PM

Author Topic: User LED and Brain  (Read 7824 times)

0 Members and 1 Guest are viewing this topic.

User LED and Brain
« on: September 01, 2010, 03: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?

Offline poppabear

*
  • *
  •  2,235 2,235
  • Briceville, TN, USA
    • View Profile
Re: User LED and Brain
« Reply #1 on: September 01, 2010, 07: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


fun times
Re: User LED and Brain
« Reply #2 on: September 02, 2010, 02: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?

Offline poppabear

*
  • *
  •  2,235 2,235
  • Briceville, TN, USA
    • View Profile
Re: User LED and Brain
« Reply #3 on: September 02, 2010, 10:16:46 AM »
dont worry about that, it is a typo in the brains
fun times
Re: User LED and Brain
« Reply #4 on: July 12, 2012, 10:07:03 PM »
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.....



------------------------------------------------------------------
Rc Hobby|Rc Helicopter Reviews|Rc Helicopter