Ron Sluiter
79ad5810f6
MRP's fix for motor simulator stuck in Moving state after multiple LOAD_POS
...
commands to the same position; set needUpdate = 1 in asynCallback() before
dbProcess.
2009-05-01 17:55:28 +00:00
Ron Sluiter
4c7f24c1e6
Move preprocessor assertions to the end to avoid MSVC compiler errors.
2009-04-27 14:28:42 +00:00
Ron Sluiter
10dd6744ff
Clear moveRequestPending.
2009-04-24 17:22:38 +00:00
Ron Sluiter
2bd8b43dc3
Can't call dbProcess before dbScanLockOK.
2009-04-24 17:20:45 +00:00
Ron Sluiter
d8473b91c6
- Prevent moveRequestPending being left nonzero after LOAD_POS command.
...
- Minor compiler warnings eliminated.
2009-04-15 18:36:18 +00:00
Ron Sluiter
0b3032b96b
- fix multiple STOP commands.
...
- fix for no backlash after new target position.
2009-03-24 18:41:34 +00:00
Ron Sluiter
dc074e670b
Reformat; tabs -> spaces. No code changes.
2009-02-19 15:20:30 +00:00
Ron Sluiter
a2843f4b45
Adds the SET_POSITION case to the moveRequestPending logic.
2009-02-09 19:51:34 +00:00
Ron Sluiter
8886820adb
motor_task() always checks for incoming messages.
2009-02-05 19:19:29 +00:00
Ron Sluiter
a7716130a3
- R6-5
...
- Reformat; tabs -> spaces.
2008-12-05 17:07:44 +00:00
mp49
16198f3684
Called dbProcess instead of pmr->rset->process to aid debugging.
2008-12-01 12:18:35 +00:00
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