<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Initialisation TimerSwitch of Util Codesys 3.5 Library</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/76cd75c6da/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/76cd75c6da/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/76cd75c6da/</id><updated>2024-10-14T22:41:21.541000Z</updated><subtitle>Recent posts to Initialisation TimerSwitch of Util Codesys 3.5 Library</subtitle><entry><title>Initialisation TimerSwitch of Util Codesys 3.5 Library</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/76cd75c6da/?limit=25#2f9a/0687" rel="alternate"/><published>2024-10-14T22:41:21.541000Z</published><updated>2024-10-14T22:41:21.541000Z</updated><author><name>davidb</name><uri>https://forge.codesys.com/u/davidb/</uri></author><id>https://forge.codesys.comf1cb8d3fb80bb086744df0e18a87392f4fd42e90</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;jf89 Hello!Good morning&lt;/p&gt;
&lt;p&gt;You got it to use the function block Timer Switch for your application?&lt;/p&gt;
&lt;p&gt;I'm needing to do one system that turn on at 8:00am o' clock and turn off at 17:00pm o' clock, from Monday to Friday. Please, can you help me?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Initialisation TimerSwitch of Util Codesys 3.5 Library</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/76cd75c6da/?limit=25#05f7" rel="alternate"/><published>2024-10-13T15:17:11.830000Z</published><updated>2024-10-13T15:17:11.830000Z</updated><author><name>davidb</name><uri>https://forge.codesys.com/u/davidb/</uri></author><id>https://forge.codesys.comb3cf558ace89ffec2733081fcd3a58d401a92fba</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;jf89 Hello!Good morning&lt;/p&gt;
&lt;p&gt;You got it to use the function block Timer Switch for your application?&lt;/p&gt;
&lt;p&gt;I'm needing to do one system that turn on at 8:00am o' clock and turn off at 17:00pm o' clock, from Monday to Friday. Please, can you help me?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Initialisation TimerSwitch of Util Codesys 3.5 Library</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/76cd75c6da/?limit=25#a1c7" rel="alternate"/><published>2021-06-07T17:16:39.814000Z</published><updated>2021-06-07T17:16:39.814000Z</updated><author><name>sgronchi</name><uri>https://forge.codesys.com/u/sgronchi/</uri></author><id>https://forge.codesys.come9ce1311251bc58834cb97394a43392e3d5b4ee3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;You can see in the CFC part that aslSchedule is 0, so the function block did not receive "mySchedule" position in memory.&lt;br/&gt;
Maybe the culprit is a stale connection (shown connected but actually not), try to delete and reconnect it.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Initialisation TimerSwitch of Util Codesys 3.5 Library</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/76cd75c6da/?limit=25#e54d" rel="alternate"/><published>2021-06-07T17:15:40.833000Z</published><updated>2021-06-07T17:15:40.833000Z</updated><author><name>jf89</name><uri>https://forge.codesys.com/u/jf89/</uri></author><id>https://forge.codesys.comc29c3124a737b52fd6a1804a3b505cd469b415f4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;settings &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Initialisation TimerSwitch of Util Codesys 3.5 Library</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/76cd75c6da/?limit=25#87a2" rel="alternate"/><published>2021-06-07T17:15:10.533000Z</published><updated>2021-06-07T17:15:10.533000Z</updated><author><name>jf89</name><uri>https://forge.codesys.com/u/jf89/</uri></author><id>https://forge.codesys.com884f9d28cb6d07f581d524859ff3096f25a4cdc8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;timerswitch running&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Initialisation TimerSwitch of Util Codesys 3.5 Library</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/76cd75c6da/?limit=25#5df3" rel="alternate"/><published>2021-06-07T17:12:37.475000Z</published><updated>2021-06-07T17:12:37.475000Z</updated><author><name>jf89</name><uri>https://forge.codesys.com/u/jf89/</uri></author><id>https://forge.codesys.comebd8f5470b87f6242a0176b0b085af45ed1d8e17</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Well, with the  last indications the program  compile.&lt;/p&gt;
&lt;p&gt;But with the same settings , one program is working and the other no !&lt;/p&gt;
&lt;p&gt;I don't understand the error of pointer !&lt;/p&gt;
&lt;p&gt;Does someone have any idea ?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Initialisation TimerSwitch of Util Codesys 3.5 Library</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/76cd75c6da/?limit=25#d91d" rel="alternate"/><published>2021-06-07T09:30:23.019000Z</published><updated>2021-06-07T09:30:23.019000Z</updated><author><name>sgronchi</name><uri>https://forge.codesys.com/u/sgronchi/</uri></author><id>https://forge.codesys.comc6ad56d4b2b1078cc9aab562530c66e8a3be1bf2</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Ooook, did not try but just looked the docs.&lt;br/&gt;
From the error it seems that aslSchedule is VAR_IN_OUT, so just put the array without ADR and &lt;a class="alink" href="/forge/talk-ru/1/"&gt;[1]&lt;/a&gt;.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Initialisation TimerSwitch of Util Codesys 3.5 Library</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/76cd75c6da/?limit=25#52e5" rel="alternate"/><published>2021-06-07T09:27:30.934000Z</published><updated>2021-06-07T09:27:30.934000Z</updated><author><name>jf89</name><uri>https://forge.codesys.com/u/jf89/</uri></author><id>https://forge.codesys.combd51a1c77469ba549399dcefdccae933395ee879</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello Sgronchi,&lt;br/&gt;
Thanks for your help.&lt;/p&gt;
&lt;p&gt;All the mecanism of pointer to schedule seems to be difficult to understand for me .&lt;/p&gt;
&lt;p&gt;I probably not correctly  set the pointer to asISchedule input of the function block.&lt;/p&gt;
&lt;p&gt;Here is a screenshot of what i received.&lt;/p&gt;
&lt;p&gt;Can you tell me where is my mistake ?&lt;/p&gt;
&lt;p&gt;The aim of that function block , is to receive  DATE,TOD,WEEKDAY and to compare with an array &lt;span&gt;[1..7,1..4]&lt;/span&gt; of boolean corresponding of &lt;span&gt;[1..4,1..2]&lt;/span&gt;  TOD ON and OFF  (validation for  each day of week of 4 schedule) (a sort of multischeduler but only 4 schedules and 1 binary output.&lt;/p&gt;
&lt;p&gt;So I don't know how to force the input asISchedule.&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Initialisation TimerSwitch of Util Codesys 3.5 Library</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/76cd75c6da/?limit=25#0064" rel="alternate"/><published>2021-06-05T20:11:14.612000Z</published><updated>2021-06-05T20:11:14.612000Z</updated><author><name>sgronchi</name><uri>https://forge.codesys.com/u/sgronchi/</uri></author><id>https://forge.codesys.comef6dc201b20c505c5b577470b024b33a4307431b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;It is a pointer to the first element of an array.&lt;br/&gt;
Declare an array in your code, like&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="n"&gt;mySchedule&lt;/span&gt; &lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="n"&gt;ARRAY&lt;/span&gt; &lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="o"&gt;..&lt;/span&gt;&lt;span class="mi"&gt;32&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt; &lt;span class="n"&gt;OF&lt;/span&gt; &lt;span class="n"&gt;Schedule&lt;/span&gt; &lt;span class="o"&gt;:=&lt;/span&gt; &lt;span class="o"&gt;[(&lt;/span&gt;&lt;span class="n"&gt;usiSwitch&lt;/span&gt; &lt;span class="o"&gt;:=&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="n"&gt;todFirstOn&lt;/span&gt; &lt;span class="o"&gt;:=&lt;/span&gt; &lt;span class="o"&gt;...,&lt;/span&gt; &lt;span class="n"&gt;todLastOn&lt;/span&gt; &lt;span class="o"&gt;:=&lt;/span&gt; &lt;span class="o"&gt;...,&lt;/span&gt; &lt;span class="n"&gt;byDayFlags&lt;/span&gt; &lt;span class="o"&gt;:=&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="err"&gt;#&lt;/span&gt;&lt;span class="mi"&gt;0010&lt;/span&gt;&lt;span class="n"&gt;_1001&lt;/span&gt;&lt;span class="o"&gt;),&lt;/span&gt; &lt;span class="o"&gt;...];&lt;/span&gt; 
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;and then assign ADR(mySchedule&lt;a class="alink" href="/forge/talk-ru/1/"&gt;[1]&lt;/a&gt;) to aslSchedule.&lt;/p&gt;
&lt;p&gt;A tip: instead of posting screenshots of online help, post the link.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Initialisation TimerSwitch of Util Codesys 3.5 Library</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/76cd75c6da/?limit=25#79d5" rel="alternate"/><published>2021-06-05T09:15:56.431000Z</published><updated>2021-06-05T09:15:56.431000Z</updated><author><name>jf89</name><uri>https://forge.codesys.com/u/jf89/</uri></author><id>https://forge.codesys.comd993621baca568e6e6ae01109b249ab391e21b85</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;and the last&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>