TwinCAT library and programming nSWRevIntCha :BYTE; END_STRUCT END_TYPE 6.2.2 str_IM_0xAFF1 The data structure str_IM_0xAFF1 maps the structure of the I&M1 frame in the PLC. This structure is used both for reading from, and for the writing to a PROFINET device. TYPE str_IM_0xAFF1 : STRUCT nBlockTyp : WORD; nBlockLen : WORD; nBlockVersion : WORD; st_IM_TagFunction : STRING(32); st_IM_TagLocation : STRING(22); END_STRUCT END_TYPE 6.2.3 str_IM_0xAFF2 The data structure str_IM_0xAFF2 maps the structure of the I&M2 frame in the PLC. This structure is used both for reading from, and for the writing to a PROFINET device. TYPE str_IM_0xAFF1 : STRUCT nBlockTyp : WORD; nBlockLen :
WORD; nBlockVersion : WORD; st_IM_Date : STRING(16); END_STRUCT END_TYPE 6.2.4 str_IM_0xAFF3 The data structure str_IM_0xAFF3 maps the structure of the I&M3 frame in the PLC. This structure is used both for reading from, and for the writing to a PROFINET device. TYPE str_IM_0xAFF3 : STRUCT nBlockTyp : WORD; nBlockLen : WORD; nBlockVersion : WORD; st_IM_Descriptor : STRING(54) END_STRUCT END_TYPE 6.2.5 str_IM_0xAFF4 The data structure str_IM_0xAFF4 maps the structure of the I&M4 frame in the PLC. This structure is used both for reading from, and for the writing to a PROFINET device. TYPE str_IM_0xAFF3 : STRUCT nBlockTyp : WORD; nBlockLen : WORD; nBlockVersion : WORD; st_IM_Signatur :
STRING(54) END_STRUCT END_TYPE 6.2.6 str_GetPortStatistic All statistical information of a device is represented in the data structure str_GetPortStatistic . TYPE str_GetPortStatisitc : STRUCT Speed : DWORD; PhyMAC : STRING(50); TS6271 67 Version: 1.2