Create the Vision Sequences
This section describes how to create two Vision sequences.
Be sure to create not only a Vision sequence for the part detection but also for the feeder calibration.
Creating a Vision Sequence for Part Detection
Create a Vision sequence for part detection.
Click the [Vision Guide] button to display the Vision Guide dialog.
Place a part on the feeder.
Create a new Vision sequence. Configure the properties as follows.
Property | Configuration method |
---|---|
Name | Set an adequate name. (Example: VS_Part1) |
Calibration | Configure vision calibration. |
ExposureTime | Make the settings, bearing the following in mind. - The part is clearly identifiable. - The brightness of the center of the platform and that of the surrounding area are almost the same. |
- Add a Blob object. Configure the properties as follows.
Property | Configuration method |
---|---|
SearchWindow | Set the detection area to the entire platform. |
NumberToFind | Set to "All." |
MaxArea | Set a value as 1.3 times as the part’s Area value. |
MinArea | Set a value as 0.7 times as the part’s Area value. |
ThresholdHigh | Set to ensure that parts are detected. Make the setting so that the part will be certainly detected and the dark areas outside the platform will not be mistakenly detected. |
TIP
If the part is not detected correctly, readjust the other properties and the properties of the Vision sequences.
- On completion of the settings, click the [Run] button and check that the part is identifiable correctly and the background is not mistakenly detected.
- On completion of the settings, select Vision Guide menu - [File] - [Save] button to save the settings. Your settings will be saved.
TIP
For details on creating for a Vision sequence for part detection, refer to the following section.
Creating a Vision Sequence for Feeder Calibration
- Create a new Vision sequence. Configure the properties as follows.
Property | Configuration method |
---|---|
Name | Set an adequate name. (Example: VS_Part1_Cal) |
Calibration | Configure vision calibration. |
ExposureTime | Set this to identify the part clearly. |
- Add a Blob object. Configure the properties as follows.
Property | Configuration method |
---|---|
SearchWindow | Set the detection area to the entire platform. |
MaxArea | Leave as the default value. |
MinArea | Set to around 0.9 times that of the parts area. Use the following procedure to confirm the size of the parts area. 1. Turn on the feeder backlight. 2. Place several parts on the platform so that they do not overlap. 3. Run the vision sequence. 4. The parts area is the average area for Blob results. |
NumberToFind | Set to “All.” |
ThresholdHigh | Set to ensure that parts are detected. Make the setting so that the part will be certainly detected and the dark areas outside the platform will not be mistakenly detected. |
TIP
If the part is not detected correctly, readjust the other properties and the properties of the Vision sequences.
If you don't want areas such as dark place or dirt on the feeder to be detected, use the "don’t care pixels" to exclude those areas from detection target. Refer to the following section for further details.
- On completion of the settings, click the [Run] button and check that the part can be correctly identified, and that the background was not mistakenly detected.
- On completion of the settings, select Vision Guide menu - [File] - [Save] button to save the settings. Your settings will be saved.
- Close the Vision Guide screen.
TIP
For details on creating for a Vision sequence for Feeder Calibration, refer to the following section.