diff --git a/src/dodal/beamlines/i20_1.py b/src/dodal/beamlines/i20_1.py index 0c1b0e55aa..48b677c2d0 100644 --- a/src/dodal/beamlines/i20_1.py +++ b/src/dodal/beamlines/i20_1.py @@ -1,6 +1,7 @@ from pathlib import Path from ophyd_async.epics.motor import Motor +from ophyd_async.epics.pmac import PmacIO from ophyd_async.fastcs.panda import HDFPanda from dodal.common.beamlines.beamline_utils import ( @@ -58,6 +59,19 @@ def turbo_slit_x() -> Motor: return Motor(f"{PREFIX.beamline_prefix}-OP-PCHRO-01:TS:XFINE") +@device_factory() +def turbo_slit_pmac() -> PmacIO: + """ + PMac controller using running fly scans with trajectory + """ + motor = turbo_slit_x() + return PmacIO( + prefix=f"{PREFIX.beamline_prefix}-MO-STEP-06:", + raw_motors=[motor], + coord_nums=[3], + ) + + @device_factory() def panda() -> HDFPanda: return HDFPanda(