SR_<Camera Name> - SetTimerTrigger (Method)

Overview

Type:

Method

Available as of:

V2.3.5.0

This chapter provides information on:

Functional Description

With the method SetTimerTrigger, the data for the timer trigger can be set.

Interface

Input

Data Type

Description

i_timTimerPeriod

TIME

Time between two trigger signals.

i_timTimeTriggerOn

TIME

Duration that the property xTrigger is set to TRUE.

Output

Data Type

Description

q_etDiag

GD.ET_Diag

General library-independent statement on the diagnostic. A value unequal to GD.ET_Diag.Ok corresponds to a diagnostic message.

q_etDiagExt

ET_DiagExt

POU-specific output on the diagnostic.

q_etDiag = GD.ET_Diag.Ok -> Status message

q_etDiag <> GD.ET_Diag.Ok -> Diagnostic message

q_sMsg

STRING[80]

Event-triggered message that gives more detailed information on the diagnostic state.

Diagnostic Messages

q_etDiag

q_etDiagExt

Enumeration value of q_etDiagExt

Plain text

Ok

Ok

0

Ok

InputParameterInvalid

TimeInvalid

70

The time is out of range.

Ok

Enumeration name:

Ok

Enumeration value:

0

Description:

Ok

Status message: Setting the data of the timer trigger was successful.

TimeInvalid

Enumeration name: TimeInvalid
Enumeration value:

70

Description:

Time is out of range.

Issue

Cause

Solution

The configuration of the trigger timer was not successful.

The value transferred at input i_timTimerPeriod or i_timTimeTriggerOn is out of range.

Ensure that the value transferred at i_timTimerPeriod is greater than i_timTimeTriggerOn.