ST_PN_DiagMessage

The data structure ST_PN_DiagMessage contains the complete data stream of a diagnostic message that is sent by a PROFINET on request. This data stream is evaluated in the FB_PN_ALARM_DIAG function block and is copied to a readable structure.

TYPE ST_PN_DiagMessage :

STRUCT
    nFlags    : WORD;
    nTextID   : WORD;
    TimeStamp : ARRAY[0..7] OF BYTE;
    nData     : ARRAY[0..299] OF BYTE;
END_STRUCT

END_TYPE