Class ReferenceDragFeeder

  • All Implemented Interfaces:
    Identifiable, Named, Solutions.Subject, Feeder, PropertySheetHolder, WizardConfigurable

    public class ReferenceDragFeeder
    extends ReferenceFeeder
    Vision System Description The Vision Operation is defined as moving the Camera to the defined Pick Location, performing a template match against the Template Image bound by the Area of Interest and then storing the offsets from the Pick Location to the matched image as Vision Offsets. The feed operation consists of: 1. Apply the Vision Offsets to the Feed Start Location and Feed End Location. 2. Feed the tape with the modified Locations. 3. Perform the Vision Operation. 4. Apply the new Vision Offsets to the Pick Location and return the Pick Location for Picking. This leaves the head directly above the Pick Location, which means that when the Feeder is then commanded to pick the Part it only needs to move the distance of the Vision Offsets and do the pick. The Vision Offsets are then used in the next feed operation to be sure to hit the tape at the right position.
    • Field Detail

      • feedStartLocation

        protected Location feedStartLocation
      • feedEndLocation

        protected Location feedEndLocation
      • feedSpeed

        protected double feedSpeed
      • actuatorName

        protected java.lang.String actuatorName
      • peelOffActuatorName

        protected java.lang.String peelOffActuatorName
      • backoffDistance

        protected Length backoffDistance
      • visionOffset

        protected Location visionOffset
    • Constructor Detail

      • ReferenceDragFeeder

        public ReferenceDragFeeder()
    • Method Detail

      • getPickLocation

        public Location getPickLocation()
                                 throws java.lang.Exception
        Description copied from interface: Feeder
        Gets the Location from which the currently available Part should be picked from. This value may not be valid until after a feed has been performed for Feeders who update the pick location. The location Z might mean part underside or part surface, depending on the feeder type, as determined by Feeder.isPartHeightAbovePickLocation().
        Returns:
        Throws:
        java.lang.Exception
      • feed

        public void feed​(Nozzle nozzle)
                  throws java.lang.Exception
        Description copied from interface: Feeder
        Commands the Feeder to do anything it needs to do to prepare the part to be picked by the specified Nozzle. If the Feeder requires Head interaction to feed it will perform those operations during this call.
        Parameters:
        nozzle - The Nozzle to be used for picking after the feed is completed. The Feeder may use this Nozzle to determine which Head, and therefore which Actuators and Cameras it can use for assistance.
        Throws:
        java.lang.Exception
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • resetVisionOffsets

        public void resetVisionOffsets()
      • isPart0402

        public boolean isPart0402()
      • getFeedStartLocation

        public Location getFeedStartLocation()
      • setFeedStartLocation

        public void setFeedStartLocation​(Location feedStartLocation)
      • getFeedEndLocation

        public Location getFeedEndLocation()
      • setFeedEndLocation

        public void setFeedEndLocation​(Location feedEndLocation)
      • getPartPitch

        public Length getPartPitch()
      • setPartPitch

        public void setPartPitch​(Length partPitch)
      • getFeedSpeed

        public java.lang.Double getFeedSpeed()
      • setFeedSpeed

        public void setFeedSpeed​(java.lang.Double feedSpeed)
      • getActuatorName

        public java.lang.String getActuatorName()
      • setActuatorName

        public void setActuatorName​(java.lang.String actuatorName)
      • getPeelOffActuatorName

        public java.lang.String getPeelOffActuatorName()
      • setPeelOffActuatorName

        public void setPeelOffActuatorName​(java.lang.String actuatorName)
      • getBackoffDistance

        public Length getBackoffDistance()
      • setBackoffDistance

        public void setBackoffDistance​(Length backoffDistance)
      • getConfigurationWizard

        public Wizard getConfigurationWizard()
        Description copied from interface: WizardConfigurable
        Gets a Wizard that can be used to configure this object.
        Returns:
      • getPropertySheetHolderTitle

        public java.lang.String getPropertySheetHolderTitle()
      • getPropertySheetHolderActions

        public javax.swing.Action[] getPropertySheetHolderActions()