<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to sunset/sunrise switch outside lights</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/e49f9d0b5c/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/e49f9d0b5c/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/e49f9d0b5c/</id><updated>2020-05-06T07:02:14.435000Z</updated><subtitle>Recent posts to sunset/sunrise switch outside lights</subtitle><entry><title>sunset/sunrise switch outside lights</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/e49f9d0b5c/?limit=25#7db9/d05b" rel="alternate"/><published>2020-05-06T07:02:14.435000Z</published><updated>2020-05-06T07:02:14.435000Z</updated><author><name>ahmed</name><uri>https://forge.codesys.com/u/ahmed/</uri></author><id>https://forge.codesys.comf8a70b5878c9458c931ffe5fa47ed67137510736</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;did you solve this?&lt;br/&gt;
Im interested in conditions for day night in relation to angles?&lt;/p&gt;
&lt;p&gt;BR&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>sunset/sunrise switch outside lights</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/e49f9d0b5c/?limit=25#e41a" rel="alternate"/><published>2020-02-27T22:07:55.534000Z</published><updated>2020-02-27T22:07:55.534000Z</updated><author><name>fleaplc</name><uri>https://forge.codesys.com/u/fleaplc/</uri></author><id>https://forge.codesys.com4f0d241bea7b555878e05ea27f12e609a36fbbf5</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;FB (Oscat) is SUN_POS (§12.50). By this you can get the sun position : when Zenith &amp;lt; -0.8333 it means sunset is done (you can turn on the lights)&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>sunset/sunrise switch outside lights</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/e49f9d0b5c/?limit=25#c933" rel="alternate"/><published>2020-02-27T22:07:51.247000Z</published><updated>2020-02-27T22:07:51.247000Z</updated><author><name>Serhioromano</name><uri>https://forge.codesys.com/u/serhioromano/</uri></author><id>https://forge.codesys.com4f2f3b726d1e8a3c0146562082bf4e33fbd15fc5</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;jpesout hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
Can this also be used with codesys 2.3? I am still using the old version for my PLC&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Yes it can. I used it fine.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>sunset/sunrise switch outside lights</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/e49f9d0b5c/?limit=25#77c0" rel="alternate"/><published>2020-02-27T22:07:49.718000Z</published><updated>2020-02-27T22:07:49.718000Z</updated><author><name>jpesout</name><uri>https://forge.codesys.com/u/jpesout/</uri></author><id>https://forge.codesys.comf0196093dbcc31283df065b70b27748b3f82b309</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Can this also be used with codesys 2.3? I am still using the old version for my PLC&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>sunset/sunrise switch outside lights</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/e49f9d0b5c/?limit=25#969f" rel="alternate"/><published>2020-02-27T22:07:45.418000Z</published><updated>2020-02-27T22:07:45.418000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com51b0a3fe594d4324b88b687ae13b19d3fa12e06a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
check the OSCAT Libs:&lt;br/&gt;
&lt;a class="" href="https://store.codesys.com/catalogsearch/result/?q=OSCAT" rel="nofollow"&gt;https://store.codesys.com/catalogsearch/result/?q=OSCAT&lt;/a&gt;&lt;br/&gt;
BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>sunset/sunrise switch outside lights</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/e49f9d0b5c/?limit=25#7db9" rel="alternate"/><published>2020-02-27T22:07:43.880000Z</published><updated>2020-02-27T22:07:43.880000Z</updated><author><name>jpesout</name><uri>https://forge.codesys.com/u/jpesout/</uri></author><id>https://forge.codesys.com1312960a256e16e368d498d78ebba7f419dd1bb4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am trying to program outdoor lights, without a sensor, just switch on when it becomes dark.&lt;br/&gt;
I am using the Calculate_SunriseSunset function block, based on longitudinal and latitudinal.&lt;br/&gt;
this gives me the correct elevation and azimuth of the sun.&lt;/p&gt;
&lt;p&gt;How can I now use this to trigger my relays?&lt;br/&gt;
And beside this, I also want to be able to swith them off/on manually.&lt;br/&gt;
For all my other lights, I am using the FB_LatchingRelay to switch on/off the lights.&lt;/p&gt;
&lt;p&gt;Is all this possible using function blocks? Or do I need to program this myself in ST?&lt;br/&gt;
(I think I cannot find the SunriseSunset calculation in ST)&lt;/p&gt;
&lt;p&gt;The basis idea is that my lights are switched on when it is dark enough outside and that I am able to switch them on/off manually, overriding the "dark enough" option.&lt;/p&gt;
&lt;p&gt;Can someone help me with this?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>