<< 点击显示目录 >> 主页
mappVision帮助助手 > 机器视觉帮助 > mapp Vision > 编程 > 库 > 核心库 > ViBase > 功能块 输入和输出说明 |
输入/输出 |
名称 |
数据类型 |
说明 |
---|---|---|---|
输入 |
MpLink |
指向ViComponentType的指针 |
用于获取图像的视觉组件指针。 |
IN |
启用 |
BOOL |
启用功能块并开始计算。 |
IN |
采集参数 |
根据轴位置定义何时触发采集的参数。 |
|
高级参数 |
高级参数 |
用于使用高级函数的结构。 |
|
IN |
更新 |
BOOL |
更新采集参数。参见功能说明。 |
IN |
暂停采集 |
BOOL |
如果为 TRUE,则内部计算仍在进行,但不采集图像。 |
IN |
强制采集 |
BOOL |
此输入的上升沿将强制尽快采集图像。 注意: •通过设置此输入,即使设置了 PauseAcquisition(暂停采集),也会采集图像。 |
输出 |
操作中 |
BOOL |
计算处于激活状态,时间戳被转发到视觉组件。 |
出 |
忙 |
BOOL |
功能块处于活动状态,必须继续调用。 |
出错 |
错误 |
BOOL |
执行过程中出错。 |
输出 |
状态 ID |
DINT |
状态信息。 |
输出 |
更新完成 |
BOOL |
表示已初始化新的采集参数。 |
输出 |
附加信息 |
其他有用数据,例如用于系统监控或错误分析的数据。 |
表:功能块 ViBaseAxisBasedAcquisition 的输入和输出
I/O |
Name |
Data type |
Description |
---|---|---|---|
IN |
MpLink |
Pointer to ViComponentType |
Pointer to the vision component from which images should be acquired. |
IN |
Enable |
BOOL |
Enables the function block and starts the calculations. |
IN |
AcquisitionParameters |
Parameters that define when the acquisition is triggered depending on the axis position. |
|
IN |
AdvancedParameters |
Structure for using advanced functions. |
|
IN |
Update |
BOOL |
Updates the acquisition parameters. See Function description. |
IN |
PauseAcquisition |
BOOL |
If TRUE, the internal calculations are still active, but no image is acquired. |
IN |
ForceAcquisition |
BOOL |
A rising edge on this input will force an image acquisition as quickly as possible. Note: •By setting this input, an image is acquired even if PauseAcquisition is set. |
OUT |
InOperation |
BOOL |
The calculations are active, and the timestamps are forwarded to the vision component. |
OUT |
Busy |
BOOL |
The function block is active and must continue to be called. |
OUT |
Error |
BOOL |
Error during execution. |
OUT |
StatusID |
DINT |
Status information. |
OUT |
UpdateDone |
BOOL |
Indicates that new acquisition parameters have been initialized. |
OUT |
AdditionalInfo |
Additional useful data, for example for system monitoring or error analysis. |
Table: Inputs and outputs of function block ViBaseAxisBasedAcquisition