1/29/2013 12:51 PM | |
Posts: 33 Rating: (0) |
But that's what i want... I need to change the time dynamicaly, in runtime. |
1/30/2013 10:36 AM | |
Joined: 9/23/2005 Last visit: 1/17/2025 Posts: 4394 Rating: (1463)
|
Hi, do you want to change the time, or the time zone? (To change the time (not time zone) you should use the block WR_SYS_T. Take a look at http://support.automation.siemens.com/WW/view/en/39182145) Why do you need to change the timezone dynamically? You PLC is used in a ship or something like this? The Block SET_TIMEZONE has a input TimeZone, itis a struct with many variables. To set a new timezone,set the internal Time Zone variable, "bias" = time zone,and give a pulse in REC. |
Last edited by: Pegaia at: 1/30/2013 11:18 AMDenilson Pegaia |
|
7/14/2013 7:14 PM | |
Joined: 10/2/2012 Last visit: 5/7/2022 Posts: 17 Rating: (0) |
Thanks for this explanation of not needing to program the time zone instruction. I was also misled believing that we have to use: SET_TIMEZONE. However in setting up my controller simply using the timezone setup in the hardware config I am not getting the correct time for my timezone. I am on GMT+2 hours but if you look at the saved watch table the difference between Universal and Local time is 3 hours.. Can you suggest why this is so?
AttachmentWoodies2.zip (430 Downloads) |
Follow us on