str_SW_Rec

The data structure str_IM_0xAFF0 maps the structure of the I&M0 frame in the PLC, which contains information that is permanently stored in PROFINET devices.

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

The data structure str_SW_REC contains the software version of the PROFINET device.

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