Welcome, Guest. Please login or register.
Did you miss your activation email?
May 28, 2012, 01:53:13 PM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  Brains Development
| | |-+  Using a DRO in a Brain
Pages: 1   Go Down
Print
Author Topic: Using a DRO in a Brain  (Read 1286 times)
0 Members and 2 Guests are viewing this topic.
rkowash
Active Member

Offline Offline

Posts: 32


View Profile
« on: August 07, 2008, 06:01:01 PM »

I am trying to use a Y axis DRO to trigger clamps to release.  What I would like is to watch the DRO, and when it is between 10 and 20 inches from Z, to release an air cylinder (over ModIO).  I have control of the cylinder in a different brain.

I set up a brain that uses the Y axis DRO, then a >10, then a <20, then a NOP, then the modio address.  When I watch it and move the axis, the DRO value doesn't change.

Any thoughts?
Logged
poppabear
S S SYSTEMS, LLC
Global Moderator
*
Offline Offline

Posts: 1,707


Briceville, TN, USA


View Profile WWW
« Reply #1 on: August 07, 2008, 07:18:04 PM »

Yea, simple solution.

an example brain is attached.

but

YDro>compare(>10)
                               >AND these two drocompares>Output(x)
YDro>compare(<20)

See attached Brain,

Scott

* YtriggerCylinder.brn (2.47 KB - downloaded 183 times.)
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/
rkowash
Active Member

Offline Offline

Posts: 32


View Profile
« Reply #2 on: August 08, 2008, 08:51:13 AM »

Thanks Scott, I figured out that I need to enable the brain if I actually want it to work.

Roger
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!