Commit Graph
429 Commits
Author SHA1 Message Date
sluiter 7493d50bc8 If URIP=Yes and reading RDBL causes LINK error, do not start a new target position move. 2018-04-10 14:30:50 -05:00
sluiter c1c4407644 Replaced invalid LT_EPICSBASE logic with working logic from SSCAN. Since EPICS_VERSION_INT defined in EPICSbase 3.15, added EPICS_PATCH_LEVEL argument. 2018-01-04 14:52:05 -06:00
klang a62c5e4e57 Further gcc errors reported 2017-11-21 16:49:37 -06:00
rsluiterandGitHub 220d18fcff Merge pull request #63 from rsluiter/master
Stop motor if URIP is Yes and RDBL read returns an error.
2017-09-13 13:45:04 -05:00
Mitch D'EwartandK Lauer b201e40ee3 Changed ACCL calculation when VELO == VBAS.
Previously ACCL was only calculated as (VELO-VBAS)/TIME.
This could cause problems for drivers setting ACCL=0.
Now if VELO == VBAS, ACCL = VELO/TIME.
2017-08-07 13:56:07 -07:00
sluiter db5da2f075 Stop motor if URIP is Yes and RDBL read returns an error. 2017-05-19 10:19:36 -05:00
ext-muir_jandGitHub 02612bad41 Fix motorApp/MotorSrc/README header dash lines
Make motorApp/MotorSrc/README header dash lines match length of header text.
2017-03-08 07:05:27 -06:00
Mark Rivers 38cfa6aedf Minor corrections 2017-03-07 13:41:32 -06:00
timmmooney 5cad105357 ignore SET field, so a database can do it instead 2017-01-12 11:09:55 -06:00
sluiter c970afbfe7 Reverted FLNK change. Except for the condition that DMOV == FALSE, FLNK processing was standard. 2016-09-28 16:07:59 -05:00
Keenan LangandGitHub ee4bddd761 Merge pull request #33 from keenanlang/master
Switch asynMotorAxis status_ and statusChanged_ to be protected
2016-08-25 13:41:20 -05:00
Vintar Rok 7ee34a791b Velocity, baseVelocity and acceleration read only when needed. Fix for #37 2016-08-22 09:59:03 +02:00
Keenan Lang ebe51c0ebb Reverted wrong change, this should get it back to what I wanted it to be. 2016-07-25 14:42:51 -05:00
Keenan Lang 40816ddc65 Revert "Switched motor status and statusChanged to be protected instead of private."
This reverts commit 36ff229c44b8273cd7c4967a13eb64a24f73d37d.
2016-07-25 14:38:38 -05:00
Keenan Lang 4494eb14be Switched motor status and statusChanged to be protected instead of private. 2016-07-25 14:32:44 -05:00
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