Commit Graph

2736 Commits

Author SHA1 Message Date
Kevin Peterson c09b49c245 Merge pull request #107 from lnls-sol/fixAero
Add devAerotechSeq.dbd to WithAsyn example
2018-08-20 12:10:00 -05:00
Gabriel Fedel 36a9351dba Add devAerotechSeq.dbd to WithAsyn example
This change allow to use Trajector Scan state machine from Aerotech.
2018-08-17 14:38:00 -03:00
Kevin Peterson 000082b55a Merge pull request #105 from kmpeters/XPS_mutex_id_init
Fix for segfault when XPSConfigAxis isn't called before using a motor (Fixes #104)
2018-08-10 12:22:59 -05:00
kpetersn 1477975057 Patch from Takashi Nakamoto of the National Astronomical Observatory of
Japan:

"While I was developing an EPICS application on the top of the motor
module, my application died for segmentation fault. The reason was my
mistake: I forgot to call XPSConfigAxis before I start to use that axis,
but it took time for me to find it out (e.g. compiled the motor module
and my application with debug option, running gdb, ...). So, I thought
it would be nice if an error message is shown in the console instead of
sudden death only with segmentation fault message, and the attached
patch does it."
2018-08-10 10:47:02 -05:00
kpetersn c0c5b5b351 Multiple improvements to the Aerotech A3200 driver from Ron Sluiter:
* .04 03-15-18 rls - Restored "Task number" argument to
A3200AsynConfig.
* .05 05-01-18 rls - Do not check the limit switches of virtual axes.
*                  - Added "single-axis" (MOVE{ABS/INC} or "multi-axis"
(LINEAR) user selectable move option.
2018-08-08 16:27:33 -05:00
kpetersn 6fb6f171de Bug fix for ImsMDrivePlusMotorController.cpp from Ron Sluiter on
2018-07-16
2018-08-08 16:22:06 -05:00
kpetersn 4fb9e1c934 Changes to motor_notes.txt from Ron Sluiter on 2018-01-10 2018-08-08 16:18:48 -05:00
Kevin Peterson 548a013a38 Merge pull request #103 from kmpeters/ensemble-stuck-on-limit-fix
Ron's fix for ensemble-stuck-on-limit problem
2018-08-06 16:32:07 -05:00
kpetersn 8e8e559606 Changes from Ron Sluiter on 2018-06-28:
"If disabling torque due to a fault, clear motorAxisProblem so that user
can Jog off limit switch."
2018-08-06 16:09:51 -05:00
kpetersn 70b489f2de Corrected my email address. 2018-08-03 09:51:53 -05:00
kpetersn 58976fa288 Corrected path to new docs directory in README.md 2018-08-01 13:52:03 -05:00
Kevin Peterson 09fcb5986c Merge pull request #101 from kmpeters/github-pages-docs
Make motor documentation compatible with github pages
2018-08-01 13:41:26 -05:00
kpetersn d739f5c1dd Use github pages links instead of htmlpreview links 2018-08-01 13:37:13 -05:00
kpetersn 3b75e3096f Renamed motor.html to index.html so that it can be used with github pages. 2018-08-01 13:26:17 -05:00
kpetersn fd4641f267 Renamed documentation directory so that it can be used with github pages. 2018-08-01 13:23:40 -05:00
Kevin Peterson 3683d3f0ea Merge pull request #56 from EuropeanSpallationSource/JOG_stopped
Record recognizes motor stop while jogging.

Text from the pull request:

'The following situation came up while debugging soft limits in a
motion controller which had different values then the record.

The motor is at position 50mm (RBV=50), the low soft limit is 15 (LLM=15),
jogging velocity is 10 mm/sec (JVEL=10).

The motion controller has an internal soft limit which is 35 mm, which
we want to test.
Set JOGR to 1, the motor will move backwards.
(Side note: it would be stopped by the record once it passed 25mm).

Before that, the motion controller stops the motor internally and reports DONE.
The state machine in the record is not prepared to handle this and JOGR stays 1.
The expected behavior is that JOGR returns to 0.
Because this is an unexpected stop, reset even pending home requests.
In other words: call clear_buttons(pmr)

Whether or not an alarm is raised may be another question.
The natural thing would be to set LVIO to 1, but we don't know why the controller
stopped the motion.
Unless we add a bit in MSTA like "RA_LVIO"...
But in any case this can and should go into a separate commit.'
2018-07-03 09:11:27 -05:00
Torsten Bögershausen 9c8a8e8c35 Record recognizes motor stop while jogging
The following situation came up while debugging soft limits in a
motion controller which had different values then the record.

The motor is at position 50mm (RBV=50), the low soft limit is 15 (LLM=15),
jogging velocity is 10 mm/sec (JVEL=10).

The motion controller has an internal soft limit which is 35 mm, which
we want to test.
Set JOGR to 1, the motor will move backwards.
(Side note: it would be stopped by the record once it passed 25mm).

Before that, the motion controller stops the motor internally and reports DONE.
The state machine in the record is not prepared to handle this and JOGR stays 1.
The expected behavior is that JOGR returns to 0.
Because this is an unexpected stop, reset even pending home requests.
In other words: call clear_buttons(pmr)

Whether or not an alarm is raised may be another question.
The natural thing would be to set LVIO to 1, but we don't know why the
controller stopped the motion.
Unless we add a bit in MSTA like "RA_LVIO"...
But in any case this can and should go into a separate commit.
2018-06-29 11:38:31 +02:00
Kevin Peterson a002988622 Merge pull request #98 from kmpeters/encoder_ratio_fix
Modified drivers that expect unsigned encoder ratio parameters, as discussed in issue #82.  This change preserves the behavior of the device support for the MM3000 and OMS controllers before pull request #84.
2018-06-27 12:24:18 -05:00
Kevin Peterson 7a758b7238 Merge pull request #84 from mp49/encoder_ratio_fix
Keep the sign information on the MRES and ERES used to calculate the encoder ratio. This fixes issue #82.
2018-06-27 12:21:22 -05:00
kpetersn c185b99ea9 Modified MM3000 and OMS device support to handle signed components of the encoder ratio. 2018-06-27 11:39:00 -05:00
Pete R Jemian d7a85d2833 Note issue #55 is active for participation now 2018-06-27 11:08:20 -05:00
Kevin Peterson 0dc3a09a0b Merge pull request #36 from rokvintar/ls_status_update_fix
Status of limit switches updated independent of movement direction.  Fixes #35
2018-06-26 15:45:59 -05:00
Kevin Peterson 31e0afe6a7 Merge pull request #93 from softwareschneiderei/oms_encoder_sync
OMS: Synchronize motor position with encoder position before every move.
2018-06-21 12:18:00 -05:00
Marius Elvert d061e913c3 Removed version control info from file 2018-06-21 09:55:12 +02:00
kpetersn 6529abb0cf Added links for upcoming 6-10-1 release 2018-06-06 15:09:29 -05:00
sluiter 74a8cedc28 Update CountsPerUnit everytime torque is enabled to reduce IOC reboots 2018-05-31 16:47:44 -05:00
sluiter acf0d00496 Update home search from EPICS docs. 2018-05-31 16:45:41 -05:00
klang 4938a51ce4 Few more wrong casts 2018-05-29 16:18:47 -05:00
Kevin Peterson 53cea7fad9 Merge pull request #79 from keenanlang/master
Keenan added Scriptable Motor Controller support (depends on the lua module: https://github.com/epics-modules/lua)
2018-05-02 13:04:36 -05:00
kpetersn 4bbba98bd5 Minor improvements to documentation:
* Use APS links instead of github preview links until the
  release contains the relevant documentation (motor.html)
  * Changed one instance of 6-9 to 6-10 (motorRecord.html)
2018-05-02 09:49:13 -05:00
Kevin Peterson 2cfd494c16 Merge pull request #96 from kmpeters/R6-10-documentation
Added R6-10 documentation
2018-05-01 15:17:48 -05:00
kpetersn 497bdac0c9 Added a notice to the README 2018-05-01 15:08:00 -05:00
kpetersn 55a92186c2 Removed reverted change from README 2018-05-01 15:04:33 -05:00
kpetersn 7d2c337c0a Removed duplicate Known-problems entries. Added link to github issues. 2018-05-01 15:03:41 -05:00
kpetersn bbc0b5019f Added Problems.html, which contains the history of the problems of motor releases before the transition to github. 2018-05-01 13:34:24 -05:00
kpetersn ad2d96b230 Corrected links 2018-05-01 12:16:36 -05:00
kpetersn 8c0f68488d Removed Ron as the person responsible for the motor module. Kevin wishes him a git-free impending retirement. 2018-05-01 11:45:07 -05:00
kpetersn 5619f875e2 Added support motors and documentation for the IGSET field. 2018-05-01 10:59:45 -05:00
kpetersn 67526774ff Added release notes for 6-10 2018-05-01 10:25:02 -05:00
Kevin Peterson 90bb52f3c6 Merge pull request #60 from EuropeanSpallationSource/record-DLYandSTOP-problem
Record: motor record DLY and STOP problem
2018-05-01 09:51:03 -05:00
kpetersn e99981c71d Added R6-10 to 'Required Modules' section 2018-04-30 11:48:12 -05:00
kpetersn 9f14ffb5ed Created a presentations subdirectory 2018-04-30 11:11:38 -05:00
kpetersn 73230bef1a Moved trajectoryScan.html images to the trajectoryScan_files subdirectory. 2018-04-30 11:10:39 -05:00
Kevin Peterson f3d4e0fd1d Merge pull request #83 from mp49/autopower_fix
Fix issue with power being left on when using autoPower option in asy…
2018-04-27 10:42:03 -05:00
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