Machsupport Forum

Mach Discussion => Brains Development => Topic started by: codegrush on December 12, 2009, 12:32:26 AM

Title: Detecting Fwd and reverse of Axis
Post by: codegrush on December 12, 2009, 12:32:26 AM
Hi, I'm trying to detect when my A axis if moving forward or reverse. when moving forward it will actuate a solenoid valve and in reverse it will actuate a different valve and only when it is moving.

I'm new to brains but can someone help me with this? I don't see a dro for direction in the variable list.

Thanks,
  David P
Title: Re: Detecting Fwd and reverse of Axis
Post by: spunk on December 18, 2009, 05:47:44 AM
same here.

is there a way to actually use the status of the Cdir pin in brains?

would come in handy for me...
Title: Re: Detecting Fwd and reverse of Axis
Post by: sunmix on January 07, 2010, 03:47:40 AM
i did try using brains.

you can compare X AXIS DRO using brains.