Hello Guest it is March 28, 2024, 01:00:14 PM

Author Topic: Using a DRO in a Brain  (Read 8297 times)

0 Members and 1 Guest are viewing this topic.

Using a DRO in a Brain
« on: August 07, 2008, 07: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?

Offline poppabear

*
  • *
  •  2,235 2,235
  • Briceville, TN, USA
    • View Profile
Re: Using a DRO in a Brain
« Reply #1 on: August 07, 2008, 08: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
fun times
Re: Using a DRO in a Brain
« Reply #2 on: August 08, 2008, 09:51:13 AM »
Thanks Scott, I figured out that I need to enable the brain if I actually want it to work.

Roger
Re: Using a DRO in a Brain
« Reply #3 on: April 26, 2014, 04:14:34 PM »
please how to write a macro and brain that will compare the current position of the x and y axes that use the bending machine with a default position that if the current position in the range of + - 50mm of default at the time when I have INPUT 1 one active program stops and activates OUTPUT 1
greeting
Re: Using a DRO in a Brain
« Reply #4 on: June 02, 2014, 08:30:38 AM »
Post this to educate people who want to really study it.