寄存器概述

<< 点击显示目录 >>

主页  mappVision帮助助手 > 机器视觉帮助 > mapp Vision  > 编程 > 视觉功能 > 读码器 >

寄存器概述

参数

类型

数值范围

说明

循环

非循环

Enable

BOOL

0 or 1

启用/禁用该功能

W

 

NumSearchMax

USINT

0 to 255

搜索代码的最大数量

W

 

Timeout

UINT

0 to 65535

以 1 ms 为增量的搜索时间限制

W

 

ParameterMode

USINT

0 to 30

选择预定义参数集

W

 

ParameterOptimization

USINT

0 to 2

自动启用、禁用或重置示教参数

W

 

SymbolType

USINT

0 to 63

选择要搜索的代码类型

W

 

EnableRobustness

BOOL

0 or 1

启用/禁用搜索所选代码类型的稳健性

W

 

CodeGrading

BOOL

0 or 1

启用/禁用读取代码的质量分级。

W

 

Alignment

USINT

0 to 2

0 = "无

1 = "设置参考

2 = "GenerateAlignmentData" (生成对齐数据)

W

 

OffsetROIX

DINT

-2622400 to 2622400

ROI 在 x 方向上的偏移量,以 1/100 像素为增量。

W

 

OffsetROIY

DINT

-2622400 to 2622400

ROI 在 Y 方向上的偏移量,以 1/100 像素为增量。

W

 

OffsetROIOrientation

INT

-17999 to 18000

从 -179.99° 到 +180° 的 ROI 方向偏移,以 1/100 度为单位。

W

 

OffsetROIRotCenterX

DINT

-2622400 to 2622400

以 1/100 像素为增量,在 x 方向上偏移旋转中心。

W

 

OffsetROIRotCenterY

DINT

-2622400 to 2622400

以 1/100 像素为增量,在 Y 方向上偏移旋转中心。

W

 

TestExecute

BOOL

0 or 1

显示采集图像中的代码。

通过 mapp Vision HMI 应用程序进行操作。

W

 

ImageProcessingError

UINT

0 to 65535

错误类别寄存器

R

 

ImageProcessingActive

BOOL

0 or 1

图像处理执行状态

R

 

ImageNettime

DINT

-2,147,483,648 to 2,147,483,647

以 1 μs 为单位的净时间

R

 

NumResults

USINT

0 to 255

找到的代码数

R

 

FunctionProcessingTime

UINT

0 to 65535

以微秒为单位的视觉函数处理时间

R

 

DecodedData(n)

OCTET

OCTET [MaxStringSize+1]

1 to 255

以数组 OCTET 的形式返回找到的代码内容。

R

 

SymbolType(n)

USINT

1 to 63

找到的代码的符号类型。

R

 

GradingValue(n)

SINT

-1 to 40

代码质量评估

R

 

EnhancedGradingInformation(n)

OCTET

OCTET [23]

-1 to 40

输出扩展的分级信息,一般的 GradingValue 评估参数就是由这些信息组成的。

R

 

PositionX(n)

DINT

-2622400 to 2622400

图像中(找到的代码)的 X 位置,增量为 1/100 像素。

R

 

PositionY(n)

DINT

-2622400 to 2622400

图像中(找到的代码)的 Y 位置,增量为 1/100 像素。

R

 

Orientation(n)

INT

-17999 to 18000

-179.99°至+180°,增量为 1/100 度

R

 

RotCenterX

UDINT

-2622400 to 2622400

偏离指定的教导对齐模型的值将在此处输出。以 1/100 像素为单位。

R

 

RotCenterY

UDINT

-2622400 to 2622400

此处输出偏离指定的教导对齐模型的值。以 1/100 像素为单位。

R

 

参数组

类型

数值范围

说明

循环

非循环

 

Code Reader configuration (acyclic write)

Various

Various

本节包含 HALCON 机器视觉软件库中的参数。

这些参数可直接在 mapp Vision HMI 应用程序中更改。

 

W


Parameters

Type

Range of values

Description

Cyclic

Acyclic

Enable

BOOL

0 or 1

Enables/Disables the function

W

 

NumSearchMax

USINT

0 to 255

Maximum number of codes to search

W

 

Timeout

UINT

0 to 65535

Time limit for the search time in increments of 1 ms

W

 

ParameterMode

USINT

0 to 30

Selects predefined parameter sets

W

 

ParameterOptimization

USINT

0 to 2

Automatically enables, disables or resets taught-in parameters

W

 

SymbolType

USINT

0 to 63

Selects the code type to be searched for

W

 

EnableRobustness

BOOL

0 or 1

Enables/Disables robustness for the search of the selected code type

W

 

CodeGrading

BOOL

0 or 1

Enables/Disables quality grading of the codes read.

W

 

Alignment

USINT

0 to 2

0 = "None"

1 = "SetReference"

2 = "GenerateAlignmentData"

W

 

OffsetROIX

DINT

-2622400 to 2622400

Offset of the ROI in the x-direction in 1/100 pixel increments.

W

 

OffsetROIY

DINT

-2622400 to 2622400

Offset of the ROI in the y-direction in increments of 1/100 pixel.

W

 

OffsetROIOrientation

INT

-17999 to 18000

Offset to orient the ROI from -179.99° to +180° in 1/100 degree steps

W

 

OffsetROIRotCenterX

DINT

-2622400 to 2622400

Offset of the center of rotation in the x-direction in 1/100 pixel increments.

W

 

OffsetROIRotCenterY

DINT

-2622400 to 2622400

Offset of the rotation center in the y-direction in increments of 1/100 pixel.

W

 

TestExecute

BOOL

0 or 1

Displays codes found in the acquired image.

Operation takes place via the mapp Vision HMI application.

W

 

ImageProcessingError

UINT

0 to 65535

Register of error classes

R

 

ImageProcessingActive

BOOL

0 or 1

Status of image processing execution

R

 

ImageNettime

DINT

-2,147,483,648 to 2,147,483,647

NetTime in 1 μs steps

R

 

NumResults

USINT

0 to 255

Number of codes found

R

 

FunctionProcessingTime

UINT

0 to 65535

Processing time of the vision function in microseconds

R

 

DecodedData(n)

OCTET

OCTET [MaxStringSize+1]

1 to 255

Returns the content of the found code as array OCTET.

R

 

SymbolType(n)

USINT

1 to 63

Symbol type of codes found.

R

 

GradingValue(n)

SINT

-1 to 40

Evaluation of the codes in terms of quality

R

 

EnhancedGradingInformation(n)

OCTET

OCTET [23]

-1 to 40

Output of extended grading information from which the general GradingValue assessment parameter is composed.

R

 

PositionX(n)

DINT

-2622400 to 2622400

X-position (of the found code) in the image in increments of 1/100 pixel.

R

 

PositionY(n)

DINT

-2622400 to 2622400

Y-position (of the found code) in the image in increments of 1/100 pixel.

R

 

Orientation(n)

INT

-17999 to 18000

-179.99° to +180° in increments of 1/100 degree

R

 

RotCenterX

UDINT

-2622400 to 2622400

The value deviating from the specified taught-in Alignment model is output here. In 1/100 pixel steps.

R

 

RotCenterY

UDINT

-2622400 to 2622400

The value deviating from the specified taught-in Alignment model is output here. In 1/100 pixel steps.

R

 

Parameter group

Type

Range of values

Description

Cyclic

Acyclic

Code Reader configuration (acyclic write)

Various

Various

This section contains the included parameters from the HALCON machine vision software library.

These parameters can be changed directly in the mapp Vision HMI application.

 

W