Experimental Physics and Industrial Control System
Rok Sabjan wrote:
Hello!
I'm dealing with some stepper motor control and would like to use
auxiliary outputs of the OMS 58 motor controller card for setting the
stepper driver to all windings off mode. Has this been attempted before?
I have looked into motor record, but was unable to find any
implementation of that functionality.
Do you think this is possible?
If I understand the question correctly, I believe that this is what we are
doing as standard with the motor driver subsystem which we have between the
OMS58 card and the motors at SLS. These were designed in-house. See:
http://www.sls.psi.ch/beamlines/ege/index.html
for a picture and a link to more information:
In the motor record, we have the following fields defined:
record (motor, "my_motor") {
...
field (INIT, "@DPM_ON@AN") <== turn on power monitoring
and turn off power to the
motors.
field(PREM, ";AF;") <== turn on power to the motors.
field(POST, ";AN;") <== turn off power to the motors.
...
}
Note that there's a bit of negative logic involved here, i.e. turning "off"
the auxiliary signal with "AF" actually turns the drive current on in our
setup!
Regards,
David
[email protected]
_/_/_/ _/ _/_/_/ Beamline Control Group, SLS Project
_/ _/ _/ Paul Scherrer Institute
_/_/ _/ _/_/ CH-5232 Villigen-PSI
_/ _/ _/ Tel: +41 56 310 3616
_/_/_/ _/_/_/ _/_/_/ Fax: +41 56 310 3294
- References:
- OMS 58 and auxiliary outputs Rok Sabjan
- Navigate by Date:
- Prev:
CA Put Logging bug fixing. Vladis Korobov
- Next:
Re: OMS 58 and auxiliary outputs Martin L. Smith
- 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:
OMS 58 and auxiliary outputs Rok Sabjan
- Next:
Re: OMS 58 and auxiliary outputs Martin L. Smith
- 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