Appendix | Appendix D: EtherCAT Topology ActiveX Control SlaveDescriptionPath Description The property SlaveDescriptionPath defines the path where the device descriptions of the EtherCAT slaves are stored. Normally one does not have to change this value, because the default path is the path where TwinCAT stores these description files. Property type Read-write property Default value %\TwinCAT\Io\EtherCAT Syntax (C#) string SlaveDescriptionPath { set; get; } Member of IEcTopologyCtrl OnlineMode Description The property OnlineMode defines which Topology is to be displayed when calling ShowOnlineTopology. OnlineMode can hold following values:
Property type Read-write property Default value TOPOLOGY_ONLINE_MODE_CONFIGURED Syntax (C#) ECTOPOLOGYLib.TOPOLOGY_ONLINE_MODE OnlineMode { set; get; } Member of IEcTopologyCtrl Example(C#) axEcTopologyCtrl1.TargetNetId = "172.16.2.122.1.1"; // Connection TwinCAT- System with AMS NetId 172.16.2.122.1.1 axEcTopologyCtrl1.DeviceId = 1; axEcTopologyCtrl1.OnlineMode = TOPOLOGY_ONLINE_MODE.TOPOLOGY_ONLINE_MODE_CONFIGURED; // Show topology of current configuration axEcTopologyCtrl1.ShowOnlineTopology(); MasterState Description The read only property containes the current state of the master: TwinCAT 2 447 Version:
1.7 OnlineMode Description TOPOLOGY ONLINE MODE SCANNED _ _ _ The topology determined with a bus scan. TOPOLOGY ONLINE MODE CONFIGURED _ _ _ The currently configured topology.