ST_TopologyDataEx
Die Struktur ST_TopologyDataEx
enthält Informationen zur EtherCAT-Topologie und zu Hot Connect Gruppen.
TYPE ST_TopologyDataEx:
STRUCT
nOwnPhysicalAddr : UINT;
nOwnAutoIncAddr : UINT;
stPhysicalAddr : ST_PortAddr;
stAutoIncAddr : ST_PortAddr;
aReserved1 : ARRAY [0..3] OF UDINT;
nStatusBits : DWORD;
nHCSlaveCountCfg : UINT; (*nStatusBits.0 = TRUE: DcSupprt;.1 = TRUE: DC64Supprt; .2=TRUE: SlavePresent following hot connect info requires runtime >= TC 2.11 R3 B2246 nStatusBits.3 = TRUE: HotConnectGroupStart; .4 = HotConnectSlave; .5 = TRUE: HotCOnnectInvalidB; .6 = TRUE: HotConnectInvalidC; .7 = TRUE: HotConnectInvalidD*)
nHCSlaveCountAct : UINT;
aReserved2 : ARRAY [0..4] OF UDINT;
END_STRUCT
END_TYPE
Name | Typ | Beschreibung |
---|---|---|
nOwnPhysicalAddr | UINT | Eigene physische EtherCAT-Adresse des EtherCAT-Slave-Gerätes |
nOwnAutoIncAddr | UINT | Eigene autoinkrement EtherCAT-Adresse des EtherCAT-Slave-Gerätes |
stPhysicalAddr | ST_PortAddr | Physische Adressinformationen der EtherCAT-Slave-Geräte an Port A…D |
stAutoIncAddr | ST_PortAddr | Autoinkrement Adressinformationen der EtherCAT-Slave-Geräte an Port A…D |
aReserved1 | ARRAY [0..3] OF UDINT | Reserviert |
nStatusBits | DWORD | nStatusBits.0 = TRUE: Distributed Clock werden unterstützt |
nHCSlaveCountCfg | UINT | Konfigurierte Anzahl der Hot Connect Gruppenteilnehmer |
nHCSlaveCountAct | UINT | Gefundene Anzahl an Hot Connect Gruppenteilnehmern |
aReserved2 | ARRAY [0..4] OF UDINT | Reserviert |
Voraussetzungen
Entwicklungsumgebung | Zielplattform | Einzubindende SPS- Bibliotheken |
---|---|---|
TwinCAT v3.1.0 | PC oder CX (x86, x64, Arm®) | Tc2_EtherCAT |