VI User Manual.pdf - 第374页

Options 15 - 4 Vision 2007 4.10 User Manual Rev 01 15.2.2 Correspondence text file This text file is filled in manually by the user. It contains specific key words: CONVEYOR_WIDTH and PROGRAM_ NAME . The text file must h…

100%1 / 412
Options
Vision 2007 4.10 User Manual Rev 01 15 - 3
15.2 Automatic Bar Code Changeover (ABC)
This option allows to automatically load a program according to the panel bar code reads in production.
For each board in production, the AOI system reads the panel bar code, extracts specific characters
(which define the product) and searches in a text file the name of the associated program.
The text file contains the correspondence between the bar code root and the .tst file name to load in
production.
15.2.1 Installation procedure
This option is based on AOI communication modules, to use this option, you need a licence.
To use this option, you must install the corresponding communication object on the AOI sys-
tem.
1. Copy the module file ViT_Vision_RecipeManager_BC.dll in C:\VIT.
2. Register it:
Open the main windows menu Start.
Select Run.
Enter the command
regsvr32
followed of the
path of the
ViT_Vision_RecipeManager_BC.dll
Dll.
3. Then, on the DefaultValue.ini file, you must change the following key.
Put ViT_Vision_RecipeManager_BC.ViT_RecipeManager_BC.1 on the key Prog_ID.
Products must always have the same width: the bar code reader is mounted on the AOI
system and the automatic width setting is disabled when starting production.
[External communication]
Prog_ID=ViT_Vision_RecipeManager_BC.ViT_RecipeManager_BC.1
Options
15 - 4 Vision 2007 4.10 User Manual Rev 01
15.2.2 Correspondence text file
This text file is filled in manually by the user. It contains specific key words:
CONVEYOR_WIDTH and PROGRAM_NAME.
The text file must have a special format.
Tabulation or spaces are used for separators.
Comment lines begin with #.
Several barcode roots can be used to load the same .tst file.
Position corresponds to the position of the specified first digit in the bar code (1, …, n). If
you do not specify a position, it is means that it is the 1st character.
#Conveyor width in mm
CONVEYOR_WIDTH 119
#Path + name of the Test file
PROGRAM_NAME C:\Vit\data\test1.tst
#Digits Position
3G- 1
3TD 3
3SW
PROGRAM_NAME C:\Vit\data\test2.tst
27K
2U
2AZ
PROGRAM_NAME "C:\Vit\data\test 3.tst"
300
2IA
2CT
Be careful:
If the path or the name of the test file contains one or several space, you need
to add inverted commas at the beginning and at the end of the strings:
PROGRAM_NAME "C:\Vit\data\test 3.tst"
Key information must be on the same line:
PROGRAM_NAME C:\Vit\data\test1.tst
If you do not specify the key CONVEYOR_WIDTH, the width defined in the 1st
.tst file loaded in production will be used for conveyor adjustment.
Automatic Bar Code Changeover (ABC)
Options
Vision 2007 4.10 User Manual Rev 01 15 - 5
15.2.3 Setting
To activate the option, open MACHINE PARAMETERS, in Production tab tick Activate on
the "Work manager" module frame.
Then, click Setting to define
the path to the correspon-
dence text file.
Automatic Bar Code Changeover (ABC)