<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Simulation problem.</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e8be3717e5/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e8be3717e5/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/e8be3717e5/</id><updated>2020-03-22T17:12:01.838000Z</updated><subtitle>Recent posts to Simulation problem.</subtitle><entry><title>Simulation problem.</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e8be3717e5/?limit=25#e989" rel="alternate"/><published>2020-03-22T17:12:01.838000Z</published><updated>2020-03-22T17:12:01.838000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.comefefab8c9cb4cbe00075be867d4869c4feaabacb</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;yes, in that case this is the solution, but would recommend to report this to the plc manufaturer.&lt;br/&gt;
They should provide libraries which are 32 and 64bit capabale ( even for this simulation problem)&lt;br/&gt;
BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Simulation problem.</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e8be3717e5/?limit=25#4940" rel="alternate"/><published>2020-03-22T16:41:06.136000Z</published><updated>2020-03-22T16:41:06.136000Z</updated><author><name>mr-nik</name><uri>https://forge.codesys.com/u/mr-nik/</uri></author><id>https://forge.codesys.com6ae82b17265f2b65f38144dda55d41c5fa5c9f28</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thank you all for your help and feedback.&lt;/p&gt;
&lt;p&gt;Installation of 32-bit version of Codesys helps me.&lt;/p&gt;
&lt;p&gt;Also i tried to reinstall "cmperrors interfaces" library. But it can't be done, because i use local libraries of vender of my PLC.&lt;br/&gt;
And these libraries already have "cmperrors interfaces" inside.&lt;br/&gt;
And vender's libraries is essential. And i can't remove them or reinstall with "cmperrors interfaces2" instead.&lt;/p&gt;
&lt;p&gt;So, the only one solution is using of 32-bit version of Codesys.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Simulation problem.</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e8be3717e5/?limit=25#442d" rel="alternate"/><published>2020-03-16T21:48:40.821000Z</published><updated>2020-03-16T21:48:40.821000Z</updated><author><name>i-campbell</name><uri>https://forge.codesys.com/u/i-campbell/</uri></author><id>https://forge.codesys.com57de233c8364abf0c92af0761907b5b6d4222b64</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Simulation mode to me is for quick tests. When you use 64bit IDE, Simulation mode gets its runtime from a CODESYS Control Win V3 x64, with the same runtime version as the IDE version. When you use 32bit IDE, Simulation mode gets its runtime from a CODESYS Control Win V3.  There are other differences between a Control Win V3 and whichever runtime you are using. So for tests I try to get as similar to the PLC as I can. For example for Linux based controllers, I try to keep a raspberry Pi. Or better yet, a spare of the actual PLC.&lt;/p&gt;
&lt;p&gt;If I was getting your error and wanted to use simulation mode, I would dual install the 32-bit IDE, using the steps under "for advanced users" at this FAQ page, and simulate it using that. &lt;a class="" href="https://faq.codesys.com/display/CDSFAQ/Installation+of+several+CODESYS+versions" rel="nofollow"&gt;Install FAQ&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Simulation problem.</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e8be3717e5/?limit=25#5769" rel="alternate"/><published>2020-03-15T08:27:37.727000Z</published><updated>2020-03-15T08:27:37.727000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com2f687de3b6eeb5da7d4fff1d2ff28291b5e2906d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;it seems that you are on a 64bit plc - so the steps are:&lt;br/&gt;
(if this error is caused by a lib you need to change the library)&lt;br/&gt;
in order for it to run at 64 bits, you have to:&lt;br/&gt;
    - set everything to at least 3.5.5.0&lt;br/&gt;
    - Interface lib use CmpError2, SysTypes2 and Systypes2 interfaces instead of CmpError and SysTypes, namespaces are the same but: RTS_INVALID_HANDLE is now in SysTypes and no longer in CmpErrors! There may be other interface libs that need to be raised.&lt;br/&gt;
Replace 32 bit pointer variables with 64 bit (__XWORD or alias XWORD) &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Simulation problem.</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e8be3717e5/?limit=250#bd17" rel="alternate"/><published>2020-03-14T17:13:30.620000Z</published><updated>2020-03-14T17:13:30.620000Z</updated><author><name>dkugler</name><uri>https://forge.codesys.com/u/dkugler/</uri></author><id>https://forge.codesys.comdb8ea4669580e1c198003bbd7724de2cb17bddd3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;You have installed the 32 or 64Bit development system and which device you are programming?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Simulation problem.</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e8be3717e5/?limit=25#4128" rel="alternate"/><published>2020-03-14T14:47:19.288000Z</published><updated>2020-03-14T14:47:19.288000Z</updated><author><name>mr-nik</name><uri>https://forge.codesys.com/u/mr-nik/</uri></author><id>https://forge.codesys.com68b963a65189089be54a05cd5f7a8f76b9240fb3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello, community.&lt;/p&gt;
&lt;p&gt;I have a project.&lt;/p&gt;
&lt;p&gt;And sometimes i haven't access to connect to PLC.&lt;br/&gt;
So, i have to use Simulation (check visualization or debug).&lt;/p&gt;
&lt;p&gt;But i got this error.&lt;/p&gt;
&lt;p&gt;I've already read thread about same problem. But i didn't find any solution there.&lt;br/&gt;
And in my situation i just need a opportunity to work in Simulation.&lt;/p&gt;
&lt;p&gt;Can anybody help me, please?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>