<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to File Operations on Bosch Rexroth MTX (Copy/Delete File/Folder)</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/75533be9b1/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/75533be9b1/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/75533be9b1/</id><updated>2020-02-27T14:34:21.885000Z</updated><subtitle>Recent posts to File Operations on Bosch Rexroth MTX (Copy/Delete File/Folder)</subtitle><entry><title>File Operations on Bosch Rexroth MTX (Copy/Delete File/Folder)</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/75533be9b1/?limit=25#9a06" rel="alternate"/><published>2020-02-27T14:34:21.885000Z</published><updated>2020-02-27T14:34:21.885000Z</updated><author><name>Knaller</name><uri>https://forge.codesys.com/u/knaller/</uri></author><id>https://forge.codesys.comc8849173c4e4b1b639d28c56db52328e529ae587</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Get the update &lt;br/&gt;
 w &lt;a class="" href="http://www.boschrexroth.com/indraworks" rel="nofollow"&gt;www.boschrexroth.com/indraworks&lt;/a&gt; w &lt;/p&gt;
&lt;p&gt;Gesendet von iPhone mit Tapatalk&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>File Operations on Bosch Rexroth MTX (Copy/Delete File/Folder)</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/75533be9b1/?limit=25#d7dd" rel="alternate"/><published>2020-02-27T14:34:20.420000Z</published><updated>2020-02-27T14:34:20.420000Z</updated><author><name>MartinSch</name><uri>https://forge.codesys.com/u/martinsch/</uri></author><id>https://forge.codesys.com77e0b5d254d0aa4ad40e01396cbfec248159337d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello&lt;/p&gt;
&lt;p&gt;I found a library which is able to delete folders and copy files.&lt;/p&gt;
&lt;p&gt;I added the following two libraries &lt;/p&gt;
&lt;p&gt;CAA File 3.5.9.0 and&lt;br/&gt;
File Acces 3.5.7.0&lt;/p&gt;
&lt;p&gt;And created DirRemove, which I want to use to remove a folder.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="n"&gt;var&lt;/span&gt;
&lt;span class="n"&gt;DirRemove&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;File&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;DirRemove&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="n"&gt;End_Var&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;But if I want to start the simulation on my programming pc I get an error message:&lt;/p&gt;
&lt;p&gt;Error during download&lt;br/&gt;
15 unresolved references&lt;/p&gt;
&lt;p&gt;The device version on the hardware seems to be different from the device version used in the project. Try to up-/downgrade the device in the project to match the actual version on the hardware.&lt;/p&gt;
&lt;p&gt;In the messages window I get 15 additional errors:&lt;/p&gt;
&lt;p&gt;ID                Description&lt;br/&gt;
TaskList        Unresolve Reference: 'Ticks_GETTICK'&lt;br/&gt;
...&lt;br/&gt;
and so on&lt;/p&gt;
&lt;p&gt;Does someone know what I can do?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>File Operations on Bosch Rexroth MTX (Copy/Delete File/Folder)</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/75533be9b1/?limit=25#5f40" rel="alternate"/><published>2020-02-27T14:34:19.870000Z</published><updated>2020-02-27T14:34:19.870000Z</updated><author><name>MartinSch</name><uri>https://forge.codesys.com/u/martinsch/</uri></author><id>https://forge.codesys.coma523f78e7a853ce80b8214b5053dcfbfdce7f4eb</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello&lt;/p&gt;
&lt;p&gt;I'm a CoDeSys beginner. I already found for some of my previous problems solutions in this forum. Maybe you can help me with my current problem.&lt;/p&gt;
&lt;p&gt;As hardware I am using  the MTX-Control from Bosch Rexroth. It is a CNC with integrated CoDeSys V3 PLC.&lt;/p&gt;
&lt;p&gt;I want to search a file in a directory. If this file is available, I want to create a new folder and copy this file into this folder. Additionally I want to delete an old folder which contains old files.&lt;/p&gt;
&lt;p&gt;I've included alread the SysFile.lib but with this lib I can only copy a file, but I cannot search a file, delete one or create a new folder.&lt;/p&gt;
&lt;p&gt;Does someone know which library I have to include for this purpose? And how an example code must look like?&lt;/p&gt;
&lt;p&gt;I hope you can help me.&lt;/p&gt;
&lt;p&gt;Thank you&lt;br/&gt;
Martin&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>