Industry Online Support
Technical Forum
1/25/2013 6:59 PM | |
Posts: 8 Rating: (0) |
Dear all, in a system with S7-1215 cpu and KTP600, I want give the operator the possibility to change the time. The problem is: my local time is Central Europe (UTC+1) so when I read from the plc I have: - local time = my time - system time = UTC time When I want to manage the plc time I can only write the system time so I have to: - the operator edit the new wanted time - the plc calculate the difference between local time and system time - add this difference (1 hour in my example) to the new wanted time - write the new want time with correction (1 hour) to the plc system time It works, but pheraps someone has a simpler solution... Regards AttachmentSetLocalTime.zip (605 Downloads) |
1/28/2013 2:25 PM | |
Joined: 10/10/2005 Last visit: 1/22/2025 Posts: 1929 Rating: (136) |
Hello, there is also an expample, perhaps it could be meanful for you. http://support.automation.siemens.com/WW/view/de/39182145 With best regards |
Follow us on