epics-modules / motor

APS BCDA synApps module: motor
https://epics-modules.github.io/motor/
20 stars 47 forks source link

The CNEN field is ambiguous #177

Closed kmpeters closed 1 year ago

kmpeters commented 3 years ago

Some motor drivers allow changing between open and closed-loop modes when the CNEN field is toggled, which is consistent with the motor documentation:

Enable/Disable closed-loop position control. This field is active only if the GAIN_SUPPORT bit in the MSTA is true. This field is set by both the user and device support.

Other drivers enable/disable power to the motor when the CNEN fifeld is toggled, which is consistent with the Torque label on the motorx_all screens.

Proposal: add a dedicated field for enabling/disabling motor power.

kmpeters commented 1 year ago

Counterargument: controller-specific features should really be added to model-3 drivers instead of the motor record.