<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Exporting Array from Codesys to Text or Excel</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/14aece6687/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/14aece6687/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/14aece6687/</id><updated>2020-02-27T21:46:31.991000Z</updated><subtitle>Recent posts to Exporting Array from Codesys to Text or Excel</subtitle><entry><title>Exporting Array from Codesys to Text or Excel</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/14aece6687/?limit=25#50e2" rel="alternate"/><published>2020-02-27T21:46:31.991000Z</published><updated>2020-02-27T21:46:31.991000Z</updated><author><name>hendrikvdv</name><uri>https://forge.codesys.com/u/hendrikvdv/</uri></author><id>https://forge.codesys.come025e93e50bee1cca5ea24164408797add1da64f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi&lt;br/&gt;
I am a new user of codesys, and i want to do the same thing.&lt;br/&gt;
I have a MOVI-C controller from SEW,&lt;br/&gt;
And I need to get values from codesys to excel.&lt;/p&gt;
&lt;p&gt;I could put them in a trace, and then make a csv file from that trace, but there has to be a better way.&lt;br/&gt;
Also, this gives a measerment every cycle, or x cycles, and not when i want to.&lt;/p&gt;
&lt;p&gt;my controller has 2 usb ports. I dont know if they can be used to write to. &lt;br/&gt;
I have tried some code that i found here for rasberry PI, to write to csv, but that won't download.&lt;/p&gt;
&lt;p&gt;how do i know if my hardware has a flash/hard drive?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Exporting Array from Codesys to Text or Excel</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/14aece6687/?limit=25#6809" rel="alternate"/><published>2020-02-27T21:46:30.475000Z</published><updated>2020-02-27T21:46:30.475000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.com7401fa4c9eaf45debbad8c9db64ff4b5bd4afe85</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; scott_cunningham&lt;/p&gt;
&lt;p&gt;If you hardware has a flash drive or hard drive, then you can use the sysfile library for read/write access and just save your data as a csv type file.&lt;/p&gt;
&lt;p&gt;If not, you can send the data via communications, like a serial stream, or as an email, etc.&lt;/p&gt;
&lt;p&gt;I know you are using v2.3 based on the post folder, but for users using v3.x, they can also use Python scripting can access program variables - but that's only good for online mode.&lt;/p&gt;
&lt;p&gt;Respond to &lt;span style="color: #0000FF;"&gt;shooter&lt;/span&gt;'s post if you need more detailed information.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Exporting Array from Codesys to Text or Excel</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/14aece6687/?limit=25#4976" rel="alternate"/><published>2020-02-27T21:46:26.326000Z</published><updated>2020-02-27T21:46:26.326000Z</updated><author><name>shooter</name><uri>https://forge.codesys.com/u/shooter/</uri></author><id>https://forge.codesys.com4a958d86bcb3394f78aec8d6d1adf94323232aa5</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;what plc and type is used, what communication can be used&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Exporting Array from Codesys to Text or Excel</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/14aece6687/?limit=25#0476" rel="alternate"/><published>2020-02-27T21:46:24.825000Z</published><updated>2020-02-27T21:46:24.825000Z</updated><author><name>standeven</name><uri>https://forge.codesys.com/u/standeven/</uri></author><id>https://forge.codesys.comcee2d07887cd9d241510d4771ad1b51a43ddd6b2</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I wrote some code which logs numerical data into an array. The problem is getting this data from the array into text, excel, or some other format where I can manipulate and analyze the data.&lt;/p&gt;
&lt;p&gt;When I go online with a laptop, I can easily copy one array value and paste it into a text file. Unfortunately, I cannot determine a way to select multiple lines or copy the whole array of values. I can manually type out these values, but with hundreds of values it would take too long. I've tried logging remotely over CAN, but I cannot transmit and record at an acceptable speed. I really need these values logged as fast as the scan cycle will allow.&lt;/p&gt;
&lt;p&gt;Any solution that I'm missing? I'm really surprised I can't just copy/paste a list of array values from codesys!&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>