MotorClassicVert

Module for MotorClassicVert

../../../_images/motor_classic_vert.png
class pcdswidgets.motion.common.motor_classic_vert.MotorClassicVert(parent: QWidget | None = None)[source]

Generic motor widget in a vertical layout.

This class is extended to allow us to support multiple types of motor IOCs with the same ui layout.

The user can set the motor_type enum to change the following behavior:

  • Expert screen command

There are four options:

  • GENERIC: default, no expert screen button.

  • IMS: standard IMS IOC (not motor record).

  • BECKHOFF: Motor that uses the 2026+ version of our TwinCAT motion libraries.

  • BECKHOFF_LEGACY: uses the pre-2026 version of the above.

class MotorTypes

Options for motor type to select the expert screen command.

Q_ENUM(a0: type | enum.Enum)
after_set_macro(macro_name: str, value: str)[source]

Puts motor prefix into expert screen command.