<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Sensor not set</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/b7ef263d26/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/b7ef263d26/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/b7ef263d26/</id><updated>2024-05-28T13:27:20.247000Z</updated><subtitle>Recent posts to Sensor not set</subtitle><entry><title>Sensor not set</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/b7ef263d26/?limit=25#c870" rel="alternate"/><published>2024-05-28T13:27:20.247000Z</published><updated>2024-05-28T13:27:20.247000Z</updated><author><name>plunje</name><uri>https://forge.codesys.com/u/plunje/</uri></author><id>https://forge.codesys.com29dbb02f3a24e604a704bcb4bbe10bdaf4a8d120</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks a lot! &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Sensor not set</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/b7ef263d26/?limit=25#f499" rel="alternate"/><published>2024-05-27T12:16:38.820000Z</published><updated>2024-05-27T12:16:38.820000Z</updated><author><name>TimvH</name><uri>https://forge.codesys.com/u/timvh/</uri></author><id>https://forge.codesys.comcce56a6a2b380c907bf0c722ce1ac10150c7a1f4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Your function block instance is not called, so the code is not executed to set the light on when the button is pressed.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Sensor not set</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/b7ef263d26/?limit=25#a934" rel="alternate"/><published>2024-05-26T18:44:14.229000Z</published><updated>2024-05-26T18:44:14.229000Z</updated><author><name>plunje</name><uri>https://forge.codesys.com/u/plunje/</uri></author><id>https://forge.codesys.com4942fffbc1bb06819787a8c855853534303c171f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;A got a larger project but this very small example makes it clear. I have a button, and after it's clicked a lamp should flip on and stays on, and when the mouse-button is released it should stay on. When I try that in the PLC_PRG it works, but when I change it to a function block (seet attched demo proj) it isn't. I'm fairly new to PLC programming but are very experienced C# engineer, but this goes above my head... &lt;/p&gt;&lt;/div&gt;</summary></entry></feed>