3059 Commits

Author SHA1 Message Date
Kevin Peterson 8e1f37afbb Updated release notes for R7-4 7.4.0 2026-03-24 14:19:24 +01:00
Jeremy Lorelli 6b5bc75f69 Remove uses of the deprecated register keyword 2026-03-24 14:19:24 +01:00
Kevin Peterson 3499b159c7 Updated motorParker, motorPhytron, motorPIGCS2, and motorSmarAct to latest released versions for VxWorks fixes 2026-03-24 14:19:24 +01:00
Kevin Peterson a08c775c53 Added std to modules/Makefile 2026-03-24 14:19:24 +01:00
Torsten Bögershausen c0d7142098 asynMotor: Introduce motorActVelocity
commit 11229ed6e56, Fixed RVEL bug, made a change to be able
to set the .RVEL field in the motorRecord from a model 3 driver.
However, this mixes motorVelocity_,
which is a setpoint changed with every movement, with an actual value,
which changes while the motor is moving.
And goes to 0.0 when the motor has stopped.
Or stays at 0.0 when the motor refuse to start.
This may be caused by an interlock, limit switch, power off or others.

In short: Introduce a new asynParameter to store the value.

Compatiblity considarations:
Since the .RVEL field has never been working for an asynMotor,
we don't expect any.

If needed, code can be adopted at compile time, with something like this:
 #ifdef motorActVelocityString
   setDoubleParam(pC_->motorActVelocity_,
                  st_axis_status.fActVelocity);
 #endif
2026-03-24 14:19:24 +01:00
Kevin Peterson d1d04bd89f Moved the licsense file so it is visible on github 2026-03-24 14:19:24 +01:00
Kevin Peterson c1303c6396 Fix for infinite loop in motor_task preventing graceful shutdown of the IOC:
* Add a global shutdown flag + epicsAtExit() handler
* Keep a separate ELLLIST of wakeup events
* Exit the infinite loop in motor_task if shutdown flag is set

Note: Argo (AI) suggested a broken version of this fix that needed to be
manually corrected.
2026-03-24 14:19:24 +01:00
Kevin Peterson 039b060714 Added License section to README.md 2026-03-24 14:19:24 +01:00
Kevin Peterson 2a10370099 Removed REUSE.toml and REUSE badge from README.md 2026-03-24 14:19:24 +01:00
Kevin Peterson 8c9080f983 Replaced instance of <PRODUCT> with MOTOR 2026-03-24 14:19:24 +01:00
Kevin Peterson bf7109e636 Updated license to be technically compliant with version 3.3 of the REUSE Specification; don't do ci builds for license updates 2026-03-24 14:19:24 +01:00
Kevin Peterson 843037ca22 Omit the year from the copyright line, which is allowed but not recommended 2026-03-24 14:19:24 +01:00
Kevin Peterson a0b2a7f4f1 Added LICENSE, using https://epics.anl.gov/license/open.txt as a template 2026-03-24 14:19:24 +01:00
Kevin Peterson 0ec71cdfde Updated OMS PID info 2026-03-24 14:19:24 +01:00
StefanMathis 820519484b Fixed RVEL bug
This PR fixes https://epics.anl.gov/tech-talk/2026/msg00212.php by writing the motor velocity into status_.velocity, where it is later read from when the motorRecord fields are populated.
2026-03-24 14:19:24 +01:00
Kevin Peterson fb055afb63 ci: use asyn master branch 2026-03-24 14:19:24 +01:00
Kevin Peterson 3f99c43912 ci: use asyn-R4-45 because the R4-46 tag doesn't exist 2026-03-24 14:19:24 +01:00
Kevin Peterson 3b7141f084 ci: user newer versions of asyn and busy 2026-03-24 14:19:24 +01:00
Kevin Peterson 256f45dfcd ci: added tirpc and readline libs as linux dependencies 2026-03-24 14:19:24 +01:00
Kevin Peterson 243919b4de Stop using unsupported github actions runner images 2026-03-24 14:19:24 +01:00
Kevin Peterson 38a1c3a8b5 Updated driver submodules (except for motorAttocube--see RELEASE.md for more info) 2026-03-24 14:19:24 +01:00
Torsten Bögershausen a6820daf52 motorRecord.html: Document MRES changes soft limits
Since commit 3b5c71c412 from May 2022 the change of MRES does
change the soft limits.
Technically speaking the introduced fields RHLM/RLLM keep their value.
The fields DHLM/DLLM HLM/LLM are updated.
Document this.
2026-03-24 14:19:24 +01:00
keenanlang f7e2f5fe9b addresses #22 2026-03-24 14:19:24 +01:00
zimoch 0de68e844b Merge branch 'upstream' R7-3-1 7.3.1 2025-02-28 16:57:29 +01:00
Kevin Peterson 752696e08f Merge pull request #225 from jlmuir/patch-2
Fix typos in motorRecord.html
2025-02-17 09:19:34 -06:00
Kevin Peterson 060180e645 Github actions fix 2025-02-17 09:06:17 -06:00
ext-muir_j 069b8ce640 Fix typos in motorRecord.html 2025-02-16 13:53:36 -06:00
Kevin Peterson 9dbb5d8ac8 Merge pull request #224 from EuropeanSpallationSource/fix-lockup-VAL-HOMF-VAL
motorRecord: prevent endless loop VAL-HOMF-VAL
2025-02-13 14:40:10 -06:00
Torsten Bögershausen 0aaf02d779 motorRecord: prevent endless loop VAL-HOMF-VAL
The following lead to an endless loop:
- move the motor by writing to the .VAL field
- while moving, home the motor using the HOMF field
- while still homing, write a different value to the VAL field.

The problem is that for "pmr->val != pmr->lval" the motorRecord is send
into do_work() and a new HOME is started.

Solution:
Reset the HOMF and HOMR buttons.
2025-02-11 15:13:36 +01:00
Kevin Peterson 995ffab867 Merge pull request #223 from jlmuir/doc-typo-fixes
Fix typos in motorDeviceDriver.html
2025-02-10 11:58:27 -06:00
ext-muir_j af9f8fd24b Fix typos in motorDeviceDriver.html 2025-01-31 20:54:21 -06:00
Kevin Peterson 2c2d70ed98 Merge pull request #221 from EuropeanSpallationSource/doc-CNEN-HOMF-HOMR-better
Improved CNEN, HOMF & HOMR documentation
2024-11-19 10:38:31 -06:00
Torsten Bögershausen df0132e73e docs/motorRecord.html: Document HOMF and HOMR better
Modern motion controller may have more advanced homing sequences
the what is specified in the motorRecord documentation.
However, many installations and implementations still use the
HOMF and HOMR fields to initiate such a homing sequence.
Make this more clear.
2024-11-13 12:12:26 +01:00
Torsten Bögershausen 7fbdf4b99e docs/motorRecord.html: CNEN is implementation specific
The CNEN field has been developed with motion controllers which can
switch between open- and closed-loop.
In modern controllers this is hard-coded inside the motion controller,
or to be more exact, sometimes the configuration of ths controller.
In other words, the CNEN field has been used to enable or disable the
motor.
Make this different usage and functionality more clear.
2024-11-13 12:01:59 +01:00
Kevin Peterson fbcd32ceb1 Merge pull request #220 from EuropeanSpallationSource/ueip-no-encoder-wrong-monitor
motorRecord.cc: Post ueip if reset to false when encoder missing
2024-11-07 08:55:18 -06:00
Torsten Bögershausen 685e79fd70 ci-scripts-build.yml: upload-artifact@v3 2024-10-22 12:21:48 +02:00
Torsten Bögershausen c1830b2f2d ci-scripts-build-full.yml: Remove ubuntu 18.04 2024-10-22 12:15:08 +02:00
Torsten Bögershausen a4a6dbddf4 motorRecord.cc: Post ueip if reset to false when encoder missing
commit 24a53e660e,
    "motorRecord: Reset UEIP to No if no encoder is present"
Seems to have introduced a typo:
When ueip is reset to false, because there is no encoder,
then db_post_events(ueip) should be called, not urip.
2024-10-22 12:05:44 +02:00
Kevin Peterson f1159c66a6 Revert "Override defaults.set for seq mirror"
This reverts commit f8a3239f06.
2024-07-23 10:03:20 -05:00
Kevin Peterson 7212f1acb9 Upgraded ci-scripts to v3.4.1 2024-07-23 10:02:05 -05:00
Kevin Peterson 81662468d0 Merge pull request #214 from epics-modules/issue213
devMotorAsyn.c: Set encoder ratio to 1 if ERES is 0 to avoid dividing by 0.
2024-01-22 09:15:46 -06:00
Kevin Peterson 148c943719 Set encoder ratio to 1 if ERES is 0 to avoid dividing by 0 2024-01-22 09:02:27 -06:00
zimoch 28fc137372 remove non-existing file from HEADERS 7.2.1 2024-01-22 11:27:49 +01:00
Kevin Peterson f8a3239f06 Override defaults.set for seq mirror 2023-12-08 11:38:55 -06:00
zimoch 00dec708c3 build for all archs
don't check out submodules
2023-08-18 14:50:28 +02:00
Kevin Peterson d1ed86f128 Fixed a 9-year-old typo in trajectoryScan_settings.req 2023-08-04 10:15:18 -05:00
zamofing_t 03a6ed4654 switch RDIF RVAL LRVL RRBV RMP REP from DBF_LONG to DBF_DOUBLE 7.2.1_rrbv_dbl 2023-07-04 17:18:22 +02:00
Kevin Peterson 88c627ae02 Updated documentation for R7-3-1 R7-3-1 2023-06-07 15:42:31 -05:00
Kevin Peterson ed474417a1 Corrected typo in comment 2023-06-07 15:21:40 -05:00
Kevin Peterson 44037550d0 Updated motorAcsMotion to R2-2 for vxWorks build bugfix and improved homing 2023-06-06 15:48:59 -05:00