Parts With Sides
Configure settings as follows to retrieve one side of parts with multiple sides.
Vision sequence
Refer to the following and create it in the same way.
Simple PartsVision objects
- Register an object detecting the front side of parts (e.g.: Geometric).
- Register an object detecting the back side of parts (e.g.: Geometric).
E.g.: Create two Geometric objects to determine which side a part is facing. (Geom01 to detect the front sides of parts, Geom02 to detect the back sides of parts)
The Geometric property settings example is as follows.
Property | Configuration method |
---|---|
Accept | Set to ensure that parts are detected. |
NumberToFind | Set to All. |
SearchWindow | Match to the inner circumference of the platform. |
ModelWindow | Teach parts along their contour. |
KEY POINTS
The Timeout property setting can be important for Geometric and Correlation vision objects. Otherwise, processing may take as long as 2000 milliseconds (the default).
Example:
Geometric with NumberToFind = 9
A lot of parts in the image
VRun
→ Time to find is 75 ms. for this example.
Set NumberToFind = All
VRun
→ Time is about 2000 ms (the timeout value)
Set Timeout to 100 ms
VRun
→ Time is about 2000 ms (the timeout value)
So, if Timeout is not set correctly, the application may take for up to 2000 ms (default) when the Geometric or Correlation runs. For time critical applications, it is important to set Timeout correctly.