PresetSysTick
The "PresetSysTick" function can set the value of the internal system tick. The PLC Controller's system tick is a 32 bit counter that is incremented every millisecond. When successful, the function supplies the new value of the system tick as its return parameter.
FUNCTION PresetSysTick : DWORD
VAR_INPUT
VAR_INPUT
iVAlue : DWORD;
END_VAR
iValue: The new value of the system tick.
Requirements
Development environment |
Target system type |
PLC libraries to include |
---|---|---|
TwinCAT v2.7.0 and above |
BCxxxx (165) |
PlcSystemBC.Lb6 |