beckhoff TS6271 — 6.2.1 str_SW_Rec

TwinCAT library and programming Requirements 6.2 Data structures 6.2.1 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; TS6271 66 Version: 1.2 Development environment Target platform PLC libraries to be linked TwinCAT v2.11.0 R3 PC or CX (x86, ARM) TcProfinetDiag.Lib