<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Noob in Codesys and IFM CR7506...Output stay active</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/4f1a971297/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/4f1a971297/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/4f1a971297/</id><updated>2020-02-27T19:41:26.095000Z</updated><subtitle>Recent posts to Noob in Codesys and IFM CR7506...Output stay active</subtitle><entry><title>Noob in Codesys and IFM CR7506...Output stay active</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/4f1a971297/?limit=25#d693" rel="alternate"/><published>2020-02-27T19:41:26.095000Z</published><updated>2020-02-27T19:41:26.095000Z</updated><author><name>ShaidvExp</name><uri>https://forge.codesys.com/u/shaidvexp/</uri></author><id>https://forge.codesys.com3f937516c7b32104d7effa827c45af8181d74e17</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;br/&gt;
This is my 1st trying to write code in IFM codesys.&lt;br/&gt;
How to reset a timer, the output is active even if the input is reset.&lt;br/&gt;
The code run in SFC, &lt;br/&gt;
When the timer ends (in step 2), you return to the previous step (1).&lt;br/&gt;
When the transition conditions are met (in step 1), you proceed to step 2 with the timer.&lt;br/&gt;
Since the output is activated (TRUE), there is no time count and immediately go to the previous step (1).&lt;/p&gt;
&lt;p&gt;Delay_1 : TON;&lt;br/&gt;
From online:&lt;br/&gt;
  Delay_1&lt;br/&gt;
             .M=&lt;span style="color: #0080FF;"&gt;TRUE&lt;/span&gt;&lt;br/&gt;
             .StartTime = T#39039m12s17ms       &lt;span style="color: #FF4040;"&gt;&amp;lt;= What's that?&lt;/span&gt;&lt;br/&gt;
             .IN=FALSE&lt;br/&gt;
             .PT=T#30s0ms&lt;br/&gt;
             .Q=&lt;span style="color: #0080FF;"&gt;TRUE&lt;/span&gt;&lt;br/&gt;
             .ET=T#30s0ms&lt;/p&gt;
&lt;p&gt;Thanks&lt;br/&gt;
Shai&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>