Welcome, Guest. Please login or register.
Did you miss your activation email?
May 24, 2012, 08:27:48 PM

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

Offline Offline

Posts: 60


View Profile
« on: July 16, 2009, 03:13:04 PM »

What is the OEM code to write text to the "Status" area located at the bottom of Mach's Program-Run screen?
Logged
poppabear
S S SYSTEMS, LLC
Global Moderator
*
Offline Offline

Posts: 1,707


Briceville, TN, USA


View Profile WWW
« Reply #1 on: July 17, 2009, 07:17:50 PM »

you cant do it directly with a Brain.

you will need to have your message in something like Macropump, and have it watch an input or other event that is driven via the Brian (or macropump), and when that event happens, have it post your message. (note you will need to do an interlock in Macropump so that it will only send the message once).

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/
Kently
Active Member

Offline Offline

Posts: 60


View Profile
« Reply #2 on: July 18, 2009, 12:15:16 AM »

Thank you for the reply.

I read your user guide for Brains which was very helpful.
 
I have another question. I'd like to update a local brain variable with an encoder DRO value only when  another condition exists. The other condition is the status of an ouput signal. Basically I am trying to do an IF statement. If the output is high, then update the brain variable with the encoder DRO vlaue; otherwise leave the variable at the same value it was before. I don't really see how to logically combine two rows and have the output of that combination some value other than the logical combination of the two inputs. I think I am trying to do more than what a brain is designed to do.

Thanks,
Kent
Logged
poppabear
S S SYSTEMS, LLC
Global Moderator
*
Offline Offline

Posts: 1,707


Briceville, TN, USA


View Profile WWW
« Reply #3 on: July 19, 2009, 04:52:45 PM »

your correct
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!