Commit Graph

67 Commits

Author SHA1 Message Date
21c9adec35 Update src/turboPmacAxis.cpp 2026-01-09 13:20:29 +01:00
01a0239dfb Added compiler flags for the C++ code and formatted README 2025-12-23 13:27:14 +01:00
0e2b5f5e93 Fixed number of commands bug in turboPmacAxis::init 2025-12-23 11:59:09 +01:00
6d00209e8a Fixed some small bugs 2025-10-13 16:57:30 +02:00
a70bcc0d75 Fixed bug: Wrong scale used before
The correct scale from counts to engeering units is Qxx00.
2025-09-10 11:52:51 +02:00
bf3406be1c Updated to sinqMotor 1.5 to get deadband feature 2025-09-09 16:52:19 +02:00
91e2519832 Deadband check in driver code 2025-09-09 13:43:11 +02:00
4fd95743c4 Fixed bug with errorprint to ioc console
The previous setup created one print key for all error types. The
problem with that is that if an error directly followed another error
(without an error = 0 in between), the MsgPrintControl prevented
printing of the new error. Now every error has its own key.
2025-08-22 15:25:31 +02:00
5845d2e908 Fixed imprecise comment 2025-08-12 15:42:43 +02:00
501b240250 Updated to sinqMotor 1.4.0 2025-08-12 09:14:38 +02:00
5f35c2277d Hide visibility of classes to avoid symbol clashes 2025-08-12 09:00:42 +02:00
4f972fd53d Hide symbols via compilerflag 2025-08-11 16:46:22 +02:00
2fc2ad1970 Added flag to see whether we are in the middle of enabling / disabling 2025-08-11 15:47:27 +02:00
3f7998eb9a Added sleep after write commands
See comment in writeRead for explanation.
2025-08-11 15:47:27 +02:00
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
62cec4d8e1 Updated sinqMotor 2025-06-17 08:34:07 +02:00
c1cb407ea3 Updated sinqMotor version 2025-06-16 16:18:06 +02:00
b27babfa10 Committed new sinqMotor version 2025-06-16 15:55:40 +02:00
7906b788f8 Added destructor for controller 2025-06-10 14:58:59 +02:00
08bd303ab3 Added destructor for controller 2025-06-10 14:53:26 +02:00
f93e16eb36 Added flag to disable reading the limits from the hardware 2025-06-10 13:53:39 +02:00
fb5ba8f14e Changed priority of IOC shell message 2025-06-06 11:20:50 +02:00
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
738780f897 Change to latest sinqMotor version 2025-05-23 10:11:27 +02:00
4cf500cc96 Made some functions virtual so they can be overwritten in subclasses 2025-05-15 14:54:18 +02:00
e7dc673395 Fixed some merge bugs 2025-05-15 12:32:30 +02:00
572ee5c671 Merge branch 'static-dep' 2025-05-15 12:27:26 +02:00
2e5059da33 Added default value for motorMessageText 2025-05-15 12:25:08 +02:00
c945896da1 Addes error message for failing to enable / disable within timeout 2025-05-14 16:26:55 +02:00
1054b87467 Adjusted usage of motorMessageText to act as an error message only. 2025-05-14 16:17:14 +02:00
a7c82d1238 Use new version of sinqMotor 2025-05-14 16:13:10 +02:00
f6d7f3846d Allow enabling / disabling the motor regardless of the status returned by the poll 2025-05-13 14:44:24 +02:00
63a5fcd518 Allow enabling / disabling the motor regardless of the status returned
by the poll.
2025-05-13 14:39:08 +02:00
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
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
370aef212e Fixed endless loop when communication times out and added
diagnostics.
2025-05-05 09:18:04 +02:00
3b39d724db Added space in asynPrint. 2025-04-30 15:15:13 +02:00
23c03353a1 Added carriage return at end of print command in pmacReadReady. 2025-04-30 15:13:23 +02:00
97a33cf92b Fixed sinqMotor version for tagging 2025-04-22 15:02:56 +02:00
181ccdec56 Small renaming changes 2025-04-17 16:15:39 +02:00
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
d365db529b Fixed typo 2025-04-10 15:44:56 +02:00
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
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
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
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
b62a5fd699 Removed readInt32 method, since it is not needed. 2025-04-04 13:30:52 +02:00
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
83a74ce8d0 Added new sinqMotor version as minimum requirement 2025-03-19 15:04:16 +01:00
445dd44c19 Removed a doubling of functionality
ipPortUser / lowLevelPortUser are already defined in the sinqMotor
library
2025-03-10 17:02:28 +01:00