Skip to content

Commit

Permalink
Add more motor fields (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
DominicOram committed Apr 5, 2024
1 parent b134436 commit bdfd7b5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ophyd_async/epics/motion/motor.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,12 @@ def __init__(self, prefix: str, name="") -> None:
self.setpoint = epics_signal_rw(float, prefix + ".VAL")
self.readback = epics_signal_r(float, prefix + ".RBV")
self.velocity = epics_signal_rw(float, prefix + ".VELO")
self.acceleration = epics_signal_rw(float, prefix + ".ACCL")
self.units = epics_signal_r(str, prefix + ".EGU")
self.precision = epics_signal_r(int, prefix + ".PREC")
self.low_limit_travel = epics_signal_rw(int, prefix + ".LLM")
self.high_limit_travel = epics_signal_rw(int, prefix + ".HLM")

# Signals that collide with standard methods should have a trailing underscore
self.stop_ = epics_signal_x(prefix + ".STOP")
# Whether set() should complete successfully or not
Expand Down

0 comments on commit bdfd7b5

Please sign in to comment.