ST_PN_Diag
The data structure ST_PN_Diag contains a diagnostic message from a terminal that is connected via a PN device and a controller.
TYPE str_PortDiag :
STRUCT
strTimeStamp : ARRAY[0..7] OF BYTE;
nAPI : DWORD;
nSlot : WORD;
nSubSlot : WORD;
nAlarmType : WORD;
nAlarmSpecifier : WORD;
nUserStructIdentifier : WORD;
nChannelNumber : WORD;
nChannelErrorTyp : WORD;
nChannelProperties : WORD;
nExtChannelErrorTyp : WORD;
arSpare : ARRAY [1..9] OF WORD;
arUserSpecificData : ARRAY [0..19] OF BYTE;
END_STRUCT
END_TYPE
The information content of the structure corresponds to that of the Diag History, which is displayed in the system manager.