<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Internal function block (ST) in ladder program not executing?</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/c5d10aa9ad/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/c5d10aa9ad/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/c5d10aa9ad/</id><updated>2022-04-19T19:24:24.867000Z</updated><subtitle>Recent posts to Internal function block (ST) in ladder program not executing?</subtitle><entry><title>Internal function block (ST) in ladder program not executing?</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/c5d10aa9ad/?limit=25#8863" rel="alternate"/><published>2022-04-19T19:24:24.867000Z</published><updated>2022-04-19T19:24:24.867000Z</updated><author><name>loganr4l</name><uri>https://forge.codesys.com/u/loganr4l/</uri></author><id>https://forge.codesys.com79329255a3b2d442fe37a88cefacbb5aa85a78aa</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Need to see the code. Some things to keep in mind. You must start the the program program even in simulation mode. The ladder must be in some way tied into the tasks, for example the ladder POU could be directly tied to a task on an interval, or it could be called from another POU that is on a interval task. &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Internal function block (ST) in ladder program not executing?</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/c5d10aa9ad/?limit=25#c047" rel="alternate"/><published>2022-04-19T12:32:17.149000Z</published><updated>2022-04-19T12:32:17.149000Z</updated><author><name>nathant</name><uri>https://forge.codesys.com/u/nathant/</uri></author><id>https://forge.codesys.comabe52fcd0487c1bfa0a024ae06c3c9befd6958f3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I am trying to implement an internal FB, written in structured text within a ladder program, with an enable input and output, three input variables, and two output variables. Everything about the logic seems sound, however when I try to simulate the program, the FB fails to execute even when EN is clearly on. I am quite new to CODESYS and figured the issue is probably basic, but so far none of my attempted fixes have worked.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>