API | Runtime type (ADS) Syntax virtual HRESULT TCOMAPI ChangeTickMode(ULONG rtTickMode) = 0; Parameter Return value If successful, S_OK ("0") or another positive value will be returned, cf. Return values [ } 22] . Extended messages refer in particular to the column HRESULT in ADS Return Codes [ } 24] . 7.3 Runtime type (ADS) | Runtime type (ADS) A runtime provides an interface via ADS with which an ADS client can query the type. Platform type The platform type can be queried via this interface. Runtime type The runtime type can be queried via this interface - i.e. the information whether it is a real-time runtime or the TwinCAT 3 Usermode Runtime. TC170x 20 Version:
1.6.1 Name Type Description nTicks ULONG Execution of the number of ticks. ADS Port Index Group Index Offset Access Data type Description Note 200 0x00000700 (SYSTEMSE RVICE TAR _ GETINFO) 0x00000004 (TARGETINF O PLATFOR _ M) R String A string with the platform as selected in TwinCAT XAE Engineering. For example, a "TwinCAT OS (x64)" for a TwinCAT Usermode Runtime or a TwinCAT/BSD® system. ADS Port Index Group Index Offset Access Data type Description Note 200 0x00000700 (SYSTEMSE RVICE TAR _ GETINFO) 0x00000002 (TARGETINF O TARGETT _ YPE) R ULONG 1 = Usermode Runtime 0 = no Usermode Runtime