SAKI中文版说明书.pdf - 第72页
编 程 手册 编 程 手册 | 68 ( 4 ) L e n g t h / ( 5 ) W i d t h ( A ) 概要 获取 元 件 上 亮 度变 化 最 明 显 的 两 条 边缘 之 间 的 距 离 . 这两 条 边缘 是 由 "U pp e r L e v e l " , " Lo w e r L e v e l " 和 " O p t i on " 的 值决 定 …

编程手册
编程手册 |
67
(3)Average
(A) 概要
获取窗口内的亮度平均值.
(B) 设置
参数
内容
值域
单位
备注
Level1
无用
Level2
无用
Option
无用
Shift
偏移检测窗口
V1 - V8 [Memory] *1
Sample
窗口内的亮度平均值
0 - 255 [Gradation]
OK Range
检测合格上下限
0 - 255 [Gradation]
(*1) 请参照 II-4.Algorithm Option, ref. 中具体使用寄存器的方法.
(C) 内部处理过程
获取窗口内的亮度平均值
(D) 检测参数设置示例
这是一个当元件表面亮于周围环境时如何设定检测参数的例子.
NG Type Lighting Algorithm Bright Dark OK-Upper
OK-Lower
Missing Side
Light
Average - - 255 80
PDF created with pdfFactory Pro trial version www.pdffactory.com

编程手册
编程手册 |
68
(4) Length / (5) Width
(A) 概要
获取元件上亮度变化最明显的两条边缘之间的距离.这两条边缘是由"Upper Level", "Lower Level" 和 "Option" 的
值决定的. 检测到的元件的长和宽是非常有用的.宽是指元件较短边的长度,长是指元件较长边的长度.
(B) 设置
参数
内容
值域
单位
备注
Level1 0 - 255 [Gradation]
*1
Level2 0 - 255 [Gradation]
*1
Option 0 - 499 *1
Shift
检测窗口的偏移
V1 - V8 [Memory] *2
Sample
元件的长或宽
[1/100mm]
OK Range
检测合格的上下限
[1/100mm]
(*1) 如何设定值
设定
Upper Level / Lower Level Option
(a) Upper Level = Lower Level = 0 (Not used)
(b) Upper Level = Lower Level = 100 (Not used)
(c) Other than (a) and (b) 0
(d) (Same as above) 101 - 200
(e) (Same as above) 201 - 299
(f) (Same as above) 301 - 399
(g) (Same as above) 401 - 499
(*2) 请参照 II-4.Algorithm Option, ref. 中具体使用寄存器的方法.
PDF created with pdfFactory Pro trial version www.pdffactory.com
