Commit Graph
46 Commits
Author SHA1 Message Date
Matthew Pearson 9eb3a6d8e7 Clear the problem bit in MSTA as part of the home function.
This fixes a problem introduced in the motor record to do with issuing stops when the record has the RA_PROBLEM bit set. This broke the home function for the XPS controller, because we have to re-home from a problem state. The motor record was issuing a stop as soon as the home function completed, causing the home procedure on the XPS to fail.
2016-04-05 15:22:41 -04:00
Mark Rivers 441f36e737 Comment out setting PCO min/max parameters from readback; does not work if there is a non-zero value for EncoderIndexOffet 2016-02-09 12:13:08 -06:00
Torsten Bögershausen 532afdc5a0 Remove all lines with svn keywords
They have no meaning in Git, are not updated and may cause unwanted diffs when
otherwise nothing is changed in a file
2015-11-23 08:23:12 +01:00
MarkRivers 368eca3925 Fixed location of epicsExport to build on Cygwin 2015-05-06 16:47:20 +00:00
MarkRivers 85013c6fa0 Fixed error 2015-03-21 22:18:54 +00:00
MarkRivers 627b5c1191 Fixed error 2015-03-21 22:11:41 +00:00
MarkRivers 01da70ef67 Swap min and max in both set and get for position compare 2015-03-21 22:05:02 +00:00
MarkRivers 8049aeffd2 Improve error messages 2015-03-21 21:43:05 +00:00
MarkRivers 3b49d165fd Fix bug with min and max positions 2015-03-21 21:38:56 +00:00
MarkRivers a73b3807fa Changed position compare functions to work in motor record units 2015-03-21 21:19:19 +00:00
MarkRivers baa95cebbd Bug fix 2015-03-21 19:53:12 +00:00
MarkRivers 78fb30d1c4 Don't print messages on expected errors 2015-03-21 19:43:59 +00:00
MarkRivers 7672a49cbd Fixes for position compare 2015-03-21 19:09:14 +00:00
MarkRivers 1de829fa53 Fixed for position compare 2015-03-21 18:21:55 +00:00
MarkRivers 1801adfc16 Added support for AquadB modes to position compare; fixed bug with missing axisNo_ argment to getIntegerPaeram 2015-03-21 17:43:55 +00:00
MarkRivers 57bf44260e Changed set/getPositionCompare API 2015-03-11 20:02:03 +00:00
MarkRivers 70023fd533 Added PositionCompare functionality 2015-03-11 16:35:17 +00:00
MarkRivers 70f35f6a3a Fixes to work with epicsShareClass for Windows DLLs 2014-03-12 18:21:21 +00:00
MarkRivers f8c804c45d Made shutdown be void 2013-12-10 17:28:50 +00:00
mp49 1409d6323f XPSController and XPSAxis: moved some defines from the source file to the header file in XPSController. Added support for reading the XPS positioner status string in XPSAxis, and adding it to the parameter library. 2013-07-18 19:59:06 +00:00
mp49 03f345a61c newport model 3 driver: reverted back to the old definition of moving axis in the poller in XPSAxis.cpp. I made the new method, of checking the socket return value, an option which is enabled by using a new function called XPSEnableMovingMode. Also added the ability to run a TCL script. This may become a generic function in the base classes later on. Added a Db template to set and execute a TCL script. 2013-07-12 14:31:22 +00:00
MarkRivers 06d22f3e89 Improved error message on enableSetPosition error 2013-04-25 23:20:40 +00:00
MarkRivers 911e7a0015 Changed logic for determining move complete so it works with multi-axis groups. Previously it used GroupStatusGet, which only says the group is moving. Now it looks for the response on the moveSocket_, which will happen when the axis gets done 2013-03-13 19:51:45 +00:00
MarkRivers 0269d5e5f6 Changes to allow dynamic building on WIN32; fix missing arguments in asynPrint 2013-02-18 20:52:09 +00:00
MarkRivers 10b8775a06 Minor changes to avoid compiler warnings 2012-12-06 22:22:51 +00:00
MarkRivers 9658330a3f Call ReadXPSSocket in poll, which will ultimately be used to flag done 2012-07-06 19:48:30 +00:00
MarkRivers 2913f6b6df Fix to use object's own pasynUser_ 2012-03-02 17:28:03 +00:00
MarkRivers 50f738967c Added new methods: report(), setLowLimit, setHighLimit, setPGain, setIGain, setDGain, setClosedLoop; the code for these functions was moved from XPSController::writeInt32 and writeFloat64 2012-03-01 20:11:34 +00:00
MarkRivers 5fb11a1e4b Fixed typo in comment 2011-09-16 20:42:54 +00:00
mp49 a06652242b motor: implemented moveToHome in asyn model 3 XPS driver. 2011-07-29 17:41:30 +00:00
mp49 12d5e53ee8 motor: XPS model 3 driver. Added code to poller to check for error states. Added function to disable MSTA problem bit when in state 20 (disabled state). 2011-07-29 10:46:56 +00:00
mp49 3a65e1060d motor: XPS model 3 driver. set the motorStatusHome and motorStatusHomed MSTA bits correctly. Also added in support in the driver to keep track of referencing mode. 2011-07-29 10:30:32 +00:00
mp49 48e99a40e6 motor: XPS model 3 driver. added limits monitoring to poller. This is useful for when the limits can change on the controller. A seperate set of records is needed to monitor the Asyn parameters and set the motor record limits accordingly. 2011-07-29 10:28:10 +00:00
mp49 f513da466f motor: XPS model 3 driver. removed dealing with jog mode in poller, as we no longer need this now we are stopping the group in the stop function. This means jog mode works with MultipleAxis groups too. Also fixed the stop function so that it works when homing and when in trajectory mode. Also fixed some doxygen comments. 2011-07-29 10:26:38 +00:00
mp49 47e834f337 motor: XPS model 3 driver. modified the home function so that we can do a rehome from states 50 and 63. 2011-07-29 10:23:09 +00:00
mp49 bc55ee3725 motor: XPS model 3 driver. bug fix for code to disable auto enable of an axis. 2011-07-29 10:21:33 +00:00
mp49 64a0a58c73 motor: XPS model 3 driver. added 50ms sleep to setPosition function before the call to GroupReferencingStop(). This seems to be needed by some types of axes, eg. spindle group axes. 2011-07-29 10:19:47 +00:00
mp49 de4040d181 motor: added shell function to XPS model 3 driver to disable auto enable of axes when attempting a move. This is done on a per controller basis. Call XPSDisableAutoEnable(port) at the shell. 2011-07-29 10:17:08 +00:00
MarkRivers d131db5b2f Bug fix fetching numReadbacks 2011-04-08 03:49:49 +00:00
MarkRivers 821fb66bf8 Added readbackProfile; changed poll to use bool 2011-04-07 03:33:44 +00:00
MarkRivers e4ed2514b7 Worked on support for profile moves 2011-04-05 22:47:12 +00:00
MarkRivers a8339b01bf Remove global variables for setPosSleepTime and doSetPosition; now variables in XPSController class, can be set by iocsh calls 2011-04-05 02:01:19 +00:00
MarkRivers 331df7ab50 Removed Wtapper from function names; added defineProfile 2011-04-04 18:37:45 +00:00
MarkRivers a23fd62d40 Added epicsAtExit logic to stop polling when shutting down 2011-04-03 19:01:06 +00:00
MarkRivers 917bb6c06d Changed functionName 2011-04-02 15:03:22 +00:00
MarkRivers f28b5252dc Broke XPSMotorDriver into XPSController and XPSAxis 2011-04-01 20:27:03 +00:00