Skip to main content

ProfinetFDeviceDiagnostics (STRUCT)

Structure of the diagnostic information that the ProfinetFDevice function block makes available to the application.

Table 129. Structure components of ProfinetFDeviceDiagnostics (STRUCT)

Name

Data Type

Initial Value

Description

xIsInitialized

BOOL

FALSE

TRUE: The library DrvProfinetFDevice was initialized properly.

xIsConnectedToPN

BOOL

FALSE

TRUE: A valid Profinet telegram was received.

xIsConnectedToSafetyIoService

BOOL

FALSE

TRUE: The library DrvProfinetFDevice is linked correctly with the IO-Service interface to the safety controller.

LatestConfigMessage

ProfinetFDeviceDiagnostics_SrtsMsg

The last received diagnostics message from the safety run-time system regarding the communication

LatestParamMessage

ProfinetFDeviceDiagnostics_SrtsMsg

The last received diagnostic message from the safety run-time system regarding the parameters



ProfinetFDeviceDiagnostics_SrtsMsg (STRUCT)

Table 130. Structure components of ProfinetFDeviceDiagnostics_SrtsMsg (STRUCT)

Name

Data Type

Initial Value

Description

uiPNAlarmDiagnosticCode

UINT

Diagnostic code

For a detailed description of the diagnostic code, see: PROFIsafe Status and Diagnosis

uiPNAlarmDiagnosticLength

UINT

Length of the additionally provided data

abyPNAlarmDiagnosticData

ARRAY [0..29] OF BYTE

Additional diagnostic data only in the case of diagnostic code 16#004D. The contents are described in V2.6.1 of [PNO3192b].