<?xml version="1.0" encoding="utf-8"?>
<TcPlcObject Version="1.1.0.1" ProductVersion="3.1.4024.12">
  <DUT Name="EC_SLAVE_DIAG_INFO_DATA" Id="{e444367e-8b3d-45b5-8225-b4b7b1a2d5d0}">
    <Declaration><![CDATA[TYPE EC_SLAVE_DIAG_INFO_DATA :
STRUCT
	Addr									:	WORD; //Slaves own physical address e.g. 1004 
	ConfigType								:	STRING(18); //Configured type e.g. EL1008 or EL7211 
	ConfigName								:	STRING(31); //Name as configured in IO-tree (type removed)
	ConfigTypeIdentity						:	STRING(18); //Configured type according identity e.g. AX5206-0000-0210

	{attribute 'displaymode':='hex'}  
	DevState								:	BYTE; //Device state constant e.g. 16#08=Tc2_EtherCAT.EC_DEVICE_STATE_OP
	DevStateText							:	STRING(60) := 'Hello'; //e.g. OP, INIT etc...
	

	{attribute 'displaymode':='hex'}  
	LinkState								:	BYTE; //Link state constant e.g. 0=Tc2_EtherCAT.EC_LINK_STATE_NOT_PRESENT



	//Error information	
	CntOfCRCErrors							:	UDINT; //Total number of CRC-Errors on all four ports of the slave 

	ConfigIdentity							:	ST_EcSlaveIdentity; //EtherCAT identity data of an EtherCAT slave device, vendor Id, product code etc...

END_STRUCT
END_TYPE
]]></Declaration>
  </DUT>
</TcPlcObject>