I am looking for a tag in KepServerEX 6 to get the current system date and time, these tags could be used for further usages such as PLC date time updates.
The time must be separated into simple HH and MM tags.
I have searched in the simulator and advanced simulator tags but nothing found.
Any help appreciated
With an OPC-Ua client, exploring the KepwareEX 6 opc-ua server tags (in my case namespace is 2) there are:
ns=2;s=_System._Time
ns=2;s=_System._Time_Hour
ns=2;s=_System._Time_Hour24
ns=2;s=_System._Time_Minute
You can cast them (the last 3 tag that are numbers) in strings using a derived advanced tag. I not found the solution to preserve the 2 char format (01:01 become 1:1)
Alternatively you can use the HH:MM:SS _System._Time string directly that respect the format.