e3ac2962f5
- Many improvements to the MasterMACS driver
...
- Slowing down the pmac driver
- Fixing a bug in the Nanotec driver which caused an IOC crash when the
motor sends bad data
2023-08-28 15:01:48 +02:00
f1a17bc295
Added AMOR detector tower special pmac motors: working now
2023-07-07 13:54:21 +02:00
8a6441927a
Implemented that enable commands are only sent when a status chnage is required
...
Stop commands are only sent by EL734 and pmac when actually moving. The
motor record logic calls stop() in an excessive way.
2023-05-31 09:37:22 +02:00
72afd02b4e
Many improvements to the MasterMACS motor driver. It is working but the hardware is shaky.
...
Added support for dose rate controlled Phytron motors. Not tested!
Small bug fixes
2023-05-31 09:13:41 +02:00
brambilla_m
8e2c1af10e
Some cleanup, force reload encoder before enable
2022-05-20 08:35:42 +00:00
brambilla_m
f5da0d54bd
Reduce polling, se MsgTxt if move when disabled
2022-05-20 08:35:42 +00:00
Michele Brambilla
92364a1de8
Can set and read enable, something broken with movements and status
2022-05-20 08:35:42 +00:00
Michele Brambilla
403eecafae
pmac Enable PV successfully tested
2022-05-20 08:35:42 +00:00
brambilla_m
fbf2331a05
pmacV3 read axis state
2022-05-20 08:35:42 +00:00
Michele Brambilla
c7fea08718
pmacV3 enable/disable axis
...
The default behaviour of the pmac controller is to enable the motor at startup. With the controller V3 we want that at IOC startup the axis to be off.
A database entry like
record(longout, "$(P)$(M):Enable") {
field(DTYP, "asynInt32")
field(OUT, "@asyn($(PORT),$(N),1) ENABLE_AXIS")
field(PINI, "YES")
}
can be used to give access to enable/disable the axis.
2022-05-20 08:35:42 +00:00
Michele Brambilla
edc71af235
Bugfix pmacV3
2022-05-20 08:35:42 +00:00
brambilla_m
c805385ad1
Allow enable/disable (tentative)
2022-05-20 08:35:42 +00:00
brambilla_m
929f9f600d
Add PMAC V3
...
- limit switches: use PXX37, PXX38 insteam of MXX21, MXX22
- if the motor is running query for axis position (QXX10) and status (PXX00)
- else query also error status (PXX01) and limit switches (PXX37-8)
- make the requests in 1+1 transactions
2022-05-20 08:35:42 +00:00
Michele Brambilla
542abcbaad
pmac improve handling of the error message
2022-03-02 06:37:33 +01:00
6de4a878ef
Merge branch 'amor-selene'
...
Conflicts:
.gitignore
sinqEPICSApp/src/pmacAxis.cpp
sinqEPICSApp/src/pmacAxis.h
sinqEPICSApp/src/pmacController.cpp
sinqEPICSApp/src/pmacController.h
2020-10-01 09:31:23 +02:00
c9e7830274
- Fixed reference run for Phytron
...
- Added brake handling to phytron
- Added code to set speed for phytron
- Removed scaling on Selene pmac limits
- Removed enabling on Selene pmac axis
2020-07-09 14:15:26 +02:00
f56ef2c74c
Committing the last status of selene work in the corona lockdown.
...
The problem is in the MCU, probably
2020-03-18 15:53:44 +01:00
michele-brambilla
a25f8cabb9
Selene positions do not need factor *1000
2020-02-19 15:39:23 +01:00
michele-brambilla
c4fe45c0cb
Add a set PV for the SeleneMotor
...
- make the number of extra parameters in SINQController configurable
- add database entry for the motor set field
- add the new function "setMotorPosition_" to the Selene controller
- execute Qx59=<pos> to set the new position
2020-02-18 12:32:24 +01:00
michele-brambilla
e9a615d0fa
Changes in pmac controller
2020-02-17 11:10:02 +01:00
f424477a6a
Fixed a bug with inproperly cleared MsgTxt in SINQAxis
...
Extended pmacAxis to properly deal with HRPT pmac motors which have an extra error condition
2019-05-13 12:03:24 +02:00
02ab5ff9b8
Added MsgTxt support to pmac controller driver
2019-01-08 11:47:02 +01:00
fd4b41d131
Initial commit of SINQ EPICS Application
2014-11-03 11:37:50 +01:00