System variable Time with value in ms

4 Posts
2 Users
0 Likes
22 Views
(@c-pinasanzarcinfo-com)
Posts: 42
Trusted Member
Topic starter
 

Hi,

By default, the format of the value of the system variable "Time" is "HH:mm:ss".
Is there any way to change the format to see also the ms? Like "HH:mm:ss.fff"

Thanks,
Claudia

 
Posted : 31/03/2023 6:18 pm
e.mahaut
(@e-mahautarcinfo-com)
Posts: 270
Member Moderator
 

Hi Claudia,

First of all, @Time system variable is not an absolute precision and there is no solution to display milliseconds.
Then, what is the purpose to have @Time with this accuracy?
I can understand milliseconds with alarms and archives as we can retrieve the timestamp on some protocols.

Regards,
Edouard

 
Posted : 06/04/2023 12:44 pm
(@c-pinasanzarcinfo-com)
Posts: 42
Trusted Member
Topic starter
 

Hi Edouard,

Thanks for the reply. It is a need (not really necessary) for a customer. By default, he archives the TS of the I/O variable (from the PLC), but wants to archive and display (in the Alarm and Log Viewers) also the one from PcVue.

BR,
Claudia

 
Posted : 12/04/2023 5:27 pm
(@c-pinasanzarcinfo-com)
Posts: 42
Trusted Member
Topic starter
 

In fact, PcVue some times (because of communication fails) receives the frame with a slight delay, but the TS is that of the PLC. The customer also wants to see the time at which the frame arrives at PcVue. The drivers are IEC 104 and DNP3.

 
Posted : 12/04/2023 7:19 pm