ProfinetFDeviceDiagnostics (STRUCT)

TYPE ProfinetFDeviceDiagnostics : STRUCT

Diagnostics information about the current state of the FB.

InOut:

Name

Type

Initial

Comment

xIsInitialized

BOOL

FALSE

Has this library been properly initialized? (for debugging purpose: Initialize run successfully?)

xIsConnectedToPN

BOOL

FALSE

Is this library connected to the profinet library? I.e. have we received a valid profinet telegram regarding ourself? (for debugging purpose)

xIsConnectedToSafetyIoService

BOOL

FALSE

Is this library properly connected to a SafetyIoServices- instance? I.e. has it found a valid pointer in the params?

LastMessageFromSrts

ProfinetFDeviceDiagnostics_SrtsMsg

The latest received diagnostic message from the SRTS. Messages are marked as “appeared” when there is a new problem and as “disappeared” when the problem is gone. Currently, “disapperead” is only sent by the SRTS when all previous problems are fixed.