ST_DiagnosticsToApplicationMarkerArea - General Information

Overview

Type:

Data structure

Available as of:

1.1.2.0

Inherits from:

-

Description

This structure is used for communication between Diagnostics (manager) and the user application PacDrive Diagnostics. For this purpose, Diagnostics transfers commands and contents to be displayed and is read out by PacDrive Diagnostics via a shared storage location.

NOTE: This structure is fixedly defined by its size and must not be changed in future, as otherwise the transfer of data to PacDrive Diagnostics via the shared storage location is no longer ensured.

Structure Elements

Variable

Data type

Description

i_udiDiagnosticsSignOfLife

UDINT

A random value that changes after every execution of FB_DiagnosticsManager If the value can no longer be changed using FB_DiagnosticsManager, the running Diagnostics watchdog timer is no longer reset and triggers a timeout handling.

i_uiCmd

UINT

Command

i_uiCmdId

UINT

Command ID

iq_xInterfaceBusy

BOOL

Signalizes whether commands can currently be issued

iq_sArgument1

STRING(10)

Command specification

iq_dwArgument2

DWORD

Command specification

q_udiDiagnosticsManagerSignOfLife

UDINT

A random value that increases after every execution of FB_DiagnosticsManager and is reset to a new random value by DiagQuit or the FB.xEnable cycle edge.

q_lrProgress

LREAL

Number between 0.0 and 1.0 (percentage value) to indicate the processing status in the form of a progress bar in PacDrive Diagnostics

q_diLastDoneCmdId

DINT

Previous command ID