Machsupport Forum
Mach Discussion => Brains Development => Topic started by: rkowash 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?
-
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
-
Thanks Scott, I figured out that I need to enable the brain if I actually want it to work.
Roger
-
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
-
Post this to educate people who want to really study it.