<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to test PLC code with CoDesys</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/cbee5d6f15/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/cbee5d6f15/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/cbee5d6f15/</id><updated>2020-02-27T21:35:41.677000Z</updated><subtitle>Recent posts to test PLC code with CoDesys</subtitle><entry><title>test PLC code with CoDesys</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/cbee5d6f15/?limit=25#558a" rel="alternate"/><published>2020-02-27T21:35:41.677000Z</published><updated>2020-02-27T21:35:41.677000Z</updated><author><name>Ralph Holz</name><uri>https://forge.codesys.com/u/ralph-holz/</uri></author><id>https://forge.codesys.com3b686dab7ad1d01f3a819d38e7038af71e3a5231</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;MathWorks offers a tool to convert Matlab to CoDeSys Code:&lt;br/&gt;
&lt;a class="" href="http://www.mathworks.com/products/sl-plc-coder/" rel="nofollow"&gt;http://www.mathworks.com/products/sl-plc-coder/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;br&lt;br/&gt;
Ralph&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>test PLC code with CoDesys</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/cbee5d6f15/?limit=25#8389" rel="alternate"/><published>2020-02-27T21:35:40.196000Z</published><updated>2020-02-27T21:35:40.196000Z</updated><author><name>shooter</name><uri>https://forge.codesys.com/u/shooter/</uri></author><id>https://forge.codesys.com44249c334c4fb380b1a624d3e86740e267599a37</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I have seen both matlab and codesys programs, however there is not any comment and i have no idea what you can do with the matlab file.&lt;br/&gt;
so break it in pieces and give me a clue what the function is.&lt;br/&gt;
I am not that good in matlab, but it looks like the conversion gives some results.&lt;br/&gt;
Try to make the matlab not too complicated as the exp file will have cases in cases and that is hard to read.&lt;/p&gt;
&lt;p&gt;I do not understand your subsystem1 (which you converted) but the codesys software is doing its job.&lt;br/&gt;
i made a small project for it.&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://forum.codesys.com//download/file.php?id=374" rel="nofollow"&gt;matlab.pro &lt;span&gt;&lt;span&gt;[32.47 KiB]&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>test PLC code with CoDesys</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/cbee5d6f15/?limit=25#8055" rel="alternate"/><published>2020-02-27T21:35:36.028000Z</published><updated>2020-02-27T21:35:36.028000Z</updated><author><name>sarathbabu</name><uri>https://forge.codesys.com/u/sarathbabu/</uri></author><id>https://forge.codesys.coma2e1b8261ce2c43045dc0363c7aa18b36476c59f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;   &lt;span class="nv"&gt;Can&lt;/span&gt; &lt;span class="nv"&gt;you&lt;/span&gt; &lt;span class="nv"&gt;tell&lt;/span&gt; &lt;span class="nv"&gt;me&lt;/span&gt; &lt;span class="nv"&gt;how&lt;/span&gt; &lt;span class="nv"&gt;you&lt;/span&gt; &lt;span class="nv"&gt;are&lt;/span&gt; &lt;span class="nv"&gt;converting&lt;/span&gt; &lt;span class="nv"&gt;matlab&lt;/span&gt; &lt;span class="nv"&gt;code&lt;/span&gt; &lt;span class="nv"&gt;to&lt;/span&gt; &lt;span class="nv"&gt;plc&lt;/span&gt; &lt;span class="nv"&gt;code&lt;/span&gt; &lt;span class="nv"&gt;am&lt;/span&gt; &lt;span class="nv"&gt;interested&lt;/span&gt; &lt;span class="nv"&gt;to&lt;/span&gt; &lt;span class="nv"&gt;see&lt;/span&gt; &lt;span class="nv"&gt;it&lt;/span&gt; &lt;span class="nv"&gt;as&lt;/span&gt; &lt;span class="nv"&gt;I&lt;/span&gt; &lt;span class="nv"&gt;use&lt;/span&gt; &lt;span class="nv"&gt;matlab&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="nv"&gt;system&lt;/span&gt; &lt;span class="nv"&gt;analysis&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Thanks&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>test PLC code with CoDesys</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/cbee5d6f15/?limit=25#ec55" rel="alternate"/><published>2020-02-27T21:35:34.523000Z</published><updated>2020-02-27T21:35:34.523000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.com0309c9d9f46f8ba090a8573161ec9014ee3a02fb</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; 4b448&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;shooter hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
in Codesys you will need to set some testing vars and in online mode set the simulation flag.&lt;br/&gt;
btw i am very interested in how you convert from matlab to codesys, so please if you would like to send a small program in matlab together with the conversion i would love to check if it is going correct.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;I send you a mail to   e &lt;a class="" href="mailto:shooter@home.nl"&gt;shooter@home.nl&lt;/a&gt; e  &lt;/p&gt;
&lt;p&gt;hope you could help me&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>test PLC code with CoDesys</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/cbee5d6f15/?limit=25#1717" rel="alternate"/><published>2020-02-27T21:35:30.272000Z</published><updated>2020-02-27T21:35:30.272000Z</updated><author><name>shooter</name><uri>https://forge.codesys.com/u/shooter/</uri></author><id>https://forge.codesys.comb30f5a99811e4b3cadd616b656cca62adbd43faf</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;in Codesys you will need to set some testing vars and in online mode set the simulation flag.&lt;/p&gt;
&lt;p&gt;btw i am very interested in how you convert from matlab to codesys, so please if you would like to send a small program in matlab together with the conversion i would love to check if it is going correct.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>test PLC code with CoDesys</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/cbee5d6f15/?limit=25#6c2c" rel="alternate"/><published>2020-02-27T21:35:28.775000Z</published><updated>2020-02-27T21:35:28.775000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.comebda7cfa1f2e21f2eb44af673e2e1f48cd35a07a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; 4b448&lt;/p&gt;
&lt;p&gt;I generate PLC code by Matlab and then input the whole PLC code into CoDesys to test them.&lt;/p&gt;
&lt;p&gt;But I do not know how to run my Plc code and see the result of the test？&lt;/p&gt;
&lt;p&gt;thank you for anybody who could help me&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>