数字输出配置(非循环写入)

<< 点击显示目录 >>

主页  mappVision帮助助手 > 机器视觉帮助 > mapp Vision  > 编程 > 视觉功能 > 图像采集 >

数字输出配置(非循环写入)

信息:

本节中指定的参数是硬件模块配置的一部分,可通过 Automation Studio 访问。

 

信息:

决定 POWERLINK 帧长度的单个配置参数只能在 Automation Studio 配置过程中更改(即循环更改)。因此,这些参数只能在运行时读取,并标识为常量。

参数

类型

数值范围

说明

循环

非循环

TriggerForwarding

BOOL

0 or 1

摄像机上的 "数字输出 "操作模式

 

W

PreTriggerTime

UINT

0 to 65535

数字输出前置时间值为 0 µs 至 65.5 ms,步长为 1 µs。

 

W

TriggerForwarding/触发器转发

信息:

TriggerForwarding 至少需要摄像机硬件升级到 1.7.0 或更高版本。

选择摄像机数字输出的操作方法(DO 的模式)。输出默认设置为用户输出,即参数 DigitalOutput01 的设置生效。

设置 1 将摄像机的数字输出配置为触发器转发,以控制连接到数字输出的外部照明。

即使触发器转发 = 1,也可以使用 FlashColor(n)。

还必须考虑参数 ExposureTime(n) 的相关性:

如果 ExposureTime 的值为 0,则不会设置触发器,摄像机的数字输出也因此保持为 0。因此,要使用触发转发功能,曝光时间的值必须大于 0。

数据类型

信息

BOOL

0

用户输出(默认)。触发器转发 = 关闭

1

通过数字输出 01(触发器转发)控制外部照明

信息:

如果 ExposureTime 设置为 0,则不会设置触发器,因此 DO 值仍为 0。曝光时间值必须大于 0。

如果 ExposureTime 的值为 0,则不会设置触发器,摄像机的数字输出也因此保持为 0。因此,要使用触发器转发功能,曝光时间的值必须大于 0。

PreTriggerTime/预触发时间

此参数用于配置在实际摄像机触发事件(PreTriggerTime)之前必须控制数字输出的时间。

只有设置了 TriggerForwarding = 1 时才能使用该参数。

数据类型

信息

UINT

0 to 65535

数字输出前置时间值从 0 µs 到 65.5 ms,步长为 1 µs。

Timing diagram - Image acquisition and triggering an external flash lighting controller/时序图 - 图像采集和触发外部闪光灯照明控制器

smartcamera.timingverhalten.triggerforwarding_5.20

Notes:

1

摄像机准备就绪。等待触发。

2

摄像机 DO 切换延迟时间: 对于数字输出,假设最大开关延迟时间为 80 µs。

3

(配置)PreTriggerTime = 数字输出的开关延迟时间(假设:无抖动,< 80 µs) + 连接电缆的传播延迟(可忽略) + 外部闪光灯照明控制器的延迟时间

34

用于图像传感器的相机触发器

4

曝光时间: 必须遵守的摄像机(图像传感器)所需曝光时间。摄像机数字输出 01 激活的总时间: 预触发时间 + 曝光时间

A

外部闪光灯控制器准备就绪。等待触发。

B

外部闪光灯照明控制器: 数字触发输入的切换延迟

C

外部闪光灯照明控制器: 配置延迟时间

CD

外部闪光灯控制器触发灯光

D

外部闪光灯照明控制器: LightingTime = 预期照明时间。通常,照明时间 ≥ 曝光时间。


Information:

The parameters specified in this section are part of the hardware module configuration that can be accessed via Automation Studio.

 

Information:

Individual configuration parameters that determine the length of a POWERLINK frame can only be changed during configuration in Automation Studio (i.e. acyclically). These parameters can therefore only be read at runtime and are identified as constants.

Parameters

Type

Range of values

Description

Cyclic

Acyclic

TriggerForwarding

BOOL

0 or 1

Operating mode "Digital output" on the camera

 

W

PreTriggerTime

UINT

0 to 65535

Digital output lead time value from 0 µs to 65.5 ms in 1 µs steps.

 

W

TriggerForwarding

Information:

TriggerForwarding requires at least a camera hardware upgrade of version 1.7.0 or higher.

Select the method of operation from the digital output of the camera (mode of the DO). The output is set as a user output by default, i.e. the settings of parameter DigitalOutput01 take effect.

Setting 1 configures the digital output of the camera for trigger forwarding to control external lighting connected to the digital output.

Using FlashColor(n) is also possible even if TriggerForwarding = 1.

The dependency of parameter ExposureTime(n) must also be taken into account:

If ExposureTime has value 0, no trigger is set and the digital output of the camera therefore also remains at value 0. To use TriggerForwarding, the value of ExposureTime must therefore be greater than 0.

Data type

Values

Information

BOOL

0

User output (default). TriggerForwarding = OFF

1

Control of external lighting via DigitalOutput01 (TriggerForwarding)

Information:

If ExposureTime is set to 0, no trigger is set and the DO therefore remains at value 0. The ExposureTime value must be greater than 0.

If ExposureTime has value 0, no trigger is set and the digital output of the camera therefore also remains at value 0. To use TriggerForwarding, the value of ExposureTime must therefore be greater than 0.

PreTriggerTime

This parameter is used to configure the time by which the digital output must be controlled before the actual camera trigger event (PreTriggerTime).

The parameter is only accessible if TriggerForwarding = 1 is set.

Data type

Values

Information

UINT

0 to 65535

Digital output lead time value from 0 µs to 65.5 ms in 1 µs steps.

Timing diagram - Image acquisition and triggering an external flash lighting controller

smartcamera.timingverhalten.triggerforwarding_5.20

Notes:

1

Camera ready for operation. Waiting for trigger.

2

Camera DO switching delay time: For the digital output, assume a maximum switching delay of 80 µs.

3

(Configured) PreTriggerTime = Switching delay time of the digital output (assumption: no jitter, < 80 µs) + Propagation delay on the connection cable (negligible) + Delay time of the external flash lighting controller

34

Camera trigger for image sensor

4

ExposureTime: Required exposure time of the camera (image sensor) that must be observed.

The total time in which the camera DigitalOutput01 is active: PreTriggerTime + ExposureTime

A

External flash lighting controller ready for operation. Waiting for trigger.

B

External flash lighting controller: Switching delay on digital trigger input

C

External flash lighting controller: Configured delay time

CD

External flash lighting controller trigger for light

D

External flash lighting controller: LightingTime = Desired lighting time. Normally, LightingTime ≥ ExposureTime.