If you set your switches so that they both indicate a limit, what happens if you try to move in the plus direction? Does the motor move? Similarly, if you try to move in the minus direction, does the motor move? It should not move in either direction. If you try to move in the positive direction the HLS PV should be 1, and if you try to move in the minus direction LLS should be 1. If it moves in either direction then either your wiring is incorrect or the board is broken.
Mark
________________________________
From: [email protected] on behalf of junkes
Sent: Thu 5/12/2011 7:15 AM
To: [email protected]
Subject: Pro-Dex OMS MAXv card reading limit-switches
Using OMS MAXv-card i always get only the the state of the PLUS-LS
Never the MINUS_LS even if i change the wiring (PLUS-LS <-> MINUS-LS)
The switche input is low when hit
Motor-6.5
Regards,
Heinz
MSTA R Motor Status ULONG The motor status as received from the
hardware. The MSTA bits are defined as follows:
1. DIRECTION: last raw direction; (0:Negative, 1:Positive)
2. DONE: motion is complete.
3. PLUS_LS: plus limit switch has been hit.
4. HOMELS: state of the home limit switch.
5. Unused
6. POSITION: closed-loop position control is enabled.
7. SLIP_STALL: Slip/Stall detected (eg. fatal following error)
8. HOME: if at home position.
9. PRESENT: encoder is present.
10. PROBLEM: driver stopped polling, or hardware problem
11. MOVING: non-zero velocity present.
12. GAIN_SUPPORT: motor supports closed-loop position control.
13. COMM_ERR: Controller communication error.
14. MINUS_LS: minus limit switch has been hit.
15. HOMED: the motor has been homed.
The record is put into MAJOR STATE alarm if either SLIP_STALL or
PROBLEM bits are detected. If HLSV is set, then the record is put into
HIGH alarm if either a high soft limit or hard limit (PLUS_LS) has been
reached. Similary for the low limits.
- References:
- Pro-Dex OMS MAXv card reading limit-switches junkes
- Navigate by Date:
- Prev:
Pro-Dex OMS MAXv card reading limit-switches junkes
- Next:
Re: Pro-Dex OMS MAXv card reading limit-switches 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:
Pro-Dex OMS MAXv card reading limit-switches junkes
- Next:
Re: Pro-Dex OMS MAXv card reading limit-switches 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
|