Commit Graph

  • 7493d50bc8 If URIP=Yes and reading RDBL causes LINK error, do not start a new target position move. sluiter 2018-04-10 14:30:50 -05:00
  • a46564cc3c Initialize parameters to avoid asynTraceFlow errors. kpetersn 2018-04-09 14:41:31 -05:00
  • 2e49fb473d Removed unused getInfo() calls. kpetersn 2018-04-09 13:25:40 -05:00
  • 9b6764b0e0 Removed reconfig funcationlity (only useful for testing as written). kpetersn 2018-04-09 13:20:58 -05:00
  • 16141699d8 Improved report output kpetersn 2018-04-09 13:07:47 -05:00
  • 8f05579e82 Cleaned up the code somewhat kpetersn 2018-04-09 11:29:56 -05:00
  • d254899446 Added I/O flush before first query Scott Stubbs 2018-04-09 01:33:44 -07:00
  • 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). kpetersn 2018-03-29 16:28:18 -05:00
  • f1aefccbeb Added comments about homing kpetersn 2018-03-29 10:48:42 -05:00
  • d760620579 Allow errors to be reset via a PV. kpetersn 2018-03-28 11:02:33 -05:00
  • c6a2b4ee0b Also allow UEIP=Yes when Diagnostic Feedback is used. kpetersn 2018-03-28 10:43:29 -05:00
  • 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. kpetersn 2018-03-28 10:32:30 -05:00
  • 021228e0e7 Improved asynReport output kpetersn 2018-03-27 17:31:07 -05:00
  • 860474c1ae Be quieter. kpetersn 2018-03-27 16:45:42 -05:00
  • 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). kpetersn 2018-03-27 16:09:41 -05:00
  • 0f52af42b2 Also read the encoder position, which isn't helpful with diagnostic feedback. kpetersn 2018-03-27 15:15:05 -05:00
  • 690281fd24 Correct the acceleration kpetersn 2018-03-27 15:08:18 -05:00
  • 3a231a90ef Remove item from todo list kpetersn 2018-03-27 14:52:28 -05:00
  • 35ac98f133 Specify base speed and homing timeout when configuring axis kpetersn 2018-03-27 14:50:36 -05:00
  • 9c90d24fb8 Fix for OpMode_ kpetersn 2018-03-27 14:25:21 -05:00
  • a877f4c188 Parse the config string and store some info about the axes. This can be done better in the future. kpetersn 2018-03-27 13:49:12 -05:00
  • 70d252c44a Added writeReg32Array method. Made the default output asyn port use array writes. Eliminated the conf asyn port. kpetersn 2018-03-26 15:25:49 -05:00
  • dc09abbd14 Improved report output kpetersn 2018-03-23 17:10:07 -05:00
  • 5f819fb8a1 Added more todo comments. kpetersn 2018-03-23 16:53:26 -05:00
  • d8c24ee12b Added todo comment kpetersn 2018-03-23 16:48:30 -05:00
  • 6b447ffdc9 Removed non-array write methods. kpetersn 2018-03-23 16:44:03 -05:00
  • c70152574c Implemented home with array writes. Causes a command error with my test configuration. kpetersn 2018-03-23 16:30:15 -05:00
  • 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. kpetersn 2018-03-23 16:21:49 -05:00
  • 3fa5f9fadf Added a comment about the jog command kpetersn 2018-03-23 15:45:33 -05:00
  • be825dd688 Modified the stop method to use array writes. kpetersn 2018-03-23 15:44:35 -05:00
  • db987bd349 Implement the jog functionality with the move method, rather than duplicating code. kpetersn 2018-03-23 15:29:15 -05:00
  • 2d3dc8abfa Moved poll periods to poller call. Require numModules and axesPerModule instead of numAxes for the CreateController call. kpetersn 2018-03-23 14:09:04 -05:00
  • 798a7336f5 Fixed the autosave problem by requiring the poller to be explicitly started after iocInit. kpetersn 2018-03-23 11:46:53 -05:00
  • 079779cf13 Tried more things that don't fix the autosave problem kpetersn 2018-03-22 17:10:10 -05:00
  • 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). kpetersn 2018-03-22 16:43:26 -05:00
  • 53b7b23b4a Print fewer things kpetersn 2018-03-22 15:43:02 -05:00
  • 6c500efd32 Added an unsuccessful attempt to get autosave to work. kpetersn 2018-03-22 15:39:25 -05:00
  • 892225f1fc Cleaned up the setPosition method kpetersn 2018-03-22 15:09:58 -05:00
  • 11ee7839bb Shortened many delays. Don't print as much info at startup. kpetersn 2018-03-22 15:05:00 -05:00
  • ff2ac7196f Added macros for 32-bit registers kpetersn 2018-03-22 14:45:02 -05:00
  • 89cf615600 Cleaned up some of the code. kpetersn 2018-03-22 11:49:41 -05:00
  • 1fc33f95f9 Fixed the readReg32 calculation. Don't use registers_ for everything. Added zeroRegisters method. kpetersn 2018-03-22 11:33:05 -05:00
  • 75162d1fef Readded INIT due to iocsh interpretation issues Keenan Lang 2018-03-21 17:55:33 -05:00
  • 6998c37163 fix typos Keenan Lang 2018-03-21 17:54:17 -05:00
  • 1a4d1756b9 Corrected the max acceleration/deceleration kpetersn 2018-03-21 15:07:55 -05:00
  • 1f8e9d8a23 Added a reconfig routine. Corrected nElements after switching to modbus master branch on github. kpetersn 2018-03-21 14:58:37 -05:00
  • 5eef01248c Removed configBits kpetersn 2018-03-20 14:57:17 -05:00
  • 758f6fcc8b Print more info. Try to write/read registers for axis 2 (currently doesn't work properly). kpetersn 2018-03-20 13:47:56 -05:00
  • fae911bc35 Uncommented lines that zeroed the command register before a move (required for every move after the first after power-on to succeed) kpetersn 2018-03-19 15:33:32 -05:00
  • 2c269bb69f Also set all the registers when setting the position. Allows a single move to succeed after each setPosition call. kpetersn 2018-03-16 16:30:06 -05:00
  • 13ee3d23e4 Only configure the axis once kpetersn 2018-03-16 15:37:30 -05:00
  • d792f9afe7 Send all the registers when setting the configuration (fixes failure-to-configure problem after an error occurs). Also try to send move data with all 10 registers (fails in the same way as setting the registers independently) kpetersn 2018-03-16 15:16:03 -05:00
  • aaae2e642a Zeroing the CMD_MSW doesn't fix the unable-to-move problem kpetersn 2018-03-16 13:50:41 -05:00
  • 65dea5b7d2 Added a GetInfo that results in the getInfo() axis method being called. kpetersn 2018-03-16 13:02:41 -05:00
  • a05f47f96c Cleaned up code. Reduced delays added for testing. kpetersn 2018-03-14 11:18:25 -05:00
  • faba02a442 Set the configuration bits with array writes kpetersn 2018-03-14 10:28:05 -05:00
  • 58ed8b4efd Synchronize motor position with encoder position before every move Marius Elvert 2018-03-13 10:16:09 +01:00
  • 43c8eee384 Added a port to enable atomic writes of the config data kpetersn 2018-03-09 15:54:00 -06:00
  • 5651f7071e Added some variables and methods to troubleshoot init problems. Unsuccessful so far. kpetersn 2018-03-09 14:37:00 -06:00
  • 751905b275 Removed some print statements. Added more report info. kpetersn 2018-03-08 15:55:46 -06:00
  • 646b5fb87d Added support for the ANF2. Code compiles without error but hasn't been tested yet. kpetersn 2018-03-08 11:41:19 -06:00
  • c1c4407644 Replaced invalid LT_EPICSBASE logic with working logic from SSCAN. Since EPICS_VERSION_INT defined in EPICSbase 3.15, added EPICS_PATCH_LEVEL argument. sluiter 2018-01-04 14:52:05 -06:00
  • 60aa414b37 Add missing include files stdLib.h and errlog.h Mark Rivers 2017-12-06 17:45:20 -06:00
  • 8409249849 Added missing includes for stdLib.h and errlog.h, needed for base 7.0 Mark Rivers 2017-12-04 18:21:47 -06:00
  • 73e076be46 Added R6-10 to documentation kpetersn 2017-11-30 14:26:29 -06:00
  • 15e37a5eda Added R6-10 to documentation kpetersn 2017-11-30 14:26:29 -06:00
  • 691d375f0a Merge pull request #87 from epics-modules/gcc-fix R6-10 rsluiter 2017-11-30 11:10:51 -06:00
  • 5245991323 Merge pull request #88 from epics-modules/fix-esp300 rsluiter 2017-11-27 10:21:34 -06:00
  • 91b2e335d2 Set deceleration the same as acceleration for SET_ACCEL command; previously the default controller decleration was always used Mark Rivers 2017-11-22 14:06:07 -06:00
  • 1512357f70 Added comments, improved logic Mark Rivers 2017-11-22 14:32:29 -06:00
  • b969f5a0ab Set drive_resolution when open-loop steppers are used. Previously drive resolution was determined using the SU? command, which returns the encoder resolution. The SU? value is not meaningful when open-loop steppers are used, and cannot even be set in the controller. Use the ZB? command to see if stepper positioning is enabled and encoder feedback is disabled. If so the full-step (FR?) and microstep (QS?) values are used to determine drive_resolution. If not then SU? is used to determine drive resolution, as previously. Mark Rivers 2017-11-22 14:08:04 -06:00
  • a62c5e4e57 Further gcc errors reported klang 2017-11-21 16:49:37 -06:00
  • 914832910d Changed NULL casts from 'char' to 'char*' klang 2017-11-08 14:04:12 -06:00
  • 928f79fc9d Keep the sign information on the MRES and ERES used to calculate the encoder ratio. This fixes issue #82. Matthew Pearson 2017-09-29 12:01:48 -04:00
  • 8229bb7658 Fix issue with power being left on when using autoPower option in asynMotorController. This could happen if the motor doesn't move because it's already in position, so the poller doesn't detect a move. Matthew Pearson 2017-09-29 11:36:59 -04:00
  • 220d18fcff Merge pull request #63 from rsluiter/master rsluiter 2017-09-13 13:45:04 -05:00
  • 67a9bc2225 Merge pull request #70 from kmpeters/issue69 rsluiter 2017-09-07 09:17:41 -05:00
  • 18dd3cbbf5 Merge pull request #68 from kmpeters/issue67 rsluiter 2017-09-07 09:16:54 -05:00
  • 4cf25d83c8 Merge pull request #66 from kmpeters/issue65 Mark Rivers 2017-08-31 15:50:53 -05:00
  • 07d4ac6dfe lua script module renamed Keenan Lang 2017-08-30 15:32:27 -05:00
  • a763198783 Files were renamed in lua script module Keenan Lang 2017-08-30 14:23:11 -05:00
  • 7d3d93387f Merge remote-tracking branch 'upstream/master' Keenan Lang 2017-08-30 14:16:34 -05:00
  • d827ae8a51 Merge branch 'master' of github.com:epics-modules/motor Mark Rivers 2017-08-28 18:09:33 -05:00
  • 192e7c1bef Added Travis CI status link Mark Rivers 2017-08-28 18:09:25 -05:00
  • 4b89359e1c Merge pull request #75 from klauer/velo_vbas_fix Kevin Peterson 2017-08-28 13:32:27 -05:00
  • 4ade0a7f37 Merge pull request #74 from klauer/travis_ci_from_source Kevin Peterson 2017-08-24 14:47:47 -05:00
  • 8a16af5067 Add TravisCI configuration K Lauer 2017-08-23 15:02:04 -07:00
  • 372c99d8cc Merge pull request #34 from Brudhu/master Kevin Peterson 2017-08-24 13:53:46 -05:00
  • 0bc027e2e4 Merge pull request #72 from epics-modules/motorxU-screens Kevin Peterson 2017-08-24 10:48:53 -05:00
  • 468a96c506 fixes #73 Pete Jemian 2017-08-24 10:43:45 -05:00
  • 6ccf596162 additional panels used by USAXS Pete Jemian 2017-08-24 07:20:21 -05:00
  • 1bb6ca05c1 Revert "Revert "Merge branch 'master' into master"" Keenan Lang 2017-08-23 16:09:54 -05:00
  • 6e4da0b56a Merge pull request #2 from epics-modules/master Keenan Lang 2017-08-23 15:51:12 -05:00
  • a3cd81031a Revert "Merge branch 'master' into master" kpetersn 2017-08-23 15:36:12 -05:00
  • 3ec6ec433c Merge branch 'master' into master Keenan Lang 2017-08-23 15:18:33 -05:00
  • 57b8cdca25 Added extern "C" to iocsh registration code. Fixes #69 kpetersn 2017-08-23 10:47:14 -05:00
  • 2dafc4757c Added extern "C" to iocsh registration code. Fixes #67 kpetersn 2017-08-22 15:44:55 -05:00
  • 5c2d62e56f Removed AMCIRegister.{cc,h}. Fixes #65 kpetersn 2017-08-22 15:13:09 -05:00
  • b201e40ee3 Changed ACCL calculation when VELO == VBAS. Mitch D'Ewart 2015-08-18 14:20:34 -07:00
  • dc8e0f0da0 Merge branch 'master' of github.com:epics-modules/motor Mark Rivers 2017-07-19 12:02:40 -05:00