The ProtoTwin Connect application requests a 1ms timer resolution from Windows. However, this request may be rejected by the operating system on some low-power devices. When this happens, ProtoTwin Connect’s communication latency may be limited to a minimum of about 15.6ms, which is the default Windows timer resolution.
Does this affect my PC?
If you see a read/write latency of around 15ms in the IO Browser when connected to a PLC then you may be affected.
How can I force Windows to use a high resolution timer?
Whilst running ProtoTwin on low power devices, such as ultraportable laptops, isn’t recommended, it is usually possible to coerce Windows into accepting the request for a higher resolution timer. On Windows 11, one way to do this is to add an entry to the Windows registry.
Create a registry entry with the name GlobalTimerResolutionRequests
and type DWORD
in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\kernel
and assign it the value 1.
Alternatively, unzip and run the attached registry edit.
ApplyTimerFix.zip (313 Bytes)
You must restart your PC after making this change.