Package org.openpnp.machine.reference
Class ReferenceFeeder
- java.lang.Object
-
- org.openpnp.model.AbstractModelObject
-
- org.openpnp.spi.base.AbstractFeeder
-
- org.openpnp.machine.reference.ReferenceFeeder
-
- All Implemented Interfaces:
Identifiable
,Named
,Solutions.Subject
,Feeder
,PropertySheetHolder
,WizardConfigurable
- Direct Known Subclasses:
AbstractPandaplacerVisionFeeder
,AdvancedLoosePartFeeder
,BlindsFeeder
,Neoden4Feeder
,PhotonFeeder
,RapidFeeder
,ReferenceAutoFeeder
,ReferenceDragFeeder
,ReferenceHeapFeeder
,ReferenceLeverFeeder
,ReferenceLoosePartFeeder
,ReferencePushPullFeeder
,ReferenceRotatedTrayFeeder
,ReferenceStripFeeder
,ReferenceTrayFeeder
,ReferenceTubeFeeder
,SchultzFeeder
public abstract class ReferenceFeeder extends AbstractFeeder
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.openpnp.spi.PropertySheetHolder
PropertySheetHolder.PropertySheet
-
-
Field Summary
Fields Modifier and Type Field Description protected Location
location
-
Fields inherited from class org.openpnp.spi.base.AbstractFeeder
enabled, feedRetryCount, id, name, part, partId, pickRetryCount, retryCount
-
Fields inherited from class org.openpnp.model.AbstractModelObject
propertyChangeSupport
-
-
Constructor Summary
Constructors Constructor Description ReferenceFeeder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Location
getJobPreparationLocation()
Some feeders need preparation for a Job that is best done up front and in bulk, such as vision calibration, actuating covers, checking OCR labels etc.Location
getLocation()
void
prepareForJob(boolean visit)
Prepares a Feeder for usage in a Job.void
setLocation(Location location)
-
Methods inherited from class org.openpnp.spi.base.AbstractFeeder
canTakeBackPart, getFeedRetryCount, getId, getName, getPart, getPickRetryCount, getPropertySheetHolderIcon, getPropertySheets, isEnabled, postPick, setEnabled, setFeedRetryCount, setName, setPart, setPickRetryCount, takeBackPart
-
Methods inherited from class org.openpnp.model.AbstractModelObject
addPropertyChangeListener, addPropertyChangeListener, dispose, dumpListeners, fireIndexedPropertyChange, firePropertyChange, isListener, isListener, removePropertyChangeListener, removePropertyChangeListener
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.openpnp.spi.Feeder
feed, getPickLocation, isPartHeightAbovePickLocation
-
Methods inherited from interface org.openpnp.spi.PropertySheetHolder
getChildPropertySheetHolders, getPropertySheetHolderActions, getPropertySheetHolderTitle
-
Methods inherited from interface org.openpnp.model.Solutions.Subject
findIssues, getSubjectIcon, getSubjectText
-
Methods inherited from interface org.openpnp.spi.WizardConfigurable
getConfigurationWizard
-
-
-
-
Field Detail
-
location
protected Location location
-
-
Method Detail
-
getLocation
public Location getLocation()
-
setLocation
public void setLocation(Location location)
-
getJobPreparationLocation
public Location getJobPreparationLocation()
Description copied from interface:Feeder
Some feeders need preparation for a Job that is best done up front and in bulk, such as vision calibration, actuating covers, checking OCR labels etc. Some prep requires the head moving to the feeder. For efficiency the JobProcessor uses a Travelling Salesman algorithm to visit all these feeders. The locations for these visits are gathered using getJobPreparationLocation().- Returns:
- The location for the feeder Job preparation visit or null if none.
-
prepareForJob
public void prepareForJob(boolean visit) throws java.lang.Exception
Description copied from interface:Feeder
Prepares a Feeder for usage in a Job. This is done for all the feeders that are enabled and contain Parts that are used in pending placements. Preparation is done when the Job is started, so it can perform bulk initialization that should not be postponed until the Nozzle.feed()- Parameters:
visit
- true for visits along the getJobPreparationLocation() travel path, false for general preparation (second pass for visited feeders).- Throws:
java.lang.Exception
-
-