beckhoff TC170x — 7.2.3 Method ITcRTimeSimulation:AdvanceTick

API | Interface ITcRTimeSimulation Methods 7.2.1 Method ITcRTimeSimulation:ChangeTickMode | Method ITcRTimeSimulation:ChangeTickMode Change the mode of the Usermode Runtime. 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.2.2 Method ITcRTimeSimulation:GetTickMode | Method ITcRTimeSimulation:GetTickMode Query the mode of the Usermode Runtime.

Syntax virtual HRESULT TCOMAPI GetTickMode(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.2.3 Method ITcRTimeSimulation:AdvanceTick | Method ITcRTimeSimulation:AdvanceTick Execution of real-time ticks for the Usermode Runtime. TC170x 19 Version: 1.6.1 Name Description ChangeTickMode [} 19] Change the mode of the Usermode Runtime. GetTickMode [} 19] Query the mode of the Usermode Runtime. AdvanceTick [} 19] Execution of real-time ticks for the Usermode Runtime.

Name Type Description rtTickMode ULONG Sets the mode of the Usermode Runtime. RtMode FastAsPossible := 2 _ RtMode Externaltick := 3 _ RtMode Cyclic := 4 _ Name Type Description rtTickMode ULONG& Query the advanced mode of the Usermode Runtime RtMode None := 0 _ RtMode Normal := 1 _ RtMode FastAsPossible := 2 _ RtMode Externaltick := 3 _ RtMode Cyclic := 4 _ RtMode Invalid := -1 _