Commit Graph

1899 Commits

Author SHA1 Message Date
MarkRivers 3950116f6f Added implementation of asynMotorController::report.
It calls the report function for each axis, and then the base class asynReportDriver::report.

asynMotorController::writeInt32 and writeFloat64 now call the appropriate new axis functions 
(e.g. setHighLimit, setPGain) etc. for those functions.  

asynMotoroController::writeInt32 can call the new controller function setDeferredMoves.  
There is a base class implementation of setDeferredMoves.  
This currently does nothing, but in the future it could implement deferred moves for 
those controllers that simply need to issue a move to each axis.
2012-03-01 19:51:07 +00:00
MarkRivers c17d17cde1 Added new methods: report() and seDeferredMoves() 2012-03-01 19:41:18 +00:00
MarkRivers c1a3aef8fd Changed spelling of motorXGain and motorClosedLoop parameters 2012-03-01 19:39:19 +00:00
MarkRivers b49a1f2285 Added implementation of new methods, e.g. setHighLimit, setPGain, etc.; changed all dummy methods to return asynSuccess rather than asynError, so derived classes don't need to implement them 2012-03-01 19:38:02 +00:00
MarkRivers 6334229b98 Added a number of new methods, e.g. setHighLimit, setPGain, etc. 2012-03-01 19:34:00 +00:00
MarkRivers eee1820445 Changed spelling of motorXGain and motorClosedLoop parameters 2012-03-01 19:30:18 +00:00
MarkRivers 69a2d6ea8b Set CARD to 0 for INST_IO device support (e.g. asyn) 2012-03-01 19:26:31 +00:00
MarkRivers 054a97a44c New version from Hytec 2012-02-29 18:53:00 +00:00
MarkRivers 285dd4a1c3 Fixed problem: IP ports were being created with NoAutoConnect flag, so they did not autoconnect when XPS was power-cycled 2012-02-17 20:20:59 +00:00
MarkRivers 6fcffdd57a Some changes to what Tim added 2012-02-17 20:20:10 +00:00
MarkRivers 68737fa0c8 Removed iostream function calls, don't exist on vxWorks-68040 2012-02-11 00:01:30 +00:00
MarkRivers 5af8dc064d Removed iostream function calls, don't exist on vxWorks-68040 2012-02-11 00:00:59 +00:00
Ron Sluiter 43fe29315d - "PR PN" response overflows input buffer; increased BUFF_SIZE from 13 to 80 bytes.
- Slow "PR PN" response; increased timeout from 1 to 2 sec.
 - Extra "\r\n" from "PR PN" response; buffer flush added.
 - Eliminate compiler warnings on MDrive_axis[].
2012-02-07 17:45:26 +00:00
Ron Sluiter cca883b68f Replace stepSize 2012-02-02 18:29:20 +00:00
timmmooney 2601f36507 Added some info on the files in this directory. 2012-01-31 22:49:55 +00:00
timmmooney 37f46558cf Added some info on the files in this directory. 2012-01-31 22:45:07 +00:00
timmmooney e52d1301f2 2012-01-31 22:28:53 +00:00
timmmooney db2a93252c 2012-01-31 22:26:27 +00:00
MarkRivers bdce535676 Fixed error in TRAJECTORY_DIRECTORY; initialize movesDeferred to 0; improved report() function 2012-01-13 00:22:16 +00:00
Ron Sluiter e50b51d616 Changed the example MAXv ISR interrupt vector to 200 (avoid sharing vector with OMS VME58). 2012-01-09 20:57:30 +00:00
Ron Sluiter e3c69c4441 Restored home search using HomeAsync.abx vendor program. 2011-12-22 20:24:19 +00:00
Ron Sluiter 86abff6400 Added SYNC target to feedback button 2011-12-22 20:08:01 +00:00
Ron Sluiter f6381302d5 Bug fix for jog not terminating; must check both PLANESTATUS and AXISSTATUS for move_active. 2011-12-15 19:21:27 +00:00
Ron Sluiter d71dfcdee8 R6-7 update. 2011-12-01 20:29:32 +00:00
Ron Sluiter fbd552c62b In order to support SCURVE trajectories; changed from MOVE[ABS/INC] to LINEAR move command. 2011-12-01 18:23:53 +00:00
Ron Sluiter 910c5e350f Ensemble 4.x compatibility. 2011-11-30 20:49:02 +00:00
Ron Sluiter 9b98584b63 - 8 axis with max. precision can overflow comm. buffers; increased buffer size from 100 to 160 bytes.
- Wait for power on status response after sending motor power on command.
2011-11-29 22:12:30 +00:00
Ron Sluiter a491da41f4 Changed diagnostic message macro 'Debug' to Mark Rivers inline variable argument function calls. 2011-11-29 21:52:25 +00:00
Ron Sluiter 5da19bdf31 - Patch from Kenneth Lauer (BNL).
- Changed diagnostic message macro 'Debug' to Mark Rivers inline variable argument function calls.
2011-11-29 21:35:36 +00:00
Ron Sluiter ee795dfa1f Changed diagnostic message macro 'Debug' to Mark Rivers inline variable argument function calls. 2011-11-29 20:50:00 +00:00
Ron Sluiter d007745eee - Set MAXv motor type at boot-up.
- Use MAXv motor type to support MRES and ERES with different polarities.
- Fix SSI bit flag registration.
2011-11-04 18:20:09 +00:00
Ron Sluiter 370d0fe2dc Document SSI based absolute encoder bit flag argument to MAXvConfig() call. 2011-11-04 18:15:34 +00:00
MarkRivers ff4b0a7bec Fixed binary input and binary output for asyn R4-18 2011-10-31 20:43:39 +00:00
Ron Sluiter fb3b4163ab Added standard registrar(OmsMAXvRegister); "trajectory" as an option. 2011-10-26 14:09:06 +00:00
Ron Sluiter 071db8d48d Restore "standard" MAXv driver as the default; "trajectory" as an option. 2011-10-26 14:06:15 +00:00
Ron Sluiter 9d900b586e Added PPC32 to MSB bit-field test. 2011-10-21 21:31:23 +00:00
Ron Sluiter bdbf61cf99 R6-7 update. 2011-10-20 21:50:45 +00:00
Ron Sluiter 05b412312a Use counter to prevent endless loop in send_mess() after VME58 reboot. 2011-10-20 21:38:58 +00:00
Ron Sluiter dbcf4bc2a9 - Disable soft travel limit error check during home search.
- Use home velocity (HVEL), base velocity (BVEL) and accel. time (ACCL) fields to calculate home acceleration rate.
2011-10-20 21:02:14 +00:00
mp49 2b058851b1 motor: fix for a race condition in the deferred moves in the XPS drivers. It is important to clear the deferred move flag for each axis after sending the move command to the controller, so that the poller thread cannot preempt the control thread between unsetting the flag and sending the move command. This was causing the occasional move to return early when using deferred moves. 2011-10-11 15:08:41 +00:00
Ron Sluiter c0385df9fc Out of date. 2011-10-04 14:34:02 +00:00
MarkRivers ff50cfcbf7 Fixed problems when the controller had multiple groups 2011-09-23 17:15:36 +00:00
MarkRivers 271138b101 Fixed PV names and improved appearance 2011-09-23 17:14:40 +00:00
mp49 3925deff0c motor: added a change to drvMAXv from Austin Rose. Implemented absolute encoder register interface and extra configuration parameter to MAXvConfig function call (supports SSI interface). 2011-09-23 15:42:04 +00:00
MarkRivers 51b8556485 Bug fix in readbackProfile - it was skipping over unused axes when it should not 2011-09-22 03:11:12 +00:00
MarkRivers 116319e65c Fixed PV names 2011-09-21 18:20:38 +00:00
MarkRivers a2cf8c90b0 Fixed typo in Direction record 2011-09-21 18:20:08 +00:00
MarkRivers 14d1f5914a Additional asynTrace statements for debugging 2011-09-20 01:53:32 +00:00
MarkRivers 152bd9f940 Skip soft-limit calculations for motors that are not involved in a profile move 2011-09-19 18:45:40 +00:00
MarkRivers f851939f16 Fixed PV names in plots for axes 3-8 2011-09-18 22:38:46 +00:00