beckhoff — 12.4.2 Methods of the ActiveX control

Appendix | Appendix D: EtherCAT Topology ActiveX Control Display the online topology You can either display the topology of the current configuration, or the topology that is determined by a bus scan. The property OnlineMode is used for this: scanned topology: OnlineMode = TOPOLOGY_ONLINE_MODE_SCANNED Currently configured topology: OnlineMode = TOPOLOGY_ONLINE_MODE_CONFIGURED Next you must call ShowOnlineTopology , to display the topology: DeviceId Description The property DeviceId defines the EtherCAT device of the TwinCAT target system one wants to display.

The DeviceId is the unique Id of the EtherCAT master device in the TwinCAT I/O System Property type Read-write property Default value 0 Syntax (C#) int DeviceId { set; get; } Member of IEcTopologyCtrl TwinCAT 2 445 Version: 1.7