ST_DiagnosticsManagerToDiagSource - General Information

Overview

Type:

Data structure

Available as of:

1.1.2.0

Inherits from:

-

Description

The structure contains all information that is required for communication between DiagnosticsManager 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, 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 communication between PacDrive 3 Diagnostics modules

iq_stCanContinueWriting

ST_CanContinueWriting

Contains the data structure for write access coordination within PacDrive 3 Diagnostics

iq_diCmd

DINT

In-out;

Commands:

  • 0: no command/completed [feedback from diagnostic source]

  • 1: write diagnostic value in file

  • 2: reserved for extensions

  • Negative values: indicate failed commands

q_lrProgress

LREAL

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