Runtime-Typ (ADS)
Eine Runtime bietet per ADS eine Schnittstelle, mit der ein ADS-Client den Typen abfragen kann.
Plattform Typ
Über diese Schnittstelle kann der Plattform Typ abgefragt werden.
ADS Port | Index Group | Index Offset | Zugriff | Datentyp | Beschreibung | Anmerkung |
---|---|---|---|---|---|---|
200 | 0x00000700 | 0x00000004 (TARGETINFO_PLATFORM) | R | String | Ein String mit der Plattform, wie sie auch im TwinCAT XAE Engineering ausgewählt wird. |
|
Runtime-Typ
Über diese Schnittstelle kann der Runtime-Typ abgefragt werden – also die Information, ob es sich um eine Echtzeit-Runtime oder um die TwinCAT 3 Usermode Runtime handelt.
ADS Port | Index Group | Index Offset | Zugriff | Datentyp | Beschreibung | Anmerkung |
---|---|---|---|---|---|---|
200 | 0x00000700 | 0x00000002 (TARGETINFO_TARGETTYPE) | R | ULONG | 1 = Usermode Runtime 0 = keine Usermode Runtime |
|