public class ReferenceNozzle extends AbstractNozzle implements ReferenceHeadMountable
Locatable.LocationOptionNozzle.PartOffStep, Nozzle.PartOnStep, Nozzle.RotationModePropertySheetHolder.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, rotationModeOffsetpropertyChangeSupport| 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, syncCompatibleNozzleTipIdsgetApproximativeLocation, 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, waitForCompletionaddPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, firePropertyChange, removePropertyChangeListener, removePropertyChangeListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetHead, setHead, toHeadLocation, toHeadMountableLocation, waitForCompletiongetAxis, getAxisRotation, getAxisX, getAxisY, getAxisZ, getMappedAxes, toRaw, toTransformedgetSafeZ, getSafeZZone, isInSafeZZone, isReachable, moveTo, moveTo, moveToSafeZ, moveToSafeZgetApproximativeLocation, getLocationgetIdgetSubjectIcon, getSubjectTextgetSafePartHeight@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 AbstractHeadMountableprotected 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 ReferenceHeadMountablepublic void setHeadOffsets(Location headOffsets)
setHeadOffsets in interface ReferenceHeadMountablepublic void adjustHeadOffsetsDependencies(Location headOffsetsOld, Location headOffsetsNew)
headOffsetsOld - headOffsetsNew - offsetsDiff - public ReferenceNozzleTip getNozzleTip()
NozzlegetNozzleTip in interface Nozzlepublic void setNozzleTip(ReferenceNozzleTip nozzleTip)
public boolean isNozzleTipChangedOnManualFeed()
isNozzleTipChangedOnManualFeed in interface Nozzlepublic void setNozzleTipChangedOnManualFeed(boolean nozzleTipChangedOnManualFeed)
public Location getManualNozzleTipChangeLocation()
public void setManualNozzleTipChangeLocation(Location manualNozzleTipChangeLocation)
public void moveToPickLocation(Feeder feeder) throws java.lang.Exception
NozzleNozzle.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 Nozzlejava.lang.Exceptionpublic void pick(Part part) throws java.lang.Exception
Nozzlepublic void moveToPlacementLocation(Location placementLocation, Part part) throws java.lang.Exception
NozzleNozzle.place(). This might or might not involve offsets and actions for
contact-probing.moveToPlacementLocation in interface Nozzlepart - Part to be placed, null on discard.java.lang.Exceptionpublic void place()
throws java.lang.Exception
Nozzleprotected ReferenceNozzleTip getUnloadedNozzleTipStandin()
public ReferenceNozzleTip getCalibrationNozzleTip()
public Location getCameraToolCalibratedOffset(Camera camera)
HeadMountablegetCameraToolCalibratedOffset in interface HeadMountablegetCameraToolCalibratedOffset in class AbstractNozzleorg.openpnp.spi.Camera.getLocation(HeadMountable)public void calibrate()
throws java.lang.Exception
public boolean isCalibrated()
isCalibrated in interface Nozzlepublic Location toHeadLocation(Location location, Location currentLocation, Locatable.LocationOption... options)
toHeadLocation in class AbstractHeadMountablepublic Location toHeadMountableLocation(Location location, Location currentLocation, Locatable.LocationOption... options)
toHeadMountableLocation in class AbstractHeadMountablepublic Length getSafePartHeight(Part part)
getSafePartHeight in interface Nozzlepublic Length getEffectiveSafeZ() throws java.lang.Exception
getEffectiveSafeZ in interface MovablegetEffectiveSafeZ in class AbstractHeadMountablejava.lang.Exceptionpublic void home()
throws java.lang.Exception
Movablepublic void loadNozzleTip(NozzleTip nozzleTip) throws java.lang.Exception
NozzleloadNozzleTip in interface Nozzlejava.lang.Exceptionpublic void unloadNozzleTip()
throws java.lang.Exception
NozzleunloadNozzleTip in interface Nozzlejava.lang.Exceptionprotected void assertManualChangeLocation()
throws java.lang.Exception
java.lang.Exceptionprotected boolean isManualNozzleTipChangeLocationUndefined()
public boolean isChangerEnabled()
public void setChangerEnabled(boolean changerEnabled)
protected void ensureZCalibrated(boolean assumeNozzleTipLoaded)
throws java.lang.Exception
java.lang.Exceptionpublic Wizard getConfigurationWizard()
WizardConfigurablegetConfigurationWizard in interface WizardConfigurablepublic java.lang.String getPropertySheetHolderTitle()
getPropertySheetHolderTitle in interface PropertySheetHolderpublic PropertySheetHolder[] getChildPropertySheetHolders()
getChildPropertySheetHolders in interface PropertySheetHolderpublic PropertySheetHolder.PropertySheet[] getPropertySheets()
getPropertySheets in interface PropertySheetHolderpublic javax.swing.Action[] getPropertySheetHolderActions()
getPropertySheetHolderActions in interface PropertySheetHolderpublic java.lang.String toString()
toString in class java.lang.Objectprotected boolean isVaccumSenseActuatorEnabled()
protected boolean isVaccumActuatorEnabled()
public boolean isPartOnEnabled(Nozzle.PartOnStep step)
NozzleisPartOnEnabled in interface Nozzlestep - determines which JobProcessor Step wants to perform the checkpublic boolean isPartOffEnabled(Nozzle.PartOffStep step)
NozzleisPartOffEnabled in interface Nozzlestep - determines which JobProcessor Step wants to perform the checkpublic Actuator getVacuumSenseActuator()
public Actuator getExpectedVacuumSenseActuator() throws java.lang.Exception
java.lang.Exceptionpublic 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.Exceptionprotected void actuateVacuumValve(double value)
throws java.lang.Exception
java.lang.Exceptionprotected void actuateBlowValve(double value)
throws java.lang.Exception
java.lang.Exceptionpublic double readVacuumLevel()
throws java.lang.Exception
java.lang.Exceptionprotected boolean isPartOnGraphEnabled()
protected boolean isPartOffGraphEnabled()
protected void storeBeforePickVacuumLevel()
throws java.lang.Exception
java.lang.Exceptionprotected void storeBeforePlaceVacuumLevel()
throws java.lang.Exception
java.lang.Exceptionprotected void establishPickVacuumLevel(int milliseconds)
throws java.lang.Exception
java.lang.Exceptionprotected void establishPlaceVacuumLevel(int milliseconds)
throws java.lang.Exception
java.lang.Exceptionprotected double probePartOffVacuumLevel(int probingMilliseconds,
int dwellMilliseconds)
throws java.lang.Exception
java.lang.Exceptionpublic boolean isPartOn()
throws java.lang.Exception
Nozzlepublic boolean isPartOff()
throws java.lang.Exception
Nozzlepublic void findIssues(Solutions solutions)
Solutions.SubjectfindIssues in interface Solutions.Subject@Deprecated public void migrateSafeZ()