Hello Mark,
> What about changing your calcout record so that is still CP on DMOV,
> but it writes 1 to the output whenever DMOV is 1. Then you are not
> limiting yourself to transitions (which you might have missed), but
> you are saying "whenever DMOV changes and is 1 set the output gate".
This works indeed :-) At least it passed all test cases I have put
together so far...
Thanks a lot.
Martin
P.S.: For everyone that runs into the same issue I attach the complete
implementation of the DMOV logic I have between the hard and soft motor
records. Maybe it makes sense to add this to the motor record website.
Attachment:
done moving logic for multi-axis motor setups with hard and soft motors.png
Description: done moving logic for multi-axis motor setups with hard and soft motors.png
- References:
- Re: motor record: soft motor & DMOV Konrad, Martin
- Navigate by Date:
- Prev:
Re: Multiple patterns/ .sub files for the same .db file Andrew Johnson
- Next:
Re: race condition with calcout & CA input links? Andrew Johnson
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
<2013>
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
RE: motor record: soft motor & DMOV Mark Rivers
- Next:
New edm widgets Young, James R.
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
<2013>
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|