Machsupport Forum
Mach Discussion => Brains Development => Topic started by: ianion 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?
-
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
-
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?
-
dont worry about that, it is a typo in the brains
-
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 (http://www.hobbycool.com/)|Rc Helicopter Reviews (http://rc-helicopters-reviews.com/)|Rc Helicopter (http://www.rchelicoptershops.com/)