<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to User defined FB ?</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/d10293513f/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/d10293513f/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/d10293513f/</id><updated>2020-02-27T22:01:22.003000Z</updated><subtitle>Recent posts to User defined FB ?</subtitle><entry><title>User defined FB ?</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/d10293513f/?limit=25#c08f" rel="alternate"/><published>2020-02-27T22:01:22.003000Z</published><updated>2020-02-27T22:01:22.003000Z</updated><author><name>Insight</name><uri>https://forge.codesys.com/u/insight/</uri></author><id>https://forge.codesys.comd68b443dedb94a4eb4d4ba6919c918281a6b8093</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;span&gt;[quote="ndzied1"]&lt;/span&gt;You need to define the inputs and outputs for the function block.&lt;/p&gt;
&lt;p&gt;VAR_INPUT and VAR_OUTPUT define the inputs and outputs to your user defined function block.  See the help information for how to do this.  It is in there.&lt;br/&gt;
&lt;span&gt;[attachment=0]&lt;/span&gt;VAR.PNG&lt;span&gt;[/attachment]&lt;/span&gt;&lt;span&gt;[/quote]&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Great, that's exactly what I needed. Good job Chicago &lt;br/&gt;
10x U very much!!! &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>User defined FB ?</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/d10293513f/?limit=25#f4cd" rel="alternate"/><published>2020-02-27T22:01:20.442000Z</published><updated>2020-02-27T22:01:20.442000Z</updated><author><name>ndzied1</name><uri>https://forge.codesys.com/u/ndzied1/</uri></author><id>https://forge.codesys.com1280234a34190e18e9f36e56b5b3e5631c37514e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;You need to define the inputs and outputs for the function block.&lt;/p&gt;
&lt;p&gt;VAR_INPUT and VAR_OUTPUT define the inputs and outputs to your user defined function block.  See the help information for how to do this.  It is in there.&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: VAR.PNG" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=207"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>User defined FB ?</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/d10293513f/?limit=25#0f86" rel="alternate"/><published>2020-02-27T22:01:16.160000Z</published><updated>2020-02-27T22:01:16.160000Z</updated><author><name>Insight</name><uri>https://forge.codesys.com/u/insight/</uri></author><id>https://forge.codesys.com78d8551f3f54fcb62eb5aceb561ee1dde2249118</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;span&gt;[quote="shooter"]&lt;/span&gt;if you make a new POU you can set it if it is a program a function block (your user block) and as a function.&lt;br/&gt;
when you make it and you press F11 you can use your own block wherever you want it.&lt;span&gt;[/quote]&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;10x U.&lt;br/&gt;
I tried this option - added a new POU (type "function block"), but when I insert this newly created unit, it appears only as a block without any inputs and outputs. How do I define this block, so that it appears with the necessary inputs and outputs? May be I have to define them on some specific way, but HELP doesn't say nothing about this.... or I can't find it?!&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>User defined FB ?</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/d10293513f/?limit=25#7749" rel="alternate"/><published>2020-02-27T22:01:14.594000Z</published><updated>2020-02-27T22:01:14.594000Z</updated><author><name>shooter</name><uri>https://forge.codesys.com/u/shooter/</uri></author><id>https://forge.codesys.comd49b38d2cc0706061a71632548fe4c01c55ccde9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;if you make a new POU you can set it if it is a program a function block (your user block) and as a function.&lt;br/&gt;
when you make it and you press F11 you can use your own block wherever you want it.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>User defined FB ?</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/d10293513f/?limit=25#f376" rel="alternate"/><published>2020-02-27T22:01:10.253000Z</published><updated>2020-02-27T22:01:10.253000Z</updated><author><name>Insight</name><uri>https://forge.codesys.com/u/insight/</uri></author><id>https://forge.codesys.com8f69a0ea0d328eb1894252de1954a80f3637b392</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi all, &lt;/p&gt;
&lt;p&gt;I think there must be a way to combine several function blocks in a sort of user defined block. For example, the combination of the attachment to be made on a block with the required number of inputs and outputs to be used repeatedly.&lt;br/&gt;
If yes - where in the HELP I can find a description of how this can be done. Even a keyword to search what will be helpful.&lt;span&gt;[attachment=0]&lt;/span&gt;CoDeSys01.PNG&lt;span&gt;[/attachment]&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Thanks in advance &lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: CoDeSys01.PNG" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=205"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>