dodal.devices.hutch_shutter.PLCShutterInterlock#

class dodal.devices.hutch_shutter.PLCShutterInterlock[source]#

Device to check the interlock state of the shutter using PLC pv.

Parameters:
  • bl_prefix (str)

  • shtr_infix (str, default: '')

  • interlock_suffix (str, default: '-PS-SHTR-01')

  • name (str, default: '')

Methods

shutter_safe_to_operate()

If the status value is OK or Run Ilk OK, shutter is open or safe to operate.

Attributes

status

bl_prefix

async shutter_safe_to_operate() bool[source]#

If the status value is OK or Run Ilk OK, shutter is open or safe to operate.

If the status value is “OK”, valve or shutter is open and interlocks are OK to operate. If the status value is “Run Ilks Ok”, the opening action can be started. If the status value is not OK (“Failed” or “Disarmed”), interlocks have failed and the shutter cannot be operated. Disarmed status applies only to fast shutters.

Return type:

bool