Link to the modified example from the video:
https://ftp.owen.ru/CoDeSys3/21_Examp...
I misspoke at 17:18 – resetting the timer isn't necessary, since the xReceiveInProcess flag, which starts the timer, is reset.
OwenVendrorProtocols and OwenCommunication libraries:
https://owen.ru/product/codesys_v3/li...
Document "CODESYS V3.5. Implementation of Custom Protocols":
https://ftp.owen.ru/CoDeSys3/11_Docum...