Skip to content

Add to i05_shared.py s1_xgap and s1_ygap #441

Closed
DiamondLightSource/dodal
#2265

Description

@oliwenmandiamond

The s1 device are slits

	<bean id="s1_xcentre_motor" class="gda.device.motor.EpicsMotor">
		<property name="pvName" value="BL05I-AL-SLITS-01:XCENTRE" />
	</bean>

	<bean id="s1_xgap_motor" class="gda.device.motor.EpicsMotor">
		<property name="pvName" value="BL05I-AL-SLITS-01:XSIZE" />
	</bean>

	<bean id="s1_ycentre_motor" class="gda.device.motor.EpicsMotor">
		<property name="pvName" value="BL05I-AL-SLITS-01:YCENTRE" />
	</bean>

	<bean id="s1_ygap_motor" class="gda.device.motor.EpicsMotor">
		<property name="pvName" value="BL05I-AL-SLITS-01:YSIZE" />
	</bean>

	<bean id="s1_xring_motor" class="gda.device.motor.EpicsMotor">
		<property name="pvName" value="BL05I-AL-SLITS-01:XRING" />
	</bean>

	<bean id="s1_xhall_motor" class="gda.device.motor.EpicsMotor">
		<property name="pvName" value="BL05I-AL-SLITS-01:XHALL" />
	</bean>

	<bean id="s1_ytop_motor" class="gda.device.motor.EpicsMotor">
		<property name="pvName" value="BL05I-AL-SLITS-01:YPLUS" />
	</bean>

	<bean id="s1_ybottom_motor" class="gda.device.motor.EpicsMotor">
		<property name="pvName" value="BL05I-AL-SLITS-01:YMINUS" />
	</bean>

In dodal, we already have slit devices https://github.com/DiamondLightSource/dodal/blob/main/src/dodal/devices/slits.py. We can use class Slits as a base and then extend to add xring and xhall attributes. This should be added to i05_shared.py

I've had a look in GDA and can see other beamlines also use xring and xhall. E.g B07. So the class should also live in dodal/devices/slits.py so other beamlines can reuse. E.g SlitsXRingXHall

Activity

  1. changed the title [-]`s1_xgap` and `s1_ygap`[/-] [+]Add i05 `s1_xgap` and `s1_ygap`[/+] on Oct 30, 2026
  2. changed the title [-]Add i05 `s1_xgap` and `s1_ygap`[/-] [+]Add to i05_shared.py `s1_xgap` and `s1_ygap`[/+] on Oct 30, 2026
  3. DG-At-Diamond commented on Nov 10, 2026

    @DG-At-Diamond
    Collaborator

    I believe we can use the existing SlitsWithIndividualBlades as xring and xhall are just x_minus and x_plus (minus in the x direction is towards the ring, plus is towards the hall).

  4. oliwenmandiamond commented on Nov 10, 2026

    @oliwenmandiamond
    CollaboratorAuthor

    Note, we spoke to controls and they believe we can reuse existing classes as they are the same thing, just different name. We are using existing class for time being and show to beamline. We then either get controls to align or update our classes to use the names beamline want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions