<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Errors when changing application for I/O handling</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/0886826c0a/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/0886826c0a/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/0886826c0a/</id><updated>2020-02-27T14:30:19.712000Z</updated><subtitle>Recent posts to Errors when changing application for I/O handling</subtitle><entry><title>Errors when changing application for I/O handling</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/0886826c0a/?limit=25#5292" rel="alternate"/><published>2020-02-27T14:30:19.712000Z</published><updated>2020-02-27T14:30:19.712000Z</updated><author><name>JukkaP</name><uri>https://forge.codesys.com/u/jukkap/</uri></author><id>https://forge.codesys.comfe61ba80b6e2bb2e6d8282af53409892a449f6e8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am using &lt;br/&gt;
CODESYS Control Win V3 and&lt;br/&gt;
CODESYS V3.5 SP4 Patch 4&lt;/p&gt;
&lt;p&gt;I am developing an application that controls a process and communicates with a remote ModbusTCP slave I/O module. My project has an application named "Application" for testing the I/O configuration and this works just fine. The project has a device tree with Ethernet/Modbus_TCP_Master/Modbus_TCP_Slave elements. I/O mapping under the slave device maps Modbus data to global variables (e.g. DI_00) visible to the "Application" by notation "Application.DI_00", etc... &lt;/p&gt;
&lt;p&gt;Problem is that I can not change the I/O handling application to any other application. My "OtherApplication" builds fine, but when I make it the I/O handling application and try to build, I get nasty error messages. Before building, I exclude the "Application's" slave device from build and include to build another slave device, with mappings to "OtherApplication's" variables like "OtherApplication.DI_00". &lt;/p&gt;
&lt;p&gt;The error messages I get are here:&lt;br/&gt;
&lt;strong&gt;&lt;em&gt; clip/ &lt;/em&gt;&lt;/strong&gt;&lt;strong&gt;&lt;em&gt;*&lt;/em&gt;&lt;/strong&gt;&lt;strong&gt;&lt;em&gt;*&lt;/em&gt;&lt;/strong&gt;&lt;strong&gt;&lt;em&gt;*&lt;/em&gt;&lt;/strong&gt;&lt;em&gt;&lt;br/&gt;
                ------ Build started: Application: WP_PLC.OtherApplication -------&lt;br/&gt;
                typify code ...&lt;br/&gt;
&lt;span&gt;&lt;span&gt;[ERROR]&lt;/span&gt;&lt;/span&gt;         WP_HPP_ControlSystem: C0032:  Cannot convert type 'Unknown type: 'ADR(GVL_Io_9ea12d66_edff_4fcf_b518_cc89e3cfc2a8_HPS_2.Io_9ea12d66_edff_4fcf_b518_cc89e3cfc2a8_HPS_2)'' to type 'POINTER TO IoConfigParameter'&lt;br/&gt;
&lt;span&gt;&lt;span&gt;[ERROR]&lt;/span&gt;&lt;/span&gt;         WP_HPP_ControlSystem: C0077:  Unknown type: 'GVL_Io_9ea12d66_edff_4fcf_b518_cc89e3cfc2a8_HPS_2.Io_9ea12d66_edff_4fcf_b518_cc89e3cfc2a8_HPS_2'&lt;br/&gt;
&lt;span&gt;&lt;span&gt;[ERROR]&lt;/span&gt;&lt;/span&gt;         WP_HPP_ControlSystem: C0046:  Identifier 'GVL_Io_9ea12d66_edff_4fcf_b518_cc89e3cfc2a8_HPS_2' not defined&lt;br/&gt;
                Compile complete -- 3 errors, 0 warnings&lt;br/&gt;
&lt;strong&gt;&lt;em&gt; /clip &lt;/em&gt;&lt;/strong&gt;&lt;strong&gt;&lt;em&gt;*&lt;/em&gt;&lt;/strong&gt;&lt;strong&gt;&lt;em&gt;*&lt;/em&gt;&lt;/strong&gt;&lt;strong&gt;&lt;em&gt;*&lt;/em&gt;&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;What am I doing wrong?&lt;/p&gt;
&lt;p&gt;BR,&lt;br/&gt;
JukkaP&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>