Commit Graph

2682 Commits

Author SHA1 Message Date
Kevin Peterson beba85f7b2 Merge pull request #94 from shadowguy/master
Added I/O flush before first query (Micronix MMC-x00)
2018-04-27 10:34:19 -05:00
kpetersn 23b8c5f528 Corrected ANL EPICS URLs in travis-prepare.sh 2018-04-25 16:20:02 -05:00
rsluiter 6990911206 Merge pull request #95 from kmpeters/AMCI_ANF2
Added support for AMCI ANF controllers
2018-04-20 08:44:26 -05:00
Kevin Peterson ed95506bb1 Fix for building on Windows 2018-04-19 11:09:28 -05:00
kpetersn a827730f71 Updated the comment in the .h file. 2018-04-18 15:39:57 -05:00
kpetersn c13b1b43ab Added AMCI controllers to motorRecord.html 2018-04-18 15:32:43 -05:00
kpetersn 35f5cf0849 Minor improvements to README_ANF2.md 2018-04-18 15:26:49 -05:00
kpetersn 12c6237ef1 Added README_ANF2.md 2018-04-18 15:23:22 -05:00
kpetersn c5316018b9 Only require user to specify numAxes so any combination of controller modules can be used. 2018-04-18 14:41:19 -05:00
kpetersn 28a642cf79 Use the default IP address provided at the factory. 2018-04-18 11:42:30 -05:00
kpetersn 17a8fa08a9 Added ANF2 example config 2018-04-18 11:26:13 -05:00
kpetersn dad0f34037 Print somewhat helpful info in asyn traces. 2018-04-17 16:51:53 -05:00
sluiter 7493d50bc8 If URIP=Yes and reading RDBL causes LINK error, do not start a new target position move. 2018-04-10 14:30:50 -05:00
kpetersn a46564cc3c Initialize parameters to avoid asynTraceFlow errors. 2018-04-09 14:41:31 -05:00
kpetersn 2e49fb473d Removed unused getInfo() calls. 2018-04-09 13:25:40 -05:00
kpetersn 9b6764b0e0 Removed reconfig funcationlity (only useful for testing as written). 2018-04-09 13:20:58 -05:00
kpetersn 16141699d8 Improved report output 2018-04-09 13:07:47 -05:00
kpetersn 8f05579e82 Cleaned up the code somewhat 2018-04-09 11:29:56 -05:00
Scott Stubbs d254899446 Added I/O flush before first query 2018-04-09 01:33:44 -07:00
kpetersn 14bb36e0aa Read and set the direction. Read and clear command errors. Only set the limit if moving in that direction (doesn't solve the problem of being unable to absolute-move off a limit--jogging works though). 2018-03-29 16:28:18 -05:00
kpetersn f1aefccbeb Added comments about homing 2018-03-29 10:48:42 -05:00
kpetersn d760620579 Allow errors to be reset via a PV. 2018-03-28 11:02:33 -05:00
kpetersn c6a2b4ee0b Also allow UEIP=Yes when Diagnostic Feedback is used. 2018-03-28 10:43:29 -05:00
kpetersn 9e0b87ee74 Implement jogging using the actual jog command. Stopping a jog is different than a normal move, so the stop method had to get smarter. Removed the extra call to base class's writeInt32 that was resulting in double stop commands being sent. 2018-03-28 10:32:30 -05:00
kpetersn 021228e0e7 Improved asynReport output 2018-03-27 17:31:07 -05:00
kpetersn 860474c1ae Be quieter. 2018-03-27 16:45:42 -05:00
kpetersn dbdd1814df Enforce controller speed limits. Added an alternate jog implemention that doesn't work well (the ANF2 jog commands appear to require immediate stops, which don't play nicely with subsequent move commands). 2018-03-27 16:09:41 -05:00
kpetersn 0f52af42b2 Also read the encoder position, which isn't helpful with diagnostic feedback. 2018-03-27 15:15:05 -05:00
kpetersn 690281fd24 Correct the acceleration 2018-03-27 15:08:18 -05:00
kpetersn 3a231a90ef Remove item from todo list 2018-03-27 14:52:28 -05:00
kpetersn 35ac98f133 Specify base speed and homing timeout when configuring axis 2018-03-27 14:50:36 -05:00
kpetersn 9c90d24fb8 Fix for OpMode_ 2018-03-27 14:25:21 -05:00
kpetersn a877f4c188 Parse the config string and store some info about the axes. This can be done better in the future. 2018-03-27 13:49:12 -05:00
kpetersn 70d252c44a Added writeReg32Array method. Made the default output asyn port use array writes. Eliminated the conf asyn port. 2018-03-26 15:25:49 -05:00
kpetersn dc09abbd14 Improved report output 2018-03-23 17:10:07 -05:00
kpetersn 5f819fb8a1 Added more todo comments. 2018-03-23 16:53:26 -05:00
kpetersn d8c24ee12b Added todo comment 2018-03-23 16:48:30 -05:00
kpetersn 6b447ffdc9 Removed non-array write methods. 2018-03-23 16:44:03 -05:00
kpetersn c70152574c Implemented home with array writes. Causes a command error with my test configuration. 2018-03-23 16:30:15 -05:00
kpetersn 192b396a99 Made the setClosedLoop function do nothing. Tried to send the clear command error command,but that caused a command error from which I couldn't recover (presumably reconfiguring the axis would have resolved that problem. 2018-03-23 16:21:49 -05:00
kpetersn 3fa5f9fadf Added a comment about the jog command 2018-03-23 15:45:33 -05:00
kpetersn be825dd688 Modified the stop method to use array writes. 2018-03-23 15:44:35 -05:00
kpetersn db987bd349 Implement the jog functionality with the move method, rather than duplicating code. 2018-03-23 15:29:15 -05:00
kpetersn 2d3dc8abfa Moved poll periods to poller call. Require numModules and axesPerModule instead of numAxes for the CreateController call. 2018-03-23 14:09:04 -05:00
kpetersn 798a7336f5 Fixed the autosave problem by requiring the poller to be explicitly started after iocInit. 2018-03-23 11:46:53 -05:00
kpetersn 079779cf13 Tried more things that don't fix the autosave problem 2018-03-22 17:10:10 -05:00
kpetersn 687cccb554 Modifed reconfig to accept a position. Use a dedicated array of zeros for clearing controller registers (doesn't solve the failure-to-autosave-every-other-time problem). 2018-03-22 16:43:26 -05:00
kpetersn 53b7b23b4a Print fewer things 2018-03-22 15:43:02 -05:00
kpetersn 6c500efd32 Added an unsuccessful attempt to get autosave to work. 2018-03-22 15:39:25 -05:00
kpetersn 892225f1fc Cleaned up the setPosition method 2018-03-22 15:09:58 -05:00