Commit Graph

53 Commits

Author SHA1 Message Date
mathis_s c1761a161c Disable the axis on reset, if it is not moving
Resetting the axis now also disables it, if it is not moving.
2025-07-01 13:11:06 +02:00
mathis_s 62cec4d8e1 Updated sinqMotor 2025-06-17 08:34:07 +02:00
mathis_s c1cb407ea3 Updated sinqMotor version 2025-06-16 16:18:06 +02:00
mathis_s b27babfa10 Committed new sinqMotor version 2025-06-16 15:55:40 +02:00
mathis_s 7906b788f8 Added destructor for controller 2025-06-10 14:58:59 +02:00
mathis_s 08bd303ab3 Added destructor for controller 2025-06-10 14:53:26 +02:00
mathis_s f93e16eb36 Added flag to disable reading the limits from the hardware 2025-06-10 13:53:39 +02:00
mathis_s fb5ba8f14e Changed priority of IOC shell message 2025-06-06 11:20:50 +02:00
mathis_s 18bc3dfc5f Removed exit(-1) from init
When the initialization fails, the motor will now try again during each
poll.
2025-05-23 11:56:45 +02:00
mathis_s 738780f897 Change to latest sinqMotor version 2025-05-23 10:11:27 +02:00
mathis_s 4cf500cc96 Made some functions virtual so they can be overwritten in subclasses 2025-05-15 14:54:18 +02:00
mathis_s e7dc673395 Fixed some merge bugs 2025-05-15 12:32:30 +02:00
mathis_s 572ee5c671 Merge branch 'static-dep' 2025-05-15 12:27:26 +02:00
mathis_s 2e5059da33 Added default value for motorMessageText 2025-05-15 12:25:08 +02:00
mathis_s c945896da1 Addes error message for failing to enable / disable within timeout 2025-05-14 16:26:55 +02:00
mathis_s 1054b87467 Adjusted usage of motorMessageText to act as an error message only. 2025-05-14 16:17:14 +02:00
mathis_s a7c82d1238 Use new version of sinqMotor 2025-05-14 16:13:10 +02:00
mathis_s f6d7f3846d Allow enabling / disabling the motor regardless of the status returned by the poll 2025-05-13 14:44:24 +02:00
mathis_s 63a5fcd518 Allow enabling / disabling the motor regardless of the status returned
by the poll.
2025-05-13 14:39:08 +02:00
mathis_s 3bafc5110c Fixed bug where the motor could be in state -6 and the driver would
interpret this as "not moving"
2025-05-12 16:19:34 +02:00
mathis_s 29590d808b Removed unnecessary check for number of axes
The check is already performed in the sinqAxis constructor
2025-05-05 13:02:40 +02:00
mathis_s 370aef212e Fixed endless loop when communication times out and added
diagnostics.
2025-05-05 09:18:04 +02:00
mathis_s 3b39d724db Added space in asynPrint. 2025-04-30 15:15:13 +02:00
mathis_s 23c03353a1 Added carriage return at end of print command in pmacReadReady. 2025-04-30 15:13:23 +02:00
mathis_s 97a33cf92b Fixed sinqMotor version for tagging 2025-04-22 15:02:56 +02:00
mathis_s 181ccdec56 Small renaming changes 2025-04-17 16:15:39 +02:00
mathis_s e5a4af14ea Added interpose driver from DLS
Added a low-level interpose driver to allow usage of stream devices.
2025-04-17 09:25:42 +02:00
mathis_s d365db529b Fixed typo 2025-04-10 15:44:56 +02:00
mathis_s 66f796cf70 Integrated low level IP Port driver from DLS
Integrated the low level asyn IP Port driver from the Diamond Light
Source so that StreamDevices can use it as well.
2025-04-10 15:44:05 +02:00
mathis_s 844ea3085d Integrated low level IP Port driver from DLS
Integrated the low level asyn IP Port driver from the Diamond Light
Source so that StreamDevices can use it as well.
2025-04-10 15:44:05 +02:00
mathis_s 4b70676eb0 Integrated low level IP Port driver from DLS
Integrated the low level asyn IP Port driver from the Diamond Light
Source so that StreamDevices can use it as well.
2025-04-10 15:37:45 +02:00
mathis_s 295cd34993 Factored out error handling in a dedicated function
This makes it possible to reuse the error handling of the base axis in
derived axis types (e.g. seleneGuide driver).
2025-04-09 15:12:49 +02:00
mathis_s b62a5fd699 Removed readInt32 method, since it is not needed. 2025-04-04 13:30:52 +02:00
mathis_s a990da4245 Added functions to get/set motorPosition.
Changed to functions motorPosition and setMotorPosition in order to
retrieve / set motor positions from / to the paramLib.
2025-03-31 10:53:39 +02:00
mathis_s 83a74ce8d0 Added new sinqMotor version as minimum requirement 2025-03-19 15:04:16 +01:00
mathis_s 445dd44c19 Removed a doubling of functionality
ipPortUser / lowLevelPortUser are already defined in the sinqMotor
library
2025-03-10 17:02:28 +01:00
mathis_s d471041c59 Removed friend class declaration and replaced access to private
properties with accessors
2025-03-10 16:55:10 +01:00
mathis_s 967613447b Added error reset function. 2025-03-10 14:31:15 +01:00
mathis_s d6adf1ad2a Fixed a compilation bug related to sinqMotor 0.8.0 2025-03-04 09:39:32 +01:00
mathis_s dfb55a1b76 Added new feature msgPrintControl from sinqMotor 0.8.0. Correspondingly,
the minimum version requirement for sinqMotor has been bumped to 0.8.0.
2025-03-04 09:29:19 +01:00
mathis_s 8f597550fa Fixed a bug in readInt32 and prepared the turboPmac library to serve the
detectorTower library
2025-02-26 14:08:37 +01:00
mathis_s b4e49a9d7a Applied various bugfixes to make this driver fully operational 2025-02-14 16:31:23 +01:00
mathis_s fd4467ae54 Renamed from pmacV3 to turboPmac 2025-01-21 13:07:09 +01:00
mathis_s 1f02001502 Various small improvements to documentation, error messages etc.
Also moved the initialization of some parameters to sinqMotor
2024-12-23 09:32:00 +01:00
mathis_s 285fab7587 Refactored some code into sinqMotor:
- Enable, EnableRBV and CanDisable
- EncoderType
- Removed function isEnabled as it is no longer required from sinqMotor
0.5.0
2024-12-09 11:20:16 +01:00
mathis_s 3ee507086a Included the possibility to vary the motor speed. 2024-12-06 08:30:10 +01:00
mathis_s 2e2c24238b Prototype for v0.2 2024-12-04 13:39:36 +01:00
mathis_s e967e65d33 Added support for (optional) variable speed drive mode and refactored
some records into sinqMotor
2024-11-29 14:54:05 +01:00
mathis_s dc70b560f7 Improved the error message when the MCU response is printed and the IOC
shell constructor documentation.
2024-11-27 16:05:48 +01:00
mathis_s a6227629ad Improved the error message when the MCU response is printed. 2024-11-27 15:51:03 +01:00