<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Compiler errors when adding Ethernet device</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/a3357d3382/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/a3357d3382/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/a3357d3382/</id><updated>2020-02-27T15:18:13.019000Z</updated><subtitle>Recent posts to Compiler errors when adding Ethernet device</subtitle><entry><title>Compiler errors when adding Ethernet device</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/a3357d3382/?limit=25#80d6" rel="alternate"/><published>2020-02-27T15:18:13.019000Z</published><updated>2020-02-27T15:18:13.019000Z</updated><author><name>penngolliwog</name><uri>https://forge.codesys.com/u/penngolliwog/</uri></author><id>https://forge.codesys.come31f552283f1b6c368153ed9defd5f96d1dbf20e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Solved!&lt;br/&gt;
If an Ethernet device is present, the compiler needs CAA File to be in the Device Application library manager.&lt;br/&gt;
If there is no Ethernet device present, CAA File can be in either the Application or Device Application library managers.&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: working with Ethernet adapter.PNG" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=4033"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Compiler errors when adding Ethernet device</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/a3357d3382/?limit=25#427c" rel="alternate"/><published>2020-02-27T15:18:12.357000Z</published><updated>2020-02-27T15:18:12.357000Z</updated><author><name>penngolliwog</name><uri>https://forge.codesys.com/u/penngolliwog/</uri></author><id>https://forge.codesys.com9edad13295dd0360ee3369f7739f824b73886c30</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi everyone,&lt;/p&gt;
&lt;p&gt;Sorry if this is not the correct board to post on.&lt;/p&gt;
&lt;p&gt;I am using Codesys Control for IOT2000 (a free demo version is available on the store).&lt;/p&gt;
&lt;p&gt;When I do the following things, it can compile:&lt;br/&gt;
-create a blank IOT2000 device application&lt;br/&gt;
-add the CAA File library&lt;br/&gt;
-declare an instance of FILE.Open in PLC_PRG&lt;/p&gt;
&lt;p&gt;But when I add an Ethernet device, compiler errors occur.&lt;/p&gt;
&lt;p&gt;Does anyone know how this could be resolved? I'd prefer not to use SysFile / SysFileAsync&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: Compile OK.PNG" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=4029"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: Compile errors after adding Ethernet.PNG" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=4030"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: All compile errors.PNG" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=4031"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>