ST_DiagnosticsManagerToDiagSource

 

ST_DiagnosticsManagerToDiagSource - General Information

Overview

Type:

Data structure

Available as of:

V2.0.0.0

Inherits from:

-

Versions:

Current version

Description

The structure contains all information that is required for communication between FB_Diagnostics­Manager and diagnostic sources.

Structure Elements

Variable

Data type

Description

i_udiComWithId

UDINT

Read-only for diagnostic sources. Diagnostic source ID to which the command is sent. Only valid if > 0.

i_diFileId

DINT

Read-only for diagnostic sources

i_xDiagnosticsManagerReady

BOOL

Read-only for diagnostic sources. If TRUE, then diagnostic sources may only write in this structure.

i_xDiagnosticsActive

BOOL

Read-only for diagnostic sources.

iq_stRegister

ST_RegisterDiagSource

Contains the data structure for the communication between EDESIGN diagnostics modules.

iq_stCanContinueWriting

ST_CanContinueWriting

Contains the data structure for the writing access coordination within EDESIGN diagnostics.

iq_diCmd

DINT

In-out;

Commands:

o0: No command/completed [feedback from diagnostic source].

o1: Write diagnostic values in file.

o2: Reserved for extensions.

oNegative values: Indicate failed commands.

q_lrProgress

LREAL

Indicator value of the diagnostic source during the data processing on how far the data processing has already been executed. Specification in percent (0.0% to 100.0%).