Commit Graph
414 Commits
Author SHA1 Message Date
sluiter d52fe5ee2e Changed jog error checks from dial to user limits. 2016-02-19 11:14:53 -06:00
Torsten Bögershausen 532afdc5a0 Remove all lines with svn keywords
They have no meaning in Git, are not updated and may cause unwanted diffs when
otherwise nothing is changed in a file
2015-11-23 08:23:12 +01:00
prjemian 204515c143 Introduce end-of-line normalization 2015-10-16 12:31:42 -05:00
Ron Sluiter 82eb77fa19 Bug introduced with -r 19129; change made to eliminate call to maybeRetry() removed DMOV check. Restored DMOV check. 2015-07-30 16:56:08 +00:00
Ron Sluiter 3090983c31 Bug fix for target position (VAL/DVAL/RVAL) initialization error when the motor record is configured to do retries. 2015-07-29 15:50:23 +00:00
timmmooney ac900b9061 Make syncTargetPosition() correctly handle URIP=True 2015-07-28 17:15:06 +00:00
MarkRivers 102f74b584 Changed resolution, offset and direction parameters from being profile move parameters to being general parameters that any driver can have access to 2015-03-21 21:22:24 +00:00
MarkRivers 3188c16af6 Fixed typo in comment 2015-03-21 18:24:10 +00:00
Ron Sluiter 30d47b772d - UEIP can only be set true if the device/driver has set the MSTA EA_PRESENT indicator true.
- UEIP and URIP are mutually exclusive.
- RDBL sets RRBV rather than DRBV.
2015-03-13 20:29:07 +00:00
mp49 36dfab4a78 MotorSrc: add parameters to asynMotorController to deal with automatic amplifier control via setClosedLoop. The amplifier enable is done in the writeFloat64 function with a configurable delay, and the disable is implemented in the poller function in asynMotorController. Added utilty functions to asynMotorAxis. Also add a parameter to use in the derived classes for post move delays. An example of this has been implemented in the motorSimDriver.cpp. Add example database for automatic amplifier control. 2015-03-09 20:19:53 +00:00
Ron Sluiter 606957579d Fixed error reported by Alexander Söderqvist (Cosylab) when position command is to the same position that it is currently located, FLNK not processed. 2015-03-06 18:26:55 +00:00
Ron Sluiter 0ef39053aa - Fix for excessive FLNK processing reported by Alexander Söderqvist (Cosylab). Modified so that recGblFwdLink() is only called on a False to True transition of DMOV.
- Incremented VERSION # to 6.10.
- Updated comments.
2015-02-25 21:07:43 +00:00
Ron Sluiter 0054f45b32 Removed postProcess flag (pp) from LOAD_POS. Fixes bug where target positions were not updating.
Removed redundant postings of RMP and REP by moving them to device support's motor_update_values() and update_values().
 Fix for LOAD_POS not posting RVAL.
 Reversed order of issuing SET_VEL_BASE and SET_VELOCITY commands. Fixes MAXv command errors.
2014-09-11 15:37:22 +00:00
Ron Sluiter 95819d8a2a RMP and REP were being posted with same value. Moved CA posting of changes to the RMP, REP and RVEL fields from motor record to update_values(). 2014-09-11 15:28:26 +00:00
mp49 ea2616382d devMotorAsyn: always do SET_ENC_RATIO at the beginning of the init_controller function. This fixes an issue that was causing set position to fail in some cases. 2014-08-05 15:58:40 +00:00
Ron Sluiter 12ce2c552b Clear "forceCallback" before processing motor record (from params->callback) and only if forceCallback is ON.
(Fixes motor record left in the moving state (DMOV=0) after limit switch error reported by Andy Foster.)
2014-06-12 14:00:42 +00:00
Ron Sluiter db27747293 Jens Eden's mod to add EPICS_BYTE_ORDER to the logic of setting {MSB/LSB}_First. 2014-06-02 14:52:23 +00:00
Ron Sluiter 303a9208e3 - Set "stop" field true if driver returns RA_PROBLEM true.
- Increment version to 6.9
2014-05-23 15:39:57 +00:00
MarkRivers d6b6ec6187 Added profileMoveMode 2014-05-22 21:53:45 +00:00
MarkRivers ef90294671 Added profileMoveMode 2014-05-22 21:53:31 +00:00
MarkRivers a73fe0a869 Removed tabs; improved asynPrint debugging output 2014-05-06 18:31:56 +00:00
timmmooney 9a957fe7ce Ben Franksen's fix "set the RA_DONE flag when motor_motion is reset to NULL before callback is issued". This fixes a long-standing issue with OMS boards where occasionally the motor record hangs after a move against a limit switch, since it reads a wrong status where the RA_DONE flags is not set. 2014-04-02 17:52:06 +00:00
MarkRivers a466beeb2c Add destructor 2014-03-12 18:03:26 +00:00
MarkRivers 34b66342c0 Add epicsShareClass for Windows DLLs; add destructor 2014-03-12 18:03:13 +00:00
MarkRivers d141d7814b Add destructor 2014-03-12 18:02:51 +00:00
MarkRivers ff6aa306ec Add epicsShareClass for Windows DLLs; add destructor 2014-03-12 18:02:30 +00:00
kmpeters 0bf0cbd212 Modified motorUtil to also provide name of motor every time .DMOV field changes. This will allow smart clients to maintain a list of moving motors. 2013-11-13 21:43:36 +00:00
kmpeters d6c90868c7 Register listMovingMotors function so non-vxWorks iocs can use it. 2013-11-13 19:36:23 +00:00
mp49 e9e0eecd88 asynMotorAxis: added support for setting axis specific strings in the parameter library. 2013-07-18 19:55:05 +00:00
Ron Sluiter 506a03e8af Minor doc changes 2013-06-21 15:48:52 +00:00
Ron Sluiter 98452caf93 - bug fix for backlash using relative moves when RMOD = "In-Position".
- bug fix for "can't tweak in either direction near soft-travel limit".  No need in process() to test MIP_MOVE type moves for soft-travel limits.
 - Need "preferred_dir" for LVIO test. Moved LVIO test in do_work() to after "preferred_dir" is set.
2013-06-20 18:55:48 +00:00
Ron Sluiter 85511023e9 - Ignore RDBD on 1st move.
- Toggle DMOV on tweaks (TWF/TWR)that are < MRES.
- Remove soft travel-limit error checks from home search request.
- Moved synch'ing target position with readback to subroutine.
- Allow moving out of invalid soft limit travel range toward valid soft limit travel range.
- In-position retry mode for servos.
2013-06-17 14:31:34 +00:00
Ron Sluiter 8dfcc340fe Update svn:keywords and header docs. 2013-06-17 14:23:05 +00:00
Ron Sluiter bcb11ae5a7 Added asyn motor driver support for actual raw velocity (RVEL field). 2013-04-24 18:52:24 +00:00
Ron Sluiter 241f2f24b6 Reformatting only; tabs to spaces. 2013-04-24 18:44:23 +00:00
MarkRivers 39e9007f65 Fixed location of #include <epicsExport.h> to allow building on WIN32 dynamically 2013-02-18 19:31:17 +00:00
Ron Sluiter 807d8c1d98 Support for motor record raw actual velocity (RVEL). 2013-01-02 22:51:49 +00:00
kmpeters 964b585840 Modified devMotorAsyn.c so that moveRequestPending is incremented when jogging. 2012-12-21 19:30:11 +00:00
Ron Sluiter 2b55429c0c Commanded velocity not getting passed with INFO request by process_messages(). 2012-11-30 22:27:08 +00:00
Ron Sluiter 05759d3c51 Spelling error 2012-11-01 15:15:54 +00:00
kmpeters bc999c40c0 Modified motorUtilAux.cc to exclude aliased motors from list of motors to stop. 2012-10-24 22:30:31 +00:00
kmpeters 65b2508409 Modified motorUtil.cc to only stop motors that are actually moving.
This avoids problems when motor records with phase-1 drivers are loaded
but the associated drivers are not configured.
2012-10-24 21:33:44 +00:00
Ron Sluiter 5b7b186f39 Refix of DLY problem (retries not working). 2012-10-09 15:49:41 +00:00
MarkRivers c1a91c3863 Removed tabs 2012-10-09 14:40:34 +00:00
MarkRivers 4a753987b7 Improve debugging output by printing pasynUser->reason as well 2012-10-09 14:32:23 +00:00
mp49 13d616b139 motor: adding two IOC shell functions to asynMotorController to enable changing the polling rates at runtime via the IOC shell. 2012-08-03 15:00:49 +00:00
Ron Sluiter 09a6747dda Removed redundant recGblFwdLink() call. 2012-07-23 17:33:04 +00:00
Ron Sluiter 0c3fb57e03 Change the motor record's processing order of alarms, events and the forward scan link to conform with order specified in the "EPICS Application Developer's Guide". 2012-07-23 14:45:30 +00:00
mp49 63f3fe5ec9 motor: fixed delayed callbacks due to a non-zero DLY. There are two fixes here. One fixes the problem where a process due to device support causes the record to process and complete a put callback (before the DLY timer expired), and the other fixes the problem where there are no device support processes so that when the callback timer expires for DLY the record gets stuck because it didn't handle DMOV correctly, and also didn't do recGblFwdLink. 2012-07-13 13:11:21 +00:00
MarkRivers 66b62269ea Removed tabs, fixed whitespace 2012-07-03 17:13:33 +00:00