Class ReferenceFeeder

    • Field Detail

    • Constructor Detail

      • ReferenceFeeder

        public ReferenceFeeder()
    • 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