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
Peter Denison
2ae483963c
Remove erroneous setting of defaults at initialisation
...
Force setting of ASYN_CANBLOCK flag and remove can_block option, as the
callback mechanism *requires* that we be asynchronous, or we'll deadlock
2007-02-02 16:21:05 +00:00
Peter Denison
239965f564
Fix units on JVEL, HVEL and JAR fields
2007-02-02 16:13:43 +00:00
Peter Denison
dd70de868d
Fixed PV name lengths in motorUtil and motorUtilAux for 3.14 values
2007-02-02 13:58:58 +00:00
Peter Denison
0cbeb1cf74
second part of fix for limits when MRES -ve
...
When changing user limits, depend on both DIR and sign of MRES
2007-02-02 13:55:34 +00:00
Peter Denison
30fc158af1
Added encoder position to status TRACEIO asynPrint call
2007-02-02 13:50:46 +00:00
Peter Denison
748de06f19
Force an update after a new callback is added
2007-02-02 13:46:14 +00:00
Ron Sluiter
a35e8fd083
R6-1
2006-12-18 20:13:31 +00:00
MarkRivers
0fc9bd1229
Added support for int32 callbacks in general case
2006-09-06 15:44:35 +00:00
Peter Denison
c54e52644b
Oops - copy structures explicitly instead of relying on gcc extension
...
Changed round function to floor(x+0.5) since we seem to be picking up the wrong definition of round()
2006-09-06 12:27:47 +00:00
Peter Denison
ede6b73b0e
Fix 'not ready' error by removing needUpdate=1 on MotorStatus
...
use MotorStatus interface for all status calls
add start position to motor simulator
2006-08-10 08:12:47 +00:00
Peter Denison
2965527681
Implement locking to prevent race condition where periodic status can
...
arrive before a sent move command has reached the controller
2006-07-20 17:10:37 +00:00