<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to How to use matlab to send parameters to codesys</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/50d866266e/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/50d866266e/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/50d866266e/</id><updated>2020-02-27T14:42:36.006000Z</updated><subtitle>Recent posts to How to use matlab to send parameters to codesys</subtitle><entry><title>How to use matlab to send parameters to codesys</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/50d866266e/?limit=25#2dfe" rel="alternate"/><published>2020-02-27T14:42:36.006000Z</published><updated>2020-02-27T14:42:36.006000Z</updated><author><name>jorgev</name><uri>https://forge.codesys.com/u/jorgev/</uri></author><id>https://forge.codesys.com0c6fcbe56b9ab1193301af200556956c726b712d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;jorgev hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
Hi ligz17,&lt;br/&gt;
I am trying to implement the same communication: CODESYS OPCUA server with raspberry pi to Matlab OPCUA client.&lt;br/&gt;
Unfortunately I did not succeed. Could you post more details of your solution?&lt;br/&gt;
I connect with other clients such as python or UAexpert. But not with Matlab or Simulink&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;I successfully connected with the OPC UA SERVER at the raspberry with the entries below.&lt;/p&gt;
&lt;p&gt;MATLAB CODE:&lt;br/&gt;
uaObj = opcua('opc.&lt;a class=""&gt;tcp://192.168.100.11:4840/OPCUAServer'&lt;/a&gt;, 'None', 'None', uint8(0));&lt;br/&gt;
connect(uaObj)&lt;/p&gt;
&lt;p&gt;Mathworks has suggested to use this undocumented technique until they release a patch/fix to handle better this connection errors.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How to use matlab to send parameters to codesys</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/50d866266e/?limit=25#bc59" rel="alternate"/><published>2020-02-27T14:42:35.500000Z</published><updated>2020-02-27T14:42:35.500000Z</updated><author><name>jorgev</name><uri>https://forge.codesys.com/u/jorgev/</uri></author><id>https://forge.codesys.comd5c7235c3d7fa867c8ee855f342f85cbdf4c8983</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;ligz17 hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
Thank you for your suggestion. I had created a OPC Server on CODESYS and set up a OPC client with matlab which connected the server successfully.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Hi ligz17,&lt;/p&gt;
&lt;p&gt;I am trying to implement the same communication: CODESYS OPCUA server with raspberry pi to Matlab OPCUA client.&lt;/p&gt;
&lt;p&gt;Unfortunately I did not succeed. Could you post more details of your solution?&lt;/p&gt;
&lt;p&gt;I connect with other clients such as python or UAexpert. But not with Matlab or Simulink&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How to use matlab to send parameters to codesys</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/50d866266e/?limit=25#aaa3" rel="alternate"/><published>2020-02-27T14:42:34.975000Z</published><updated>2020-02-27T14:42:34.975000Z</updated><author><name>ligz17</name><uri>https://forge.codesys.com/u/ligz17/</uri></author><id>https://forge.codesys.com181362144053310b0ba2003a15607fa448e98614</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Edwin Schwellinger hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
Hi,&lt;br/&gt;
does matlab have an embedded OPCUA client?&lt;br/&gt;
This would be a good solution to do this. OPCUA Server is embedded in all CODESYS SL runtimes.&lt;br/&gt;
BR&lt;br/&gt;
Edwin&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Thank you for your suggestion. I had created a OPC Server on CODESYS and set up a OPC client with matlab which connected the server successfully.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How to use matlab to send parameters to codesys</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/50d866266e/?limit=25#0ab6" rel="alternate"/><published>2020-02-27T14:42:33.479000Z</published><updated>2020-02-27T14:42:33.479000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com3be75c1dbe71909771d6acf8dfbd8645876abcde</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
does matlab have an embedded OPCUA client?&lt;br/&gt;
This would be a good solution to do this. OPCUA Server is embedded in all CODESYS SL runtimes.&lt;br/&gt;
BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How to use matlab to send parameters to codesys</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/50d866266e/?limit=25#03d1" rel="alternate"/><published>2020-02-27T14:42:32.961000Z</published><updated>2020-02-27T14:42:32.961000Z</updated><author><name>ligz17</name><uri>https://forge.codesys.com/u/ligz17/</uri></author><id>https://forge.codesys.comafb81768a48aa5a415965f8371d0f68bd4516a56</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello!&lt;br/&gt;
Does anyone know how to realize the communication of Codesys and matlab? &lt;br/&gt;
I installed codesysV3.5 and matlabR2017 on the same computer.In codesysV3.5， there was a project to control the robot, and the movement of the robot could be controlled by changing the parameters. I want to use matlab to process the data returned by the sensor on the robot, and calculate the new parameters, and then send them to codesys for real-time control. But I don't know how to implement communication between matlab and codesys. Does anyone know it? Or is my idea feasible?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>