创建组件识别数据的方法.pdf - 第135页

135/178 IM-SMT-VSNDI C-0002 -000 of the com ponent, detection is n ot perf ormed in that di rection. In the exam ple in F igure 1 10, as the search r ange does not enc ompass the righ t side of the c omponent, recognitio…

100%1 / 178
134/178
IM-SMT-VSNDIC-0002-000
Items to be set
Set
value
Explanation
Lead Group W 0 or 1
When “0” is specified, the
offset of the detection line is
automatically set to 1/4 of the
detection size.
Common
Ruler Offset W --
Lead Number: 1W 0
Reflect LL.: 1W (mm) 0.0
Lead Width: 1W (mm) 0.0
Lead Pitch: 1W (mm) 0.0
Find Pos X: 1W (mm)
*2
When the number of Lead
Groups is 1, this sets the
detection line at the
position that is offset from the
contour of the circumscribed
rectangle by the amount of
this value.
W
Direction
Group 1
Find Pos Y: 1W (mm)
*3
When the number of Lead
Groups is 1, this sets the
detection line to the position
that is offset from the center
line by the amount of this
value.
Table 92
Note:
The parameters other than those shown in
Table 92
are not used, and should be set to 0.
Note:
*1. This option parameter consists of one byte of data, and each bit has different meaning.
(Please refer to P.142, Note*3 for the details.)
*2. Set the Offset 1 in
Figure 109.
*3. Set the Offset 2 in
Figure 109.
Figure 109
Note:
*4. It is possible to specify execution of the position detection on the detection lines from L5
through L8 by using the value in the field of Vision Option 1. If the value is set to 0,
position detection is normally performed in both the left and right (or upper and lower)
directions, but if the contour extends beyond the search frame for the detection direction
Offset 1
Offset 1
Offset 2
Offset 2
Offset 2
Offset 2
135/178
IM-SMT-VSNDIC-0002-000
of the component, detection is not performed in that direction. In the example in Figure
110, as the search range does not encompass the right side of the component,
recognition is performed only on the left side. In this case, the search range serves as the
reference for the offset on the right side. Also, the center position of P7 and P8 that have
been determined at this point are averaged, and the result is offset by the amount of the
component size to determine the component center.
If the value is set to 1, detection is performed only on the left (upper) side, regardless of
whether the contour is entirely within the search range or not. (This is the same as the
example in Figure 110, except for the point that the component extends beyond the
search range.)
Figure 110
Note:
*4. If the value is set to 2, detection is performed only on the right (lower) side, regardless of
whether the contour is entirely within the search range or not. In this case as well, the
center position of the obtained edge positions are averaged, and the result is offset by
the amount of the component size to determine the component center. For instance, in
the example in
Figure 111
, P5 and P6 positions that have been determined are averaged,
and the resulting position is offset by the component size and determined to be the
component center. It is also possible to perform recognition on the components vertically
placed. In this case, the direction would be set to N-S, not to E-W.
Figure 111
Offset 1
Offset 1
Offset 2
Offset 2
Offset by the component size
Search range
Offset 2
Offset 2
Offset by the component size
Offset 1
Offset 1
136/178
IM-SMT-VSNDIC-0002-000
Table 93 is the actual example of the recognition.
Items to be set Set value
Alignment Group Special
Alignment Type Special
Comp. Threshold 0
Comp. Tolerance 30
Search Area (mm) 11.0
Body Size X (mm) 19.0
Body Size Y (mm) 4.0
Body Size Z (mm) 0.3
Cntr. Offset X (mm) 0.0
Cntr. Offset Y (mm) 0.0
Cntr. Offset R (mm) 0.0
Ruler Width 3
Algorithm Special
Base Alignment As Mark
Vision Option 1 0
Vision Option 2 0
Vision Option 3 0
Common
Data
Vision Option 4 0
Items to be set Set value
Lead Group E 1
Common
Ruler Offset E 0
Lead Number: 1E 0
Reflect LL.: 1E (mm) 0.0
Lead Width: 1E (mm) 0.0
Lead Pitch: 1E (mm) 0.0
Find Pos X: 1E (mm) 4.0
E
Direction
Group 1
Find Pos Y: 1E (mm) 1.5
Lead Group W 1
Common
Ruler Offset W 0
Lead Number: 1W 0
Reflect LL.: 1W (mm) 0.0
Lead Width: 1W (mm) 0.0
Lead Pitch: 1W (mm) 0.0
Find Pos X: 1W (mm) 2.0
W
Direction
Group 1
Find Pos Y: 1W (mm) 1.5
Table 93
The position of the left and right detection lines in the E/W direction are set to 4.00mm from
the contour position for E direction, 2.0mm inward for the W direction.
For the “Find Pos” of the left and right detection lines, the “Find Pos” in the E/W direction is
set to 4.0 mm inward from the contour position in the E direction, and 2.0 mm in the W
direction. The upper and lower lines are set at positions offset 1.5 mm each from the center
line.