public class ReferenceNozzle extends AbstractNozzle implements ReferenceHeadMountable
Locatable.LocationOption
Nozzle.PartOffStep, Nozzle.PartOnStep, Nozzle.RotationMode
PropertySheetHolder.PropertySheet
Modifier and Type | Field and Description |
---|---|
javax.swing.Action |
deleteAction |
protected ReferenceNozzleTip |
nozzleTip |
protected Length |
safeZ
Deprecated.
|
aligningRotationMode, compatibleNozzleTipIds, compatibleNozzleTips, head, id, maxAlignmentArticulationAngle, maxPickArticulationAngle, name, part, rotationMode, rotationModeOffset
propertyChangeSupport
Constructor and Description |
---|
ReferenceNozzle() |
ReferenceNozzle(java.lang.String id) |
Modifier and Type | Method and Description |
---|---|
protected void |
actuateBlowValve(double value) |
protected void |
actuateVacuumValve(boolean on) |
protected void |
actuateVacuumValve(double value) |
void |
adjustHeadOffsetsDependencies(Location headOffsetsOld,
Location headOffsetsNew)
Adjust any dependent head offsets, e.g.
|
void |
applyConfiguration(Configuration configuration) |
protected void |
assertManualChangeLocation() |
void |
calibrate() |
protected void |
ensureZCalibrated(boolean assumeNozzleTipLoaded) |
protected void |
establishPickVacuumLevel(int milliseconds) |
protected void |
establishPlaceVacuumLevel(int milliseconds) |
void |
findIssues(Solutions solutions)
Report any detected issue and proposed solution in the list.
|
Actuator |
getBlowOffActuator() |
ReferenceNozzleTip |
getCalibrationNozzleTip() |
Location |
getCameraToolCalibratedOffset(Camera camera)
Get the tool specific calibrated offset for the camera.
|
PropertySheetHolder[] |
getChildPropertySheetHolders() |
Wizard |
getConfigurationWizard()
Gets a Wizard that can be used to configure this object.
|
Length |
getEffectiveSafeZ() |
Actuator |
getExpectedBlowOffActuator() |
Actuator |
getExpectedVacuumActuator() |
Actuator |
getExpectedVacuumSenseActuator() |
Location |
getHeadOffsets() |
Location |
getManualNozzleTipChangeLocation() |
ReferenceNozzleTip |
getNozzleTip()
Get the NozzleTip currently attached to the Nozzle.
|
int |
getPickDwellMilliseconds() |
int |
getPlaceDwellMilliseconds() |
javax.swing.Action[] |
getPropertySheetHolderActions() |
java.lang.String |
getPropertySheetHolderTitle() |
PropertySheetHolder.PropertySheet[] |
getPropertySheets() |
Length |
getSafePartHeight(Part part) |
protected ReferenceNozzleTip |
getUnloadedNozzleTipStandin() |
Actuator |
getVacuumActuator() |
Actuator |
getVacuumSenseActuator() |
void |
home()
Perform any homing operation on each movable.
|
boolean |
isBlowOffClosingValve() |
boolean |
isCalibrated() |
boolean |
isChangerEnabled() |
boolean |
isEnableDynamicSafeZ() |
boolean |
isLimitRotation()
Deprecated.
|
protected boolean |
isManualNozzleTipChangeLocationUndefined() |
boolean |
isNozzleTipChangedOnManualFeed() |
boolean |
isPartOff()
Returns true if a part appears to be off the nozzle.
|
boolean |
isPartOffEnabled(Nozzle.PartOffStep step)
Returns true if the isPartOff() method is available.
|
protected boolean |
isPartOffGraphEnabled() |
boolean |
isPartOn()
Returns true if a part appears to be on the nozzle.
|
boolean |
isPartOnEnabled(Nozzle.PartOnStep step)
Returns true if the isPartOn() method is available.
|
protected boolean |
isPartOnGraphEnabled() |
protected boolean |
isVaccumActuatorEnabled() |
protected boolean |
isVaccumSenseActuatorEnabled() |
void |
loadNozzleTip(NozzleTip nozzleTip)
Changer interface:
Command the Nozzle to load the given NozzleTip as it's current NozzleTip.
|
void |
migrateSafeZ()
Deprecated.
|
void |
moveToPickLocation(Feeder feeder)
Move the Nozzle to the given feeder pick location.
|
void |
moveToPlacementLocation(Location placementLocation,
Part part)
Move the Nozzle to the given placementLocation.
|
protected void |
persist() |
void |
pick(Part part)
Commands the Nozzle to perform it's pick operation.
|
void |
place()
Commands the Nozzle to perform it's place operation.
|
protected double |
probePartOffVacuumLevel(int probingMilliseconds,
int dwellMilliseconds) |
double |
readVacuumLevel() |
void |
setBlowOffActuator(Actuator actuator)
Set the actuator used to blow off parts on the Nozzle.
|
void |
setBlowOffClosingValve(boolean blowOffClosingValve) |
void |
setChangerEnabled(boolean changerEnabled) |
void |
setEnableDynamicSafeZ(boolean enableDynamicSafeZ) |
void |
setHeadOffsets(Location headOffsets) |
void |
setManualNozzleTipChangeLocation(Location manualNozzleTipChangeLocation) |
void |
setNozzleTip(ReferenceNozzleTip nozzleTip) |
void |
setNozzleTipChangedOnManualFeed(boolean nozzleTipChangedOnManualFeed) |
void |
setPickDwellMilliseconds(int pickDwellMilliseconds) |
void |
setPlaceDwellMilliseconds(int placeDwellMilliseconds) |
void |
setVacuumActuator(Actuator actuator)
Set the actuator used to switch the vacuum valve on the Nozzle.
|
void |
setVacuumSenseActuator(Actuator actuator)
Set the actuator used to sense the vacuum on the Nozzle.
|
protected void |
storeBeforePickVacuumLevel() |
protected void |
storeBeforePlaceVacuumLevel() |
Location |
toHeadLocation(Location location,
Location currentLocation,
Locatable.LocationOption... options) |
Location |
toHeadMountableLocation(Location location,
Location currentLocation,
Locatable.LocationOption... options) |
java.lang.String |
toString() |
void |
unloadNozzleTip()
Changer interface:
Unload the current NozzleTip from the Nozzle, leaving it empty.
|
addCompatibleNozzleTip, getCompatibleNozzleTips, getCompatibleNozzleTips, getHead, getId, getName, getPart, getPropertySheetHolderIcon, getRotationMode, getRotationModeLimits, getRotationModeOffset, isAligningRotationMode, isNozzleTipAndPartCompatible, prepareForPickAndPlaceArticulation, removeCompatibleNozzleTip, setAligningRotationMode, setHead, setName, setPart, setRotationMode, setRotationModeOffset, syncCompatibleNozzleTipIds
getApproximativeLocation, getAxis, getAxisRotation, getAxisX, getAxisY, getAxisZ, getCalibratedHeadOffsets, getCoordinateAxisZ, getLocation, getMachine, getMappedAxes, getSafeZ, getSafeZZone, headMountableToRawZ, isInSafeZZone, isReachable, moveTo, moveTo, moveToSafeZ, moveToSafeZ, rawToHeadMountableZ, setAxis, setAxis, setAxisRotation, setAxisX, setAxisY, setAxisZ, setSafeZ, substituteUnchangedCoordinates, toAxesLocation, toHeadLocation, toHeadMountableLocation, toMappedLocation, toRaw, toTransformed, waitForCompletion
addPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, firePropertyChange, removePropertyChangeListener, removePropertyChangeListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getHead, setHead, toHeadLocation, toHeadMountableLocation, waitForCompletion
getAxis, getAxisRotation, getAxisX, getAxisY, getAxisZ, getMappedAxes, toRaw, toTransformed
getSafeZ, getSafeZZone, isInSafeZZone, isReachable, moveTo, moveTo, moveToSafeZ, moveToSafeZ
getApproximativeLocation, getLocation
getId
getSubjectIcon, getSubjectText
getSafePartHeight
@Deprecated protected Length safeZ
protected ReferenceNozzleTip nozzleTip
public javax.swing.Action deleteAction
public ReferenceNozzle()
public ReferenceNozzle(java.lang.String id)
public void applyConfiguration(Configuration configuration)
applyConfiguration
in class AbstractHeadMountable
protected void persist()
@Deprecated public boolean isLimitRotation()
public boolean isEnableDynamicSafeZ()
public void setEnableDynamicSafeZ(boolean enableDynamicSafeZ)
public int getPickDwellMilliseconds()
public void setPickDwellMilliseconds(int pickDwellMilliseconds)
public int getPlaceDwellMilliseconds()
public void setPlaceDwellMilliseconds(int placeDwellMilliseconds)
public Location getHeadOffsets()
getHeadOffsets
in interface ReferenceHeadMountable
public void setHeadOffsets(Location headOffsets)
setHeadOffsets
in interface ReferenceHeadMountable
public void adjustHeadOffsetsDependencies(Location headOffsetsOld, Location headOffsetsNew)
headOffsetsOld
- headOffsetsNew
- offsetsDiff
- public ReferenceNozzleTip getNozzleTip()
Nozzle
getNozzleTip
in interface Nozzle
public void setNozzleTip(ReferenceNozzleTip nozzleTip)
public boolean isNozzleTipChangedOnManualFeed()
isNozzleTipChangedOnManualFeed
in interface Nozzle
public void setNozzleTipChangedOnManualFeed(boolean nozzleTipChangedOnManualFeed)
public Location getManualNozzleTipChangeLocation()
public void setManualNozzleTipChangeLocation(Location manualNozzleTipChangeLocation)
public void moveToPickLocation(Feeder feeder) throws java.lang.Exception
Nozzle
Nozzle.pick(Part)
. This might or might not involve offsets and actions for
contact-probing e.g. to determine the feeder's calibrated Z.moveToPickLocation
in interface Nozzle
java.lang.Exception
public void pick(Part part) throws java.lang.Exception
Nozzle
public void moveToPlacementLocation(Location placementLocation, Part part) throws java.lang.Exception
Nozzle
Nozzle.place()
. This might or might not involve offsets and actions for
contact-probing.moveToPlacementLocation
in interface Nozzle
part
- Part to be placed, null on discard.java.lang.Exception
public void place() throws java.lang.Exception
Nozzle
protected ReferenceNozzleTip getUnloadedNozzleTipStandin()
public ReferenceNozzleTip getCalibrationNozzleTip()
public Location getCameraToolCalibratedOffset(Camera camera)
HeadMountable
getCameraToolCalibratedOffset
in interface HeadMountable
getCameraToolCalibratedOffset
in class AbstractNozzle
org.openpnp.spi.Camera.getLocation(HeadMountable)
public void calibrate() throws java.lang.Exception
public boolean isCalibrated()
isCalibrated
in interface Nozzle
public Location toHeadLocation(Location location, Location currentLocation, Locatable.LocationOption... options)
toHeadLocation
in class AbstractHeadMountable
public Location toHeadMountableLocation(Location location, Location currentLocation, Locatable.LocationOption... options)
toHeadMountableLocation
in class AbstractHeadMountable
public Length getSafePartHeight(Part part)
getSafePartHeight
in interface Nozzle
public Length getEffectiveSafeZ() throws java.lang.Exception
getEffectiveSafeZ
in interface Movable
getEffectiveSafeZ
in class AbstractHeadMountable
java.lang.Exception
public void home() throws java.lang.Exception
Movable
public void loadNozzleTip(NozzleTip nozzleTip) throws java.lang.Exception
Nozzle
loadNozzleTip
in interface Nozzle
java.lang.Exception
public void unloadNozzleTip() throws java.lang.Exception
Nozzle
unloadNozzleTip
in interface Nozzle
java.lang.Exception
protected void assertManualChangeLocation() throws java.lang.Exception
java.lang.Exception
protected boolean isManualNozzleTipChangeLocationUndefined()
public boolean isChangerEnabled()
public void setChangerEnabled(boolean changerEnabled)
protected void ensureZCalibrated(boolean assumeNozzleTipLoaded) throws java.lang.Exception
java.lang.Exception
public Wizard getConfigurationWizard()
WizardConfigurable
getConfigurationWizard
in interface WizardConfigurable
public java.lang.String getPropertySheetHolderTitle()
getPropertySheetHolderTitle
in interface PropertySheetHolder
public PropertySheetHolder[] getChildPropertySheetHolders()
getChildPropertySheetHolders
in interface PropertySheetHolder
public PropertySheetHolder.PropertySheet[] getPropertySheets()
getPropertySheets
in interface PropertySheetHolder
public javax.swing.Action[] getPropertySheetHolderActions()
getPropertySheetHolderActions
in interface PropertySheetHolder
public java.lang.String toString()
toString
in class java.lang.Object
protected boolean isVaccumSenseActuatorEnabled()
protected boolean isVaccumActuatorEnabled()
public boolean isPartOnEnabled(Nozzle.PartOnStep step)
Nozzle
isPartOnEnabled
in interface Nozzle
step
- determines which JobProcessor Step wants to perform the checkpublic boolean isPartOffEnabled(Nozzle.PartOffStep step)
Nozzle
isPartOffEnabled
in interface Nozzle
step
- determines which JobProcessor Step wants to perform the checkpublic Actuator getVacuumSenseActuator()
public Actuator getExpectedVacuumSenseActuator() throws java.lang.Exception
java.lang.Exception
public void setVacuumSenseActuator(Actuator actuator)
actuator
- public Actuator getVacuumActuator()
public Actuator getExpectedVacuumActuator() throws java.lang.Exception
java.lang.Exception
- when the actuator is not configured.public void setVacuumActuator(Actuator actuator)
actuator
- public Actuator getBlowOffActuator()
public Actuator getExpectedBlowOffActuator() throws java.lang.Exception
java.lang.Exception
- when the actuator is not configured.public void setBlowOffActuator(Actuator actuator)
actuator
- public boolean isBlowOffClosingValve()
public void setBlowOffClosingValve(boolean blowOffClosingValve)
protected void actuateVacuumValve(boolean on) throws java.lang.Exception
java.lang.Exception
protected void actuateVacuumValve(double value) throws java.lang.Exception
java.lang.Exception
protected void actuateBlowValve(double value) throws java.lang.Exception
java.lang.Exception
public double readVacuumLevel() throws java.lang.Exception
java.lang.Exception
protected boolean isPartOnGraphEnabled()
protected boolean isPartOffGraphEnabled()
protected void storeBeforePickVacuumLevel() throws java.lang.Exception
java.lang.Exception
protected void storeBeforePlaceVacuumLevel() throws java.lang.Exception
java.lang.Exception
protected void establishPickVacuumLevel(int milliseconds) throws java.lang.Exception
java.lang.Exception
protected void establishPlaceVacuumLevel(int milliseconds) throws java.lang.Exception
java.lang.Exception
protected double probePartOffVacuumLevel(int probingMilliseconds, int dwellMilliseconds) throws java.lang.Exception
java.lang.Exception
public boolean isPartOn() throws java.lang.Exception
Nozzle
public boolean isPartOff() throws java.lang.Exception
Nozzle
public void findIssues(Solutions solutions)
Solutions.Subject
findIssues
in interface Solutions.Subject
@Deprecated public void migrateSafeZ()