str_SW_Rec

Die Datenstruktur str_IM_0xAFF0 bildet die Struktur des I&M0 Frames in der PLC ab. Der Informationen enthält, die in PROFINET-Geräten fest hinterlegt sind.

TYPE str_IM_0xAFF0 :
STRUCT
    nBlockTyp       : WORD;
    nBlockLen       : WORD;
    nBlockVersion   : WORD;
    nVendorID       : WORD;
    cOrderID        : STRING(21);
    cSerialNumber   : STRING(17);
    nHW_Rev         : WORD;
    strSW_Rev       : str_SW_Rec;
    nRevCount       : WORD;
    nProfileID      : WORD;
    nProfileSpecType: WORD;
    arIM_Version    : ARRAY[0..1] OF BYTE;
    nSupport        : WORD;
END_STRUCT
END_TYPE

Die Datenstruktur str_SW_REC enthält die Software Version des PROFINET Gerätes.

TYPE str_SW_Rec :
STRUCT
    cSWRevPrefix       :STRING(2);
    nSWRevFuncEnhance  :BYTE;
    nSWRevBugFix       :BYTE;
    nSWRevIntCha       :BYTE;
END_STRUCT
END_TYPE