Commit Graph

924 Commits

Author SHA1 Message Date
Peter Denison 4ec6add67e Added code to implement forcedCallback 2008-05-22 17:08:38 +00:00
Peter Denison 1d91dab01a Several changes to drvXPSAsyn.c. Implemented setting position in
motorAxisSetDouble (for both single XPS axes and XPS groups), implemented
setting PID parameters in motorAxisSetDouble, implemented setting of following
error status flag in the poller task, added two new IOC shell functions - one
to disable the setting of position and one to change the epicsThreadSleep time
used when setting position. There are some new wrapper functions for the XPS
PID set/get functions (which are very verbose). Also implemented setting of
motion direction in the poller task - this is done by looking at the axis
velocity (there is also a new deadband #define for this).
2008-05-22 17:05:01 +00:00
Peter Denison c995a09ee3 Changed positioner error codes that are used to detect limit switch activation
from XPS controlled axes. The codes that were used before were codes for
positioner hardware status.
2008-05-22 17:00:15 +00:00
Peter Denison da18f8827f temporary fix for ftp communication to xps from fast machines. Previously it
was cutting the messages short, this fix waits for the xps to respond fully to
the FIRST command before continuing. This needs to be done properly in other
places
2008-05-22 16:56:30 +00:00
Peter Denison 4c2dff5408 bug fix in XPS driver, previously this only initialised the memory for string
arguments if this argument existed, causing junk to be sent down to the XPS,
sometimes overflowing its string buffer. This fix moves the memset command up
so this is done even for blank arguments
2008-05-22 16:49:15 +00:00
jsullivan-anl 8c9053a842 Added support for Alio Hexapod and Direct motion commands
Configured at startup via
	SPiiPlusConfig(0, "<asyn port>", "<command mode>")

Where command mode = "BUF","CON" or "DIR"  (see README file)
2008-05-21 21:18:53 +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 dce970eb15 Restore MAXv slew acceleration after STOP command. 2008-05-14 21:51:56 +00:00
Ron Sluiter 1ca26364b8 Added read commanded velocity to set_status(). 2008-05-14 16:42:52 +00:00
Ron Sluiter 54a8fb95f8 Fixed stop acceleration calculation; VBAS adjusted. 2008-05-14 16:37:41 +00:00
Ron Sluiter 8a3d37b3fd Missing "break" in special(). 2008-05-08 21:44:41 +00:00
MarkRivers 33c66fe674 Added ability to turn debugging on and off 2008-05-06 16:01:54 +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 defcc66c33 - asyn motor GET_INFO command support.
- SET_POS support.
- initial communication retries.
2008-04-02 19:51:03 +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 dd955ad111 Condition MotorSimSrc under ASYN. 2008-03-14 20:45:42 +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 cfb39b488a 64-bit compatiability. 2008-03-14 20:39:29 +00:00
Ron Sluiter 44e9e2f72a LP64 model compatiability. 2008-03-14 20:38:46 +00:00
Ron Sluiter 7e07d2df16 - 64-bit compatiability.
- changed IRS/task comm. mechanism from epicsRingPointer to epicsRingByte.
2008-03-14 20:36:10 +00:00
Ron Sluiter d657dda679 64-bit compatibility. 2008-03-14 20:23:45 +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 7a706d944e Conditional ASYN dependent files. 2008-02-28 21:42:58 +00:00
Ron Sluiter 537be929ae Added NTM and NTMF. 2008-02-28 17:47:52 +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 8b1975f3b9 Set "update delay" to zero. 2008-02-27 22:55:31 +00:00
Ron Sluiter 768abf2e00 Reformatted; tabs -> spaces. 2008-02-27 22:54:38 +00:00
Ron Sluiter 0edf739290 Replaced logMsg calls with epicsInterruptContextMessage calls in ISR. 2008-02-27 22:25:39 +00:00
Ron Sluiter 4c84182085 Conditional ASYN dependent files. 2008-02-27 17:05:10 +00:00
Ron Sluiter 32c89e7d28 Updated. 2008-02-27 15:24:42 +00:00
Ron Sluiter ece7572e29 Added "update delay" for 2.24-8S firmware. 2008-02-26 22:14:25 +00:00
David Kline d747d79e06 Removed unnecessary variants in asynCallback() and added notes. 2008-02-15 12:38:57 +00:00
Ron Sluiter 6a2629ad9a - LOAD_POS bug fix; restored "update_delay" for version 2.35 firmware.
- switched to logMsg in ISR for VxWorks target.
2008-02-14 19:31:47 +00:00
Ron Sluiter d28b6e05e4 Post RVEL changes. 2008-02-14 16:30:15 +00:00
MarkRivers ee05d2c936 Fixed bugs in absolute and hybrid modes with speed and timing of output pulses 2008-01-11 23:33:44 +00:00
MarkRivers 04a079cd62 Build on Windows 2008-01-11 21:53:24 +00:00
MarkRivers 271d25f008 Changed strtok_r to epicsStrtok_r and int8_t to epicsInt8 for portability to Windows 2008-01-11 21:53:05 +00:00
Ron Sluiter bd398a0228 Clarify RS232 vs. RS485 support. 2007-11-30 18:56:20 +00:00
MarkRivers 2cd4f8f442 Added static keyword to sendOnly and sendAndReceive 2007-11-29 19:35:18 +00:00
Ron Sluiter aa50c6ccb6 Start 2007-11-27 18:01:17 +00:00
Ron Sluiter 97fe8bad88 Added Kohzu. 2007-11-27 17:59:24 +00:00
Ron Sluiter d86b76b6bf Set VBAS before jogging. 2007-11-27 17:53:42 +00:00