Package org.openpnp.machine.reference
Class ActuatorInterlockMonitor
- java.lang.Object
-
- org.openpnp.model.AbstractModelObject
-
- org.openpnp.machine.reference.ActuatorInterlockMonitor
-
- All Implemented Interfaces:
Actuator.InterlockMonitor
public class ActuatorInterlockMonitor extends AbstractModelObject implements Actuator.InterlockMonitor
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classActuatorInterlockMonitor.ActuatorStatestatic classActuatorInterlockMonitor.InterlockType
-
Field Summary
-
Fields inherited from class org.openpnp.model.AbstractModelObject
propertyChangeSupport
-
-
Constructor Summary
Constructors Constructor Description ActuatorInterlockMonitor()
-
Method Summary
-
Methods inherited from class org.openpnp.model.AbstractModelObject
addPropertyChangeListener, addPropertyChangeListener, dispose, dumpListeners, fireIndexedPropertyChange, firePropertyChange, isListener, isListener, removePropertyChangeListener, removePropertyChangeListener
-
-
-
-
Method Detail
-
getInterlockType
public ActuatorInterlockMonitor.InterlockType getInterlockType()
-
setInterlockType
public void setInterlockType(ActuatorInterlockMonitor.InterlockType interlockType)
-
getInterlockAxis1
public CoordinateAxis getInterlockAxis1()
-
setInterlockAxis1
public void setInterlockAxis1(CoordinateAxis interlockAxis1)
-
getInterlockAxis2
public CoordinateAxis getInterlockAxis2()
-
setInterlockAxis2
public void setInterlockAxis2(CoordinateAxis interlockAxis2)
-
getInterlockAxis3
public CoordinateAxis getInterlockAxis3()
-
setInterlockAxis3
public void setInterlockAxis3(CoordinateAxis interlockAxis3)
-
getInterlockAxis4
public CoordinateAxis getInterlockAxis4()
-
setInterlockAxis4
public void setInterlockAxis4(CoordinateAxis interlockAxis4)
-
getConditionalActuator
public Actuator getConditionalActuator()
-
setConditionalActuator
public void setConditionalActuator(Actuator conditionalActuator)
-
getConfirmationGoodMin
public double getConfirmationGoodMin()
-
setConfirmationGoodMin
public void setConfirmationGoodMin(double confirmationGoodMin)
-
getConfirmationGoodMax
public double getConfirmationGoodMax()
-
setConfirmationGoodMax
public void setConfirmationGoodMax(double confirmationGoodMax)
-
getConfirmationPattern
public java.lang.String getConfirmationPattern()
-
setConfirmationPattern
public void setConfirmationPattern(java.lang.String confirmationPattern)
-
isConfirmationByRegex
public boolean isConfirmationByRegex()
-
setConfirmationByRegex
public void setConfirmationByRegex(boolean confirmationByRegex)
-
getConditionalActuatorState
public ActuatorInterlockMonitor.ActuatorState getConditionalActuatorState()
-
setConditionalActuatorState
public void setConditionalActuatorState(ActuatorInterlockMonitor.ActuatorState conditionalActuatorState)
-
getConditionalSpeedMin
public double getConditionalSpeedMin()
-
setConditionalSpeedMin
public void setConditionalSpeedMin(double conditionalSpeedMin)
-
getConditionalSpeedMax
public double getConditionalSpeedMax()
-
setConditionalSpeedMax
public void setConditionalSpeedMax(double conditionalSpeedMax)
-
actuate
public void actuate(Actuator actuator, boolean on) throws java.lang.Exception
- Throws:
java.lang.Exception
-
interlockActuation
public boolean interlockActuation(Actuator actuator, AxesLocation location0, AxesLocation location1, boolean beforeMove, double speed) throws java.lang.Exception
Description copied from interface:Actuator.InterlockMonitorThis method is called before and after a move is executed by the motion planner. All interlock action must be performed here.- Specified by:
interlockActuationin interfaceActuator.InterlockMonitorlocation0- Move start locationlocation1- Move end locationbeforeMove- true if called before the move, false if called after the move.speed- Move effective speed- Returns:
- true if the interlock conditions applied.
- Throws:
java.lang.Exception
-
getConfigurationWizard
public Wizard getConfigurationWizard(AbstractActuator actuator)
- Specified by:
getConfigurationWizardin interfaceActuator.InterlockMonitor
-
-