VI User Manual - 第164页

Tools library 7 - 2 Vision 2007 4.10 User Manual Re v 01 4. In the Library menu, go to Create a table o f images and select Full board . The Li- brary Pictures window appears and then sele ct the directo ry where the cap…

100%1 / 412
Vision 2007 4.10 User Manual Rev 01 7 - 1
Chapter 7
Tools library
7.1 Component library
The component library is organized in 2 parts:
A .bm file containing information on the component models.
A directory of the same name containing the .cvl files.
The following information are general for each component model:
Component search window size.
Tolerances used for the inspection.
Tool(s) used for the inspection.
Link(s) between the different processing sequences.
Different lights used.
This chapter will teach you how to:
Create a table of images from a full and empty panel.
Create models in the library from the table of images.
Create synthetic images with BuildModel.
Create synthetic images with Image Edit.
7.1.1 Creating a table of images
7.1.1.1 Full panel
1. Run Vision 2007 software and open the .tst file corresponding to the panel that you
want to inspect. The conveyor will be adjusted automatically.
2. Click on the Load board icon or use the keyboard shortcut F3.
3. Click on the Fiducial execution icon to calculate panel readjustment. Check, and ad-
just if necessary, the intensity of the lighting.
To be able to use these different functions
You must have a .tst file corresponding to the panel that you want to inspect.
Fiducial treatment must be correctly defined to ensure proper board readjustment when the images of
the components are taken.
Place the panel with the components in the machine.
Ensure that the panel locks and board supports are properly adjusted.
Tools library
7 - 2 Vision 2007 4.10 User Manual Rev 01
4. In the Library menu, go to Create a table of images and select Full board. The Li-
brary Pictures window appears and then select the directory where the captured im-
ages are to be stored. If necessary, select or create a new folder. Click Open to
validate your choice and continue.
The machine is in the process of taking the images of the panel’s components. Each
component will be photographed 5 times, one image for each type of lighting predefined
in the zone with which the component is associated. These images are automatically
saved in the .bmp format in the previously defined directory.
7.1.1.2 Empty panel
The process for creating a table of images for an empty panel is the same as for a full
panel. It enables testing of the treatment operations on an empty panel. In Library menu,
go to Create a table of images and select Empty board.
7.1.2 Creating models from a table of images
1. Select New Library in
the Library menu. A
New library window
appears.
2. Select Create models
from the current se-
ries in the Models
menu to create auto-
matically models in the
library from the table of
images.
If the video image window is active, you can see the component images
scrolled.
Creation of a table of images can take several minutes.
Size of the component image
The size of the components on the panel varies according to their type.
How does the machine know the size of the photograph window to enable image capture of
each component?
Vision 2007 takes the size of the components from the .tst file. In fact, each component is rep-
resented in the .tst file with a size taken from the library.
If, during creation of the .tst file, all components were not defined in the library, these component
were represented with a size: 0.5 x 0.5. So it is very important to have the best possible repre-
sentation of the board. This can explain why a photo of a component is too small.
To enable good image acquisition, Vision 2007 determines the size of the capture window by
applying a factor of x 2 to the largest value of component size as defined in the .tst file.
Save the images of the empty panel in the same directory as the one used for
the images of the full panel.
The character ¤ appears on the name of the images to differentiate between the
empty and full images.
The library can be blank or already existing.
Component library
Tools library
Vision 2007 4.10 User Manual Rev 01 7 - 3
The opposite box appears if you have
not created the image folder or if the
image folder directory is incorrect. In
this case, select Image directory in
the Models menu in order to indicate
the directory containing the folder of
the table of images.
All the models in the
previously created ta-
ble of images will be
created in the library.
3. Select Save as in the File menu, or click on the icon in the tool bar of the library window. In
the Save As window choose the directory in which you want to store the library and name it
with the extension .bm. Select Save to save the file. The new library name appears in the win-
dow header.
7.1.3 BuildModel
BuildModel enables creation of synthetic images from component characteristics. These syn-
thetic images are necessary for Vi-Pro programation.
In the Edit menu, select BuildModel.
7.1.3.1 BuildModel configuration
The first time you use BuildModel, select Configura-
tion in Tool menu, the Set Up window appears then
enter the pixel size value of the machine (exact value
to 4 decimal places).
7.1.3.2 Pixel size management in BuildModel
BuildModel uses pixel size in X and Y to draw images. Set the pixels size of your machine
to use correct images for the library programmation (to obtain the machine pixel size look
into Vision 2007 / Maintenance / Parameters / Vision).
These values are displayed in the BuildModel interface. They
If you use a library that already contains models, only the models from the table of
images that are not already in the library used will be created.
A library must be opened to access the Edit menu.
This must be done the first time you use
BuildModel.
Component library