<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to How to modify the time zone information to set with Adelaide, AU in DTutil library?</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e8cbb171e9/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e8cbb171e9/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/e8cbb171e9/</id><updated>2020-02-27T14:12:31.090000Z</updated><subtitle>Recent posts to How to modify the time zone information to set with Adelaide, AU in DTutil library?</subtitle><entry><title>How to modify the time zone information to set with Adelaide, AU in DTutil library?</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e8cbb171e9/?limit=25#77fd" rel="alternate"/><published>2020-02-27T14:12:31.090000Z</published><updated>2020-02-27T14:12:31.090000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com454555942849d09159dbc269f019c0c72e690b53</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;this seems to be a bug in the OSCAT Basic library in UTC_TO_LTIME.&lt;br/&gt;
I will report this in the OSCAT Forum (oscat.de)&lt;/p&gt;
&lt;p&gt;You could solve this by change it in the library (the oscat libs are open) just open it from here:&lt;br/&gt;
"c:\Users\&amp;lt;yourwindowsusername&amp;gt;\CODESYS OSCAT Basic\oscat_basic_333.library" &amp;lt;/yourwindowsusername&amp;gt;&lt;/p&gt;
&lt;p&gt;just change the tmp variable from int to DINT and install it by under the 'File' menu&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: UTC_TO_LTIME.jpg" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=3113"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: TimeZoneAdelaide.jpg" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=3111"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How to modify the time zone information to set with Adelaide, AU in DTutil library?</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e8cbb171e9/?limit=25#a72a" rel="alternate"/><published>2020-02-27T14:12:30.719000Z</published><updated>2020-02-27T14:12:30.719000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com2fbb68989bcc5293f5cc0f052c383537f1efa4d3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;puh... &lt;br/&gt;
you are right this seems not to work for Adelaide&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How to modify the time zone information to set with Adelaide, AU in DTutil library?</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e8cbb171e9/?limit=25#7338" rel="alternate"/><published>2020-02-27T14:12:29.648000Z</published><updated>2020-02-27T14:12:29.648000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com90a6192acbf2cc1c97a7956acdecfd1369e8c5b8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
hm.. i set 540 for 9h and this seems to work for me.&lt;br/&gt;
SystemTimePrg.Calendar.LDT is then your local time.&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: Timeoffset.jpg" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=3110"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How to modify the time zone information to set with Adelaide, AU in DTutil library?</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e8cbb171e9/?limit=25#82a8" rel="alternate"/><published>2020-02-27T14:12:29.277000Z</published><updated>2020-02-27T14:12:29.277000Z</updated><author><name>dsyakira</name><uri>https://forge.codesys.com/u/dsyakira/</uri></author><id>https://forge.codesys.comfe395129341c8c3941d0d68ffd5d3e166fbe8b0a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Edwin Schwellinger hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
Hi,&lt;br/&gt;
from my point of view this is not needed&lt;br/&gt;
if you are connected to a network isn't it thant you have the time Information set by the OS?&lt;br/&gt;
So that's all you need.&lt;br/&gt;
Here is an example application with osccat calender and example how to set events once a day..etc&lt;br/&gt;
 l &lt;a class="" href="https://forum.codesys.com/viewtopic.php?f=23&amp;amp;t=6247&amp;amp;p=12387#p12396" rel="nofollow"&gt;viewtopic.php?f=23&amp;amp;t=6247&amp;amp;p=12387#p12396&lt;/a&gt; l &lt;br/&gt;
BR&lt;br/&gt;
Edwin&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;I have tried the timerexample before I posted the question here, but using that example return my local time as UTC time. When I changed the offset time to 630/530 in minutes it shift the local time 1 day before.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How to modify the time zone information to set with Adelaide, AU in DTutil library?</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e8cbb171e9/?limit=25#2d92" rel="alternate"/><published>2020-02-27T14:12:28.900000Z</published><updated>2020-02-27T14:12:28.900000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.comc5cd0b6ba51158f1b2fcc1bd5af3c899c0724f32</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
from my point of view this is not needed&lt;br/&gt;
if you are connected to a network isn't it thant you have the time Information set by the OS?&lt;br/&gt;
So that's all you need.&lt;br/&gt;
Here is an example application with osccat calender and example how to set events once a day..etc&lt;br/&gt;
 l &lt;a class="" href="https://forum.codesys.com/viewtopic.php?f=23&amp;amp;t=6247&amp;amp;x=12387&amp;amp;p=12396&amp;amp;lan=en" rel="nofollow"&gt;viewtopic.php?f=23&amp;amp;t=6247&amp;amp;p=12387#p12396&lt;/a&gt; l &lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How to modify the time zone information to set with Adelaide, AU in DTutil library?</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e8cbb171e9/?limit=25#f0b9" rel="alternate"/><published>2020-02-27T14:12:27.856000Z</published><updated>2020-02-27T14:12:27.856000Z</updated><author><name>dsyakira</name><uri>https://forge.codesys.com/u/dsyakira/</uri></author><id>https://forge.codesys.comc9bb8530bacc66fbbe8606af2a3ae735c46a899e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I have tried using DTU.SetTimeZoneInformation, DTU.gc_tziTimeZoneCET but could get mine working.&lt;/p&gt;
&lt;p&gt;Both return my current time as UTC time. &lt;/p&gt;
&lt;p&gt;I am trying to get this working so that my Daylight Saving time automatically change. &lt;/p&gt;
&lt;p&gt;I am running this on a Raspberry Pi. My raspberry pi has the ntp server, I also have check out OSCAT network where they have the SNTP server function block, but I dont know how to use it. I am new to Codesys. Help would be appreciated.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>