Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions src/dodal/beamlines/i20_1.py
Original file line number Diff line number Diff line change
@@ -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 (
Expand Down Expand Up @@ -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(
Expand Down