SR_<Camera Name> - GetDistanceTrigger (Method)

Overview

Type:

Method

Available as of:

V2.3.5.0

This chapter provides information on:

Functional Description

With the method GetDistanceTrigger, the data for the distance trigger can be read.

Interface

Output

Data Type

Description

q_lrDistancePeriod

LREAL

Distance of the position source between two trigger signals.

q_lrPositionPhaseOffset

LREAL

Trigger position shift.

q_lrSourceRolloverValue

LREAL

Internal phase shift of the position source.

q_lrTriggerOnDistance

LREAL

Distance that the property xTrigger is TRUE.

q_uiCompensationTimeActivation

UINT

Time compensation to activate the trigger signal.

q_uiCompensationTimeDeactivation

UINT

Time compensation to deactivate the trigger signal.

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

ExecutionAborted

NotConfigured

101

The function block is not configured yet.

Ok

Enumeration name:

Ok

Enumeration value:

0

Description:

Ok

Status message: Reading the data of the distance trigger was successful.

NotConfigured

Enumeration name:

NotConfigured

Enumeration value:

101

Description:

The function block is not configured yet.

Issue

Cause

Solution

The configuration of the trigger distance was not successful.

The distance trigger method is not configured.

Ensure that distance trigger is configured before calling the method.