it doesn't look bad. If you only want to monitor revolutions per minute, you can set a delay of 60 in the DELM block and delete the DIV and MUL blocks. I prepared a DIV block just for case you want a value in seconds.
Counter reset is only for timely reset so that the value does not overflow. But the counters are 16-bit. So the value doesn't overflow for a while.
@mtomek Hi Michal,
thank you for sharing your findings with the community.
Google uses more secure version of TLS which does not support the SMTP function block. Seznam apparently didn't upgrade the security yet.