<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									How-to &amp; Troubleshooting - twinControls Forum				            </title>
            <link>https://twincontrols.com/community/twincat-troubleshooting/</link>
            <description>twinControls  Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Wed, 22 Apr 2026 23:38:43 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>TwinCAT 3.1 (Build 4026) &amp; Git – Online Change fails after cloning project (mapping mismatch)</title>
                        <link>https://twincontrols.com/community/twincat-troubleshooting/twincat-3-1-build-4026-git-online-change-fails-after-cloning-project-mapping-mismatch/</link>
                        <pubDate>Thu, 06 Nov 2025 21:02:29 +0000</pubDate>
                        <description><![CDATA[Hi everyone,
we’re currently running a TwinCAT 3.1 project (version 4026) with Git as our version control system, and we’ve run into a workflow issue that we can’t seem to solve.
Setup:
...]]></description>
                        <content:encoded><![CDATA[<p data-start="106" data-end="118">Hi everyone,</p>
<p data-start="120" data-end="285">we’re currently running a TwinCAT 3.1 project (version 4026) with Git as our version control system, and we’ve run into a workflow issue that we can’t seem to solve.</p>
<p data-start="287" data-end="297"><strong data-start="287" data-end="297">Setup:</strong></p>
<ul data-start="299" data-end="650">
<li data-start="299" data-end="335">
<p data-start="301" data-end="335">3 developers working in parallel</p>
</li>
<li data-start="336" data-end="396">
<p data-start="338" data-end="396">Multi-PLC project (separate PLC task for each developer)</p>
</li>
<li data-start="397" data-end="472">
<p data-start="399" data-end="472">One “main” development PC where the hardware configuration is activated</p>
</li>
<li data-start="473" data-end="544">
<p data-start="475" data-end="544">Each colleague clones the project from Git and works on <em data-start="531" data-end="538">their</em> PLC</p>
</li>
<li data-start="545" data-end="650">
<p data-start="547" data-end="650">The goal is that all of us can be logged into <em data-start="593" data-end="602">our own</em> PLC at the same time and perform Online Changes</p>
</li>
</ul>
<p data-start="652" data-end="668"><strong data-start="652" data-end="668">The problem:</strong></p>
<p data-start="670" data-end="953">After the hardware config is activated on the main PC and we all pull the project from Git, TwinCAT refuses Online Change on the other machines.<br data-start="814" data-end="817" />We get an error saying that the <strong data-start="849" data-end="875">mapping does not match</strong> or is invalid, even though nothing has been changed in the I/O configuration.</p>
<p data-start="955" data-end="1138">It seems like TwinCAT thinks the project is different from what’s running on the target, although everything (in theory) is identical – same commit, same configuration, same PLC code.</p>
<p data-start="1140" data-end="1158"><strong data-start="1140" data-end="1158">What we tried:</strong></p>
<ul data-start="1160" data-end="1529">
<li data-start="1160" data-end="1209">
<p data-start="1162" data-end="1209">Full rebuild on every workstation → no effect</p>
</li>
<li data-start="1210" data-end="1306">
<p data-start="1212" data-end="1306">Deleting the <code data-start="1225" data-end="1239">.compileinfo</code>, <code data-start="1241" data-end="1247">.tmc</code>, and generated build folders before building → no effect</p>
</li>
<li data-start="1307" data-end="1452">
<p data-start="1309" data-end="1452">Re-activating hardware locally on every PC → works, but then every developer ends up committing different hardware GUIDs to Git → merge chaos</p>
</li>
<li data-start="1453" data-end="1529">
<p data-start="1455" data-end="1529">Using “PLC only” activation → same mapping error when trying Online Change</p>
</li>
</ul>
<p data-start="1531" data-end="1562"><strong data-start="1531" data-end="1562">What we think is happening:</strong></p>
<p data-start="1564" data-end="1826">TwinCAT stores some hardware-related GUIDs / internal hashes locally, and after cloning the project, they don't match the target runtime, even if the code is identical.<br data-start="1732" data-end="1735" />As soon as one person re-activates the solution, the others can no longer do Online Change.</p>
<p data-start="1828" data-end="1841"><strong data-start="1828" data-end="1841">Question:</strong></p>
<p data-start="1843" data-end="1954">Has anyone found a clean workflow for <strong data-start="1881" data-end="1926">multi-developer TwinCAT projects with Git</strong>, where multiple people can:</p>
<ul data-start="1956" data-end="2098">
<li data-start="1956" data-end="1974">
<p data-start="1958" data-end="1974">clone the repo</p>
</li>
<li data-start="1975" data-end="2005">
<p data-start="1977" data-end="2005">go online with <em data-start="1992" data-end="1999">their</em> PLC</p>
</li>
<li data-start="2006" data-end="2026">
<p data-start="2008" data-end="2026">do Online Change</p>
</li>
<li data-start="2027" data-end="2098">
<p data-start="2029" data-end="2098"><strong data-start="2029" data-end="2040">without</strong> everyone having to re-activate the I/O tree individually?</p>
</li>
</ul>
<p data-start="2100" data-end="2276">Is there a recommended “.gitignore” setup to avoid committing machine-specific files?<br data-start="2185" data-end="2188" />Or is TwinCAT simply not made for true parallel development with shared hardware config?</p>
<p data-start="2278" data-end="2360">Any best practices, workarounds, or real-world experiences are highly appreciated!</p>
<p data-start="2362" data-end="2380" data-is-last-node="" data-is-only-node="">Thanks in advance!</p>
<p data-start="2362" data-end="2380" data-is-last-node="" data-is-only-node=""> </p>
<p data-start="2362" data-end="2380" data-is-last-node="" data-is-only-node="">Note: English is not my native language, so I used ChatGPT to help write this post. Hopefully everything is understandable – feel free to correct me if something sounds unclear.</p>]]></content:encoded>
						                            <category domain="https://twincontrols.com/community/twincat-troubleshooting/">How-to &amp; Troubleshooting</category>                        <dc:creator>funka84</dc:creator>
                        <guid isPermaLink="true">https://twincontrols.com/community/twincat-troubleshooting/twincat-3-1-build-4026-git-online-change-fails-after-cloning-project-mapping-mismatch/</guid>
                    </item>
				                    <item>
                        <title>NC Camming - In desperate need of help</title>
                        <link>https://twincontrols.com/community/twincat-troubleshooting/nc-camming-in-desperate-need-of-help/</link>
                        <pubDate>Sun, 21 Sep 2025 18:12:33 +0000</pubDate>
                        <description><![CDATA[I have a multi-axis NC Camming application. Kind of struggling to gain traction. I&#039;ve watched the Beckhoff webinar on the topic (Vimeo). The Infosys documentation is pretty lacking in terms ...]]></description>
                        <content:encoded><![CDATA[<p>I have a multi-axis NC Camming application. Kind of struggling to gain traction. I've watched the Beckhoff webinar on the topic (Vimeo). The Infosys documentation is pretty lacking in terms of application example. Went through a few plcOpen tutorials (thinking they might help things click), considering watching through Yaskawa's youtube videos on plcOpen to see if I can glean any additional insights (even though its demo'd in their software).</p>
<p>Read through the one post I could find on the topic here, and since it was more helpful than anything else I've found in the past several weeks, I figured I'd post looking for help. If anyone has some good resources for learning, or wouldn't mind downloading their knowledge/understanding into an example and post it as a reply to this thread, I'd be incredibly grateful.</p>]]></content:encoded>
						                            <category domain="https://twincontrols.com/community/twincat-troubleshooting/">How-to &amp; Troubleshooting</category>                        <dc:creator>mguido</dc:creator>
                        <guid isPermaLink="true">https://twincontrols.com/community/twincat-troubleshooting/nc-camming-in-desperate-need-of-help/</guid>
                    </item>
				                    <item>
                        <title>API to Interact with PLC/IDE?</title>
                        <link>https://twincontrols.com/community/twincat-troubleshooting/api-to-interact-with-plc-ide/</link>
                        <pubDate>Thu, 04 Sep 2025 07:14:07 +0000</pubDate>
                        <description><![CDATA[I would like to write an application (preferably using .NET) that can trigger and save backup/restore of both source project files and binaries(?) published to hardware, e.g. a C9900-I627.
...]]></description>
                        <content:encoded><![CDATA[<p>I would like to write an application (preferably using .NET) that can trigger and save backup/restore of both source project files and binaries(?) published to hardware, e.g. a C9900-I627.</p>
<p>Is this possible? If so, any pointers and references would be greatly appreciated! </p>]]></content:encoded>
						                            <category domain="https://twincontrols.com/community/twincat-troubleshooting/">How-to &amp; Troubleshooting</category>                        <dc:creator>henjoh</dc:creator>
                        <guid isPermaLink="true">https://twincontrols.com/community/twincat-troubleshooting/api-to-interact-with-plc-ide/</guid>
                    </item>
				                    <item>
                        <title>Running TwibCAT on a Virtual Box win10 Virtual Machine</title>
                        <link>https://twincontrols.com/community/twincat-troubleshooting/running-twibcat-on-a-virtual-box-win10-virtual-machine/</link>
                        <pubDate>Wed, 27 Aug 2025 12:07:18 +0000</pubDate>
                        <description><![CDATA[Hello everybody, I&#039;m new member of twinControls and this my first Topic. I hope to be clear and using the right spirt of this Forum.
I&#039;m trying to use TwinCAT on a Virtual Machine created w...]]></description>
                        <content:encoded><![CDATA[<p>Hello everybody, I'm new member of twinControls and this my first Topic. I hope to be clear and using the right spirt of this Forum.</p>
<p>I'm trying to use TwinCAT on a Virtual Machine created with Virtual Box, but when I try to put TC in Run mode I get the following errors:<br /><br /></p>
935
936
<p>The first with the Previrtualization Interface set to "Hyper-V" and the second error when it is set to "None" (in the Virtual Box Settings --&gt; System).<br />I tried already many suggestion is possible to find on the Network, like: deactivation of Hyper-V, Virtual Machine Platform and Windows Hypervision Platform on the Host system, setting of shared CPUs leaving one Insulated and putting it as Default, running as administrator win8settick, etc...</p>
<p>From the second Error, I though that the Guest machine is not able to find an active virtualization (Intel VT-x) by nested virtualization.<br /><br />Indeed in the Setting of VM (in System --&gt; Processor) the setting of "Nested VT-x/AMD-V is not selectable, and I was not able to make the selection active.</p>
937
<p><strong>Here my system parameters:</strong></p>
<p><span style="text-decoration: underline">Host machine:</span></p>
<p>HP ZBook Power with processor Intel Ultra 9 185H</p>
<p>OS Win11 Pro</p>
<p>Virtualization Technology and Intel VT-x in the BIOS are active</p>
<p>Virtual Box version 7.2.0 r170228</p>
<p><span style="text-decoration: underline">Guest machine:</span></p>
<p>OS Win 10 Pro</p>
<p>TwinCAT 3.1 build 4024.67</p>
<p>In the following screenshot all the setting of the Virtual Machine:</p>
938
<p>I decided to use a virtual machine, thinking was a good idea to start using TwinCAT and perform testing and prototyping in a saparated part of my PC. I wanted in the end install TwinCAT directly in the win11 real machine , but I'm very worry these problem could happen also there.</p>
<p>I'm really close to be disparate, and I hope someone could know a solution for this issue.<br />I thank you in advance for every help and apologize if my post is not orthodox.</p>
<p>With best regards,</p>
<p>Simone</p>]]></content:encoded>
						                            <category domain="https://twincontrols.com/community/twincat-troubleshooting/">How-to &amp; Troubleshooting</category>                        <dc:creator>Simone71</dc:creator>
                        <guid isPermaLink="true">https://twincontrols.com/community/twincat-troubleshooting/running-twibcat-on-a-virtual-box-win10-virtual-machine/</guid>
                    </item>
				                    <item>
                        <title>Pull External OPC UA nested data structure into TC3 project</title>
                        <link>https://twincontrols.com/community/twincat-troubleshooting/pull-external-opc-ua-nested-data-structure-into-tc3-project/</link>
                        <pubDate>Tue, 26 Aug 2025 21:42:40 +0000</pubDate>
                        <description><![CDATA[Wondering if anyone knows of a way to pull an existing external nested data structure into a TC3 project via OPC UA? For reference, UDT was set up in Rockwell&#039;s Studio 5000 and migrated to F...]]></description>
                        <content:encoded><![CDATA[<p>Wondering if anyone knows of a way to pull an existing external nested data structure into a TC3 project via OPC UA? For reference, UDT was set up in Rockwell's Studio 5000 and migrated to FactoryTalk Optix (which is heavily OPC UA based).</p>
<p>I have the object model for the UDT in FT Optix, and we pivoted to a Beckhoff platform for everything but the HMI (given it's a rather complex HMI project that wouldn't be realistic to redo given our project timeline for runoff). Given the size and scope of the existing UDT structure, I would love to avoid having to redo it from scratch. Every other PLC brand exports these in standard PLCOpen formats, except Rockwell. Was told from a Beckhoff AE that it might be possible to pull the structure in via OPC UA and generate the analogous Struct in TC3.</p>
<p>Anyone out there done this? If so, any pointers or instructions you've found that kind of spell this out?</p>]]></content:encoded>
						                            <category domain="https://twincontrols.com/community/twincat-troubleshooting/">How-to &amp; Troubleshooting</category>                        <dc:creator>mguido</dc:creator>
                        <guid isPermaLink="true">https://twincontrols.com/community/twincat-troubleshooting/pull-external-opc-ua-nested-data-structure-into-tc3-project/</guid>
                    </item>
				                    <item>
                        <title>twincat installation</title>
                        <link>https://twincontrols.com/community/twincat-troubleshooting/twincat-installation/</link>
                        <pubDate>Thu, 14 Aug 2025 08:02:18 +0000</pubDate>
                        <description><![CDATA[During twincat standard instalation this occure]]></description>
                        <content:encoded><![CDATA[<p>During twincat standard instalation this occure</p>
933]]></content:encoded>
						                            <category domain="https://twincontrols.com/community/twincat-troubleshooting/">How-to &amp; Troubleshooting</category>                        <dc:creator>kirsti</dc:creator>
                        <guid isPermaLink="true">https://twincontrols.com/community/twincat-troubleshooting/twincat-installation/</guid>
                    </item>
				                    <item>
                        <title>Change the default port of OPC UA in Twincat3</title>
                        <link>https://twincontrols.com/community/twincat-troubleshooting/change-the-default-port-of-opc-ua-in-twincat3/</link>
                        <pubDate>Fri, 08 Aug 2025 11:47:58 +0000</pubDate>
                        <description><![CDATA[Hi,
I’m working on a project where I want to connect two simulated PLCs (TwinCAT 3 and CODESYS) to a SCADA system (Ignition) via OPC UA. I already have a connection between Ignition and COD...]]></description>
                        <content:encoded><![CDATA[<p data-start="79" data-end="84">Hi,</p>
<p data-start="86" data-end="345">I’m working on a project where I want to connect two simulated PLCs (TwinCAT 3 and CODESYS) to a SCADA system (Ignition) via OPC UA. I already have a connection between Ignition and CODESYS, and now I want to add a connection between TwinCAT 3 and Ignition.</p>
<p data-start="347" data-end="524">In CODESYS, I’m using the default port 4840. I think using the same port in TwinCAT as in CODESYS could cause problems. Is it possible to change the default port in TwinCAT 3?</p>]]></content:encoded>
						                            <category domain="https://twincontrols.com/community/twincat-troubleshooting/">How-to &amp; Troubleshooting</category>                        <dc:creator>Weronika</dc:creator>
                        <guid isPermaLink="true">https://twincontrols.com/community/twincat-troubleshooting/change-the-default-port-of-opc-ua-in-twincat3/</guid>
                    </item>
				                    <item>
                        <title>Twincat2 - Windows11 - Timeout problem</title>
                        <link>https://twincontrols.com/community/twincat-troubleshooting/twincat2-windows11-timeout-problem/</link>
                        <pubDate>Tue, 05 Aug 2025 11:31:57 +0000</pubDate>
                        <description><![CDATA[Hi!I just updated from Windows10 to Windows11 with twincat Engineering x64 2.11.2314. I have the following problem:I open Twincat System Manager. There I can make an broadcast search to find...]]></description>
                        <content:encoded><![CDATA[<p>Hi!<br /><br />I just updated from Windows10 to Windows11 with twincat Engineering x64 2.11.2314. <br />I have the following problem:<br />I open Twincat System Manager. There I can make an broadcast search to find my CX9001 CPU. I connect and add it to route. The user and password is checked correctly. After that step, I click on the route and get a yellow TIMEOUT. <br />I think the connection to my CX9001 is working, but not the route back to my client.<br />I tried deleting all routes with cerhost in the registry from CX9001.<br /><br />Tried another VMWARE with win10 works again!<br /><br />Has anyone information about that problem in Windows11 ? Thinking of defender could be the problem.</p>
<p>Thanks,<br />Klaus</p>]]></content:encoded>
						                            <category domain="https://twincontrols.com/community/twincat-troubleshooting/">How-to &amp; Troubleshooting</category>                        <dc:creator>klaus11</dc:creator>
                        <guid isPermaLink="true">https://twincontrols.com/community/twincat-troubleshooting/twincat2-windows11-timeout-problem/</guid>
                    </item>
				                    <item>
                        <title>Declaring variable cause license issue</title>
                        <link>https://twincontrols.com/community/twincat-troubleshooting/declaring-variable-cause-license-issue/</link>
                        <pubDate>Tue, 15 Jul 2025 10:23:44 +0000</pubDate>
                        <description><![CDATA[Hi All,
I am getting a very strange and challenging issue.
I have a fully working PLC software that has been running for a long time no issues.  Working in the field all operating 100%.
I...]]></description>
                        <content:encoded><![CDATA[<p>Hi All,</p>
<p>I am getting a very strange and challenging issue.</p>
<p>I have a fully working PLC software that has been running for a long time no issues.  Working in the field all operating 100%.</p>
<p>In MAIN, I have maybe declared variables (as can see several hundreds of variables currently working without issues) of BOOL, INT, REAL etc.  No issues.</p>
<p>But</p>
<p>As soon as I add any new variable declaration (i.e. as highlighted in the picture) and then click the button to "Activate Configuration", the code etc uploads but then the PLC goes into configuration mode and give the errors as in pictures.</p>
873
874
<p> </p>
<p>The Errors seems to point to licensing issues which makes no sense.  Nothing else changed in the working programme.  Literally just declared a new variable:</p>
<p>bSuffMassflowToStandardise:BOOL;</p>]]></content:encoded>
						                            <category domain="https://twincontrols.com/community/twincat-troubleshooting/">How-to &amp; Troubleshooting</category>                        <dc:creator>TwinKitty</dc:creator>
                        <guid isPermaLink="true">https://twincontrols.com/community/twincat-troubleshooting/declaring-variable-cause-license-issue/</guid>
                    </item>
				                    <item>
                        <title>Oscat Trend function block</title>
                        <link>https://twincontrols.com/community/twincat-troubleshooting/oscat-trend-function-block/</link>
                        <pubDate>Mon, 16 Jun 2025 11:13:07 +0000</pubDate>
                        <description><![CDATA[Hello,
has anyone tried OSCAT function Trend?, I can&#039;t get it work. i&#039;m using an analog PLC signal as the X input, but the problem as  i noticed is the last_x is always equal t X. I doesn&#039;t...]]></description>
                        <content:encoded><![CDATA[<p>Hello,</p>
<p>has anyone tried OSCAT function Trend?, I can't get it work. i'm using an analog PLC signal as the X input, but the problem as  i noticed is the last_x is always equal t X. I doesn't store the previous value in memory. Can anyone help me or test on own system this block.</p>]]></content:encoded>
						                            <category domain="https://twincontrols.com/community/twincat-troubleshooting/">How-to &amp; Troubleshooting</category>                        <dc:creator>deividasn</dc:creator>
                        <guid isPermaLink="true">https://twincontrols.com/community/twincat-troubleshooting/oscat-trend-function-block/</guid>
                    </item>
							        </channel>
        </rss>
		