ST_PN_Diag
The data structure ST_PN_Diag contains a diagnosis message of a terminal that is connected to a controller via a PN device.
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.
