Class ReferenceFeeder

    • Constructor Detail

      • ReferenceFeeder

        public ReferenceFeeder()
    • Method Detail

      • getLocation

        public Location getLocation()
      • setLocation

        public void setLocation​(Location location)
      • supportsFeedOptions

        public boolean supportsFeedOptions()
        Returns:
        True if feeder supports FeedOptions
      • 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
      • takeBackPart

        public void takeBackPart​(Nozzle nozzle)
                          throws java.lang.Exception
        Do general sanity for takeBackPart(). Intended to call from feeder implementation.
        Specified by:
        takeBackPart in interface Feeder
        Overrides:
        takeBackPart in class AbstractFeeder
        Throws:
        java.lang.Exception
      • putPartBack

        protected void putPartBack​(Nozzle nozzle)
                            throws java.lang.Exception
        Put part back to pick location and check if part off. Intended to to call from particular takeBackPart() implementation
        Parameters:
        nozzle -
        Throws:
        java.lang.Exception