<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Using a method called from opcua fill an specific array position</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/f612cc4378/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/f612cc4378/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/f612cc4378/</id><updated>2022-02-18T07:23:34.250000Z</updated><subtitle>Recent posts to Using a method called from opcua fill an specific array position</subtitle><entry><title>Using a method called from opcua fill an specific array position</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/f612cc4378/?limit=250#ed0d" rel="alternate"/><published>2022-02-18T07:23:34.250000Z</published><updated>2022-02-18T07:23:34.250000Z</updated><author><name>dFx</name><uri>https://forge.codesys.com/u/dfx/</uri></author><id>https://forge.codesys.comda9261cb590facbc40d49cde86082635b8303228</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;You can write FB internals signals. &lt;br/&gt;
Then, on FB call, do the processing of those signals and provide an internal result. &lt;br/&gt;
And forward the result with the method ouput.&lt;br/&gt;
So you would have only to provide the correct structure on the correct FB call, which you should be aware at design time.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Using a method called from opcua fill an specific array position</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/f612cc4378/?limit=25#1248" rel="alternate"/><published>2022-02-17T13:46:17.885000Z</published><updated>2022-02-17T13:46:17.885000Z</updated><author><name>alebrije</name><uri>https://forge.codesys.com/u/alebrije/</uri></author><id>https://forge.codesys.comfe3d516f27b1cb8aa0268bbe19db2380f6a1d67e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello Everybody,&lt;/p&gt;
&lt;p&gt;I have the following problem.&lt;br/&gt;
I have an Opcua communication where I can execute a method from my PLC. As an example we can take the method JogNegative:&lt;br/&gt;
This command is under Opcua--&amp;gt;MovingUnits(Structure of 10 movingunits)--&amp;gt;MovingUnit1(structure of moving unit signals and methods)--&amp;gt;JogNegative(Method with an output called Result).&lt;br/&gt;
depending of wich method is calles (movingunit1..2..3..10) i want to write the jog signal in my internal array of structures.&lt;br/&gt;
Please see the picture.. there u can find the Uaexpert connection with the methods and signals, my logic in the method (is not running) and the array that i would like to fill depending of the moving unit number.&lt;/p&gt;
&lt;p&gt;Feel free to ask if u have any more questions&lt;br/&gt;
Regards!&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>