Ron Sluiter
66398a7b17
RMOD field added for arthmetic and geometric sequence retries.
2008-11-19 21:07:10 +00:00
Ron Sluiter
8ee5ccdc65
- RMOD field added for arthmetic and geometric sequence retries.
...
- post changes to TWF/TWR.
- ramifications of ORing MIP_MOVE with MIP_RETRY.
2008-11-19 21:06:43 +00:00
Ron Sluiter
378a9e6597
More extensive bit field tests.
2008-11-19 21:04:30 +00:00
mp49
f8afb15c7d
In the status updates, removed the check for not needUpdate before processing the record. This fixes the odd state that motors sometimes get into at startup after having the values written down to the controller, where they do not update their positions, even if the underlying axis moves, unless they are processed first.
2008-11-14 15:18:38 +00:00
mp49
3d908ae91c
Added HOMED MSTA bit support to header files and Asyn layer.
2008-11-14 14:27:41 +00:00
mp49
7bbbc2e422
Set record into MAJOR STATE alarm if EA_SLIP_STALL or RA_PROBLEM is set. Fix for retry count bug.
2008-11-14 13:39:09 +00:00
Ron Sluiter
a5bc2554f8
scanOnce declaration changed in EPICS base R3.14.10
2008-10-15 18:04:27 +00:00
Ron Sluiter
454db2608a
Under some conditions, skip delay.
2008-09-22 19:49:46 +00:00
Ron Sluiter
1dc1700146
Visual C++ link errors on improper pdbbase declaration.
2008-09-09 21:25:47 +00:00
Ron Sluiter
781dc22517
Minor compiler error.
2008-06-04 21:56:30 +00:00
Peter Denison
4898679900
Add framework for deferred moves to asyn motor common driver layer
2008-05-20 15:39:58 +00:00
Peter Denison
bcce2174d8
Change initialisation order so that autosave is actually dependent on the
...
values read back from the controller for asyn motors.
2008-05-19 15:56:01 +00:00
Peter Denison
c235bb8b99
Add asynUInt32Digital interface support to asyn motors (allows bo & bi records)
2008-05-19 15:30:20 +00:00
Ron Sluiter
8a3d37b3fd
Missing "break" in special().
2008-05-08 21:44:41 +00:00
Peter Denison
ea063f5f73
Support externally initiated moves
...
* When processing, if moving and DMOV true then set DMOV false, set
post-process true (so that at the end of the move, the VAL/DVAL will be
updated) and set the internal state to a new MIP_EXTERNAL.
2008-04-29 15:45:00 +00:00
Ron Sluiter
e2861518b1
asyn motor GET_INFO command support.
2008-04-02 19:49:40 +00:00
Ron Sluiter
2e27086c90
asyn motor GET_INFO support update.
2008-04-02 19:48:23 +00:00
Ron Sluiter
1dc76c3431
Set DRBV based on RRBV only if URIP = NO.
2008-03-26 15:59:22 +00:00
Ron Sluiter
ae0e3ba75f
Condition build with ASYN.
2008-03-14 20:59:55 +00:00
Ron Sluiter
426f6c1e83
- 64-bit compatability.
...
- added printChIDlist() to iocsh.
2008-03-14 20:42:16 +00:00
Ron Sluiter
e392257464
epicsRingPointer.h not used.
2008-03-14 20:41:02 +00:00
Ron Sluiter
c5d01da909
Changed backlash distance (BDST) to ASL=0.
2008-03-11 16:20:40 +00:00
Ron Sluiter
a7b6e2b75a
ASL changes.
2008-03-07 18:47:22 +00:00
Ron Sluiter
951431095e
- Prevent multiple LOAD_POS actions due to STUP's.
...
- Remove redundant DMOV posting from special().
- NTM logic is restored to using feedbacks.
- NTM deadband factor (NTMF) added.
2008-02-28 17:44:23 +00:00
Ron Sluiter
8c6e56ed4b
Added NTM Deadband Factor (NTMF) field.
2008-02-28 17:31:07 +00:00
Ron Sluiter
d28b6e05e4
Post RVEL changes.
2008-02-14 16:30:15 +00:00
Ron Sluiter
d86b76b6bf
Set VBAS before jogging.
2007-11-27 17:53:42 +00:00
Peter Denison
387057ca3d
Add some missing status returns to avoid spurious error messages
2007-11-23 13:47:00 +00:00
Peter Denison
aea806e9d9
Use absolute value of MRES in NTM stop calculation
2007-11-23 13:43:19 +00:00
Ron Sluiter
ffc234d0d0
- relative moves only if RTRY != 0.
...
- NTM logic uses reference positions.
- Don't post process previous move on "tdir" detection.
2007-11-07 18:54:13 +00:00
Peter Denison
e5b9987b95
Use absolute value of MRES to calculate rdbdpos, to avoid erroneous motor moving
...
states.
2007-11-02 14:39:59 +00:00
Ron Sluiter
82ce776c03
Raised the precedence of INIT string in motor_init_record_com()
...
for controllers (PI C-848) that require an INIT string primitive
before a LOAD_POS can be executed.
2007-10-17 19:09:33 +00:00
Peter Denison
98f2ba3854
Improve error reporting e.g. with bad axis number
2007-09-20 10:34:47 +00:00
Peter Denison
4e83896390
Fix behaviour of motorUtil in the face of incorrect prefix. Now does not
...
call ca_task_exit() unless it is ending the task.
Do not use epicsThreadSuspendSelf(), but instead wait on an event, in
soft_motor_task() and motorUtil_task(), to avoid suspended threads.
2007-09-19 15:57:41 +00:00
Peter Denison
dd8934bbda
Correct initialisation order in devMotorAsyn.c to make sure autosaved values
...
get picked up as the initial motor position, val, dval, rbv, etc
Fix initialisation of motors on Linux with autosave (was trying to lock a
previously-destroyed mutex)
2007-09-18 12:41:59 +00:00
Ron Sluiter
95f99a1f07
Fix for motorUtilInit()'s PVNAME_SZ error check using an uninitialized variable.
2007-05-10 20:14:21 +00:00
MarkRivers
bc7d0bb2a8
Removed status argument from interrupt callbacks
2007-04-23 20:39:20 +00:00
MarkRivers
25d699eb73
Removed status argument from interrupt callbacks
2007-04-23 20:32:04 +00:00
MarkRivers
30f24d531c
Added status argument in callbacks
2007-04-17 21:08:44 +00:00
MarkRivers
99438abc45
Added status argument in callbacks; deleted unused resolution variable
2007-04-17 21:05:42 +00:00
MarkRivers
9556f74d93
Added status argument in callbacks; deleted setDefaults prototype
2007-04-17 21:05:13 +00:00
Ron Sluiter
cf984d501f
MR's bug fix for RDBD was being used before the validation check.
2007-04-06 18:37:38 +00:00
timmmooney
3bb06091a6
allocate space for trailing null in motor list
2007-03-20 18:51:30 +00:00
Ron Sluiter
ea98363785
Clear home request when soft-limit violation occurs.
2007-03-16 20:30:41 +00:00
Ron Sluiter
5d4b875851
Reformat; tabs -> spaces.
2007-02-27 17:44:06 +00:00
Ron Sluiter
56680be0dd
Bug fix for negative controller positions not handled correctly.
2007-02-27 17:22:49 +00:00
MarkRivers
4a1236f6c9
Added asynPrint for debugging
2007-02-13 22:02:18 +00:00
Peter Denison
a55bcdcb49
Documentation updates
2007-02-03 12:14:48 +00:00
Peter Denison
b40820e90b
Enabled autosave on asynMotor to restore DVAL after power cycle by writing new
...
init_controller routine and calling LOAD_POS
2007-02-03 12:07:17 +00:00
Peter Denison
ae87fbc0fb
Remove a few compilation warnings
2007-02-03 12:01:49 +00:00