<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Variable not generating alarm on AlarmGroup</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/d51ad2277b/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/d51ad2277b/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/d51ad2277b/</id><updated>2020-02-27T13:48:05.311000Z</updated><subtitle>Recent posts to Variable not generating alarm on AlarmGroup</subtitle><entry><title>Variable not generating alarm on AlarmGroup</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/d51ad2277b/?limit=25#7811" rel="alternate"/><published>2020-02-27T13:48:05.311000Z</published><updated>2020-02-27T13:48:05.311000Z</updated><author><name>darius-dan</name><uri>https://forge.codesys.com/u/darius-dan/</uri></author><id>https://forge.codesys.com6435c58f4c1630d5edeb7ca92e90aa6f92384e07</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;TimvH hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
Never tested this myself, but what you might check:&lt;br/&gt;
- in the Task Configuration is a implicit call to the AlarmManager.Alarm_Prg.&lt;br/&gt;
- the scan-time is 50ms (default for the Control Win)&lt;br/&gt;
- Probably your program is called from the MainTask which is called every 20ms&lt;br/&gt;
- If this is true, than you program has already set the alarm variable to false before the Alarm_Prg has seen is.&lt;br/&gt;
Maybe by playing with these settings a little you can optimize it, but as mentioned, I am not sure so please let us know your results.&lt;br/&gt;
Another solution could also be to extend the time this alarm bit is true with e.g. a TOF timer.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;YOU'RE RIGHT!&lt;/p&gt;
&lt;p&gt;I changed the alarm task to 20ms like the Main task and it triggered just fine. Thanks.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Variable not generating alarm on AlarmGroup</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/d51ad2277b/?limit=25#4d65" rel="alternate"/><published>2020-02-27T13:48:05.250000Z</published><updated>2020-02-27T13:48:05.250000Z</updated><author><name>timvh</name><uri>https://forge.codesys.com/u/timvh/</uri></author><id>https://forge.codesys.come5dc3be4a9a605f64024e4c838511164508a85bf</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Never tested this myself, but what you might check:&lt;br/&gt;
- in the Task Configuration is a implicit call to the AlarmManager.Alarm_Prg.&lt;br/&gt;
- the scan-time is 50ms (default for the Control Win)&lt;br/&gt;
- Probably your program is called from the MainTask which is called every 20ms&lt;br/&gt;
- If this is true, than you program has already set the alarm variable to false before the Alarm_Prg has seen is.&lt;/p&gt;
&lt;p&gt;Maybe by playing with these settings a little you can optimize it, but as mentioned, I am not sure so please let us know your results.&lt;br/&gt;
Another solution could also be to extend the time this alarm bit is true with e.g. a TOF timer.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Variable not generating alarm on AlarmGroup</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/d51ad2277b/?limit=25#e628" rel="alternate"/><published>2020-02-27T13:48:05.188000Z</published><updated>2020-02-27T13:48:05.188000Z</updated><author><name>darius-dan</name><uri>https://forge.codesys.com/u/darius-dan/</uri></author><id>https://forge.codesys.com3c943eb3f5c01be64741529086b78aa46f8371ff</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;I have a simple Ladder program that has this:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;"Low Flow Switch" forwarded by a "Pump on" status.&lt;/li&gt;
&lt;li&gt;If both are true, after some time, it sets a "Low Flow alarm".&lt;/li&gt;
&lt;li&gt;"Low Flow alarm" turns off the pump.&lt;/li&gt;
&lt;li&gt;Now, as the pump is off, "Low Flow alarm" is also false.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The problem is: "Low Flow alarm" is only true for a single scan, and it is not showing on the Alarm Table on the WebVisu. If I remove the "Pump on" status from the logic, for testing purposes, it works. Is there a minimum time the variable needs to remain true so AlarmGroup triggers its alarm?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>