<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Assign initial value in FB output</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e41d90b549/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e41d90b549/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/e41d90b549/</id><updated>2020-02-27T14:23:03.266000Z</updated><subtitle>Recent posts to Assign initial value in FB output</subtitle><entry><title>Assign initial value in FB output</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e41d90b549/?limit=25#bc83" rel="alternate"/><published>2020-02-27T14:23:03.266000Z</published><updated>2020-02-27T14:23:03.266000Z</updated><author><name>bloox</name><uri>https://forge.codesys.com/u/bloox/</uri></author><id>https://forge.codesys.com8649253c42852e58ca692e9bd891d60436f84dd7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Finally I found you can do it in the variables declaration (where the instance of the FB is declared e.g GVL)when you have tabular view and click the initialization or just TestInstance: TestFB := (out := 6);!&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Assign initial value in FB output</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e41d90b549/?limit=25#f4fb" rel="alternate"/><published>2020-02-27T14:23:02.856000Z</published><updated>2020-02-27T14:23:02.856000Z</updated><author><name>bloox</name><uri>https://forge.codesys.com/u/bloox/</uri></author><id>https://forge.codesys.com0df8b2d4573e8a409ed9f5255c58fcd82a739b99</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;br/&gt;
I would like to ask if it is possible in Codesys to assign an initial value in the output of a function block when you call it.&lt;br/&gt;
I know that according to IEC standard an output can only be read outside the function block but because there is a possibility of assigning an initialization value in other software I wanted to know if that is possible also here.&lt;br/&gt;
Thank you!&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>