Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched.
Close
I would like to timestamp my values with a time value that has milli second resolution (~accuracy) and transmit them via Modbus/TCP. Now I found the SysLibTime.lib with its structure SystemTimeDate. SystemTimeDate contains the value Millisecond but it seems that this value is always zero!
There is a timer with micro second resolution, but I can't figure out how to use this counter for mi absolute timestamp. Any help is welcome!
PS: I use the WAGO 841 Ethernet Controller.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello
I would like to timestamp my values with a time value that has milli second resolution (~accuracy) and transmit them via Modbus/TCP. Now I found the SysLibTime.lib with its structure SystemTimeDate. SystemTimeDate contains the value Millisecond but it seems that this value is always zero!
There is a timer with micro second resolution, but I can't figure out how to use this counter for mi absolute timestamp. Any help is welcome!
PS: I use the WAGO 841 Ethernet Controller.