<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to changing the type of an existing POU from FB to PRG</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/c8681350bb/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/c8681350bb/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/c8681350bb/</id><updated>2020-02-27T21:31:39.067000Z</updated><subtitle>Recent posts to changing the type of an existing POU from FB to PRG</subtitle><entry><title>changing the type of an existing POU from FB to PRG</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/c8681350bb/?limit=25#f539" rel="alternate"/><published>2020-02-27T21:31:39.067000Z</published><updated>2020-02-27T21:31:39.067000Z</updated><author><name>Easytherm</name><uri>https://forge.codesys.com/u/easytherm/</uri></author><id>https://forge.codesys.com28c09c1bcb7abe80c8b2605c08791c4850a12f69</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thank you very much shooter, your suggestion saves me a lot of time&lt;/p&gt;
&lt;p&gt;merry christmas to you!&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>changing the type of an existing POU from FB to PRG</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/c8681350bb/?limit=25#a3d5" rel="alternate"/><published>2020-02-27T21:31:35.022000Z</published><updated>2020-02-27T21:31:35.022000Z</updated><author><name>shooter</name><uri>https://forge.codesys.com/u/shooter/</uri></author><id>https://forge.codesys.com431973695ccc392c958241996825cfd7cf113d13</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;yes you can copy paste your SFC, select all you want except the init, and the jump&lt;br/&gt;
with shift.&lt;br/&gt;
watch the inputs and outputs as this is impossible in a program, and other vars and actions.&lt;br/&gt;
however better is to have subfunction blocks when it grows too big, just have another SFC called by your first SFC.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>changing the type of an existing POU from FB to PRG</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/c8681350bb/?limit=25#dbca" rel="alternate"/><published>2020-02-27T21:31:33.573000Z</published><updated>2020-02-27T21:31:33.573000Z</updated><author><name>Easytherm</name><uri>https://forge.codesys.com/u/easytherm/</uri></author><id>https://forge.codesys.com88a0912eab14e3a7ca986015c9c8db1c908137d2</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello, I search if there is any simple way to change the type of an existing POU&lt;/p&gt;
&lt;p&gt;I have programmed a SFC as an FB (in order to have it persistent), but now it's getting quite big and I have to change the code from FB to PRG.&lt;/p&gt;
&lt;p&gt;Is there anyway to export the code from my FB module to a PRG ? (it is very simple with a text FB just copy and paste in a PRG), but I don't know how to do it with a SFC POU.&lt;/p&gt;
&lt;p&gt;thank you very much&lt;/p&gt;
&lt;p&gt;Jacques&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>