umvr / umvr will not show any error if motor is on limit
Reporduce in the lab with motor1 and its positive limit:
FSCANTEST [7]: mvr(mot1, 5.)
Moving mot1 from 11.8900 to 16.8900
Axis mot1 stopped at position 14.0400
!!! === AxisOnLimitError: mot1: READY (Axis is READY) | LIMPOS (Hardware high limit active) | SCLIMPOS (positive limitswitch reached) | FAULT (Error from controller) at 14.04 === !!! ( for more details type cmd 'last_error(6)' )
FSCANTEST [8]: mot1.position
Out [8]: 14.04
== Motor is on limit at 14.04 ==
FSCANTEST [9]: mvr(mot1, -1)
Moving mot1 from 14.0400 to 13.0400
== Get out of limit then move to hit it ==
FSCANTEST [10]: umvr(mot1, 2.)
Moving mot1 from 13.0400 to 15.0400
mot1
user 13.9550
dial 13.9550
== should raise an exception for limit positive ==
FSCANTEST [11]: mvr(mot1, 2.)
Moving mot1 from 13.9550 to 15.9550
Axis mot1 stopped at position 13.9550
!!! === RuntimeError: Cannot move axis 1: Limit switch + is active (check http://wikiserv.esrf.fr/bliss/index.php/ICETIPS) command sent was: b'MOVE' === !!! ( for more details type cmd 'last
== mvr properly raise exception ==
Edited by Emmanuel Papillon