@@ -325,6 +325,7 @@ class TomoSampleChanger(Device):
SamplePosition=attribute(
dtype='DevString',
label="Sample position",
)
SampleLoaded=attribute(
...
...
@@ -340,10 +341,18 @@ class TomoSampleChanger(Device):
ParkingPosition=attribute(
dtype='DevBoolean',
label="Parking position",
)
RemoteMode=attribute(
dtype='DevBoolean',
label="Remote mode",
)
SafetyChainOK=attribute(
dtype='DevBoolean',
label="Safety chain OK",
doc="The safety interlock is active when an emergency stop button was pressed or the hutch is not seached and closed. \nWhen the safety interlock is active, robot movements are allowed only in manual operation mode.",
)
AirPressureOK=attribute(
...
...
@@ -366,7 +375,7 @@ class TomoSampleChanger(Device):
RobotLibraryName=attribute(
dtype='DevString',
label="Robot Library Name",
label="Robot library name",
)
# ---------------
...
...
@@ -500,6 +509,12 @@ class TomoSampleChanger(Device):
# PROTECTED REGION END # // TomoSampleChanger.RemoteMode_read
defread_SafetyChainOK(self):
# PROTECTED REGION ID(TomoSampleChanger.SafetyChainOK_read) ENABLED START #
"""Return the SafetyChainOK attribute."""
returnself.__safety_chain_ok
# PROTECTED REGION END # // TomoSampleChanger.SafetyChainOK_read
defread_AirPressureOK(self):
# PROTECTED REGION ID(TomoSampleChanger.AirPressureOK_read) ENABLED START #
...
...
@@ -855,9 +870,35 @@ class TomoSampleChanger(Device):
:return:None
"""
pass
self.robot.isAligned=True
# PROTECTED REGION END # // TomoSampleChanger.IsAligned
defis_IsAligned_allowed(self):
# PROTECTED REGION ID(TomoSampleChanger.is_IsAligned_allowed) ENABLED START #
<commandsname="ForceParkingPosition"description="Go back to the safe parking position form anywhere. 
Attention: Should only be done after a verification that nothing can be 
damaged by the movement. The command can olny be executed in local mode!"execMethod="force_parking_position"displayLevel="OPERATOR"polledPeriod="0"isDynamic="false">
<commandsname="ManualUnload"description="You need to unload the sample manually. This command delets any registered loaded sample!"execMethod="manual_unload"displayLevel="OPERATOR"polledPeriod="0"isDynamic="false">
<commandsname="IsAligned"description="Forces the alignment flag to be set to True! Can be used after a server re-start 
to avoid executing a new alignment procedure."execMethod="is_aligned"displayLevel="OPERATOR"polledPeriod="0"isDynamic="false">
<commandsname="ResumeAfterSafetyInterlock"description="Resume a paused movement after a 
safety intelock during a movement."execMethod="resume_after_safety_interlock"displayLevel="OPERATOR"polledPeriod="0"isDynamic="false">
<propertiesdescription="The safety interlock is active when an emergency stop button was pressed or the hutch is not seached and closed. 
When the safety interlock is active, robot movements are allowed only in manual operation mode."label="Safety chain OK"unit=""standardUnit=""displayUnit=""format=""maxValue=""minValue=""maxAlarm=""minAlarm=""maxWarning=""minWarning=""deltaTime=""deltaValue=""/>