SR_<MySensor>GetTimerTrigger (Method)

Overview

Type:

Method

Available as of:

V1.3.2.0

This chapter provides information on:

Functional Description

With the method GetTimerTrigger, the data for the timer trigger can be read.

Interface

Output

Data Type

Description

q_timTimerPeriod

TIME

Time between two trigger signals.

q_timTimeTriggerOn

TIME

Duration that the property xTrigger is set to TRUE.

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 Timer trigger was successful.

NotConfigured

Enumeration name:

NotConfigured

Enumeration value:

101

Description:

The function block is not configured yet.

Issue

Cause

Solution

The configuration was not successful.

The timer trigger method is not configured.

Ensure that timer trigger is configured before calling the method.