<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Activity for mondinmr</title><link href="https://forge.codesys.com/u/mondinmr/activity/" rel="alternate"/><id>https://forge.codesys.com/u/mondinmr/activity/</id><updated>2026-10-31T00:14:13.924000Z</updated><subtitle>Recent activity for mondinmr</subtitle><entry><title>mondinmr posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/9508a5f827/?limit=25#8968" rel="alternate"/><published>2026-10-31T00:14:13.924000Z</published><updated>2026-10-31T00:14:13.924000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/9508a5f827/?limit=25#8968</id><summary type="html">I have now published Ubuntu amd64 packages of my patched Wine build for CODESYS, targeting Ubuntu 22.04, 24.04, 26.04 and 26.10. The packages are based on Wine 11.20 and include all five compatibility patches covering NCrypt, thread suspension, security tokens, service tokens and local WMI marshalling. Both 32-bit and 64-bit Windows applications are supported through WoW64. In my working environment, CODESYS 3.5 SP21 successfully compiled and went online with a very complex project containing hundreds...</summary></entry><entry><title>mondinmr posted a comment on a wiki page</title><link href="https://forge.codesys.com/tol/codesys-4-linux/home/Home/?limit=25#2399" rel="alternate"/><published>2026-10-31T00:06:52.915000Z</published><updated>2026-10-31T00:06:52.915000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/tol/codesys-4-linux/home/Home/?limit=25#2399</id><summary type="html">CODESYS Installer and CodeMeter licensing are also working in my setup. For CodeMeter, I use the native Linux CodeMeter runtime, while the Windows applications run under the patched Wine build.</summary></entry><entry><title>mondinmr posted a comment on a wiki page</title><link href="https://forge.codesys.com/tol/codesys-4-linux/home/Home/?limit=25#bb7f" rel="alternate"/><published>2026-10-31T00:03:02.415000Z</published><updated>2026-10-31T00:03:02.415000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/tol/codesys-4-linux/home/Home/?limit=25#bb7f</id><summary type="html">Update: patched Wine packages for Ubuntu are now available I have now published Ubuntu amd64 packages of my patched Wine build for CODESYS, targeting Ubuntu 22.04, 24.04, 26.04 and 26.10. The packages are based on Wine 11.20 and include all five compatibility patches covering NCrypt, thread suspension, security tokens, service tokens and local WMI marshalling. Both 32-bit and 64-bit Windows applications are supported through WoW64. In my working environment, CODESYS 3.5 SP21 successfully compiled...</summary></entry><entry><title>mondinmr posted a comment on a wiki page</title><link href="https://forge.codesys.com/tol/codesys-4-linux/home/Home/?limit=25#a043" rel="alternate"/><published>2026-10-30T08:02:45.586000Z</published><updated>2026-10-30T08:02:45.586000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/tol/codesys-4-linux/home/Home/?limit=25#a043</id><summary type="html">Hi everyone, I’ve successfully got CODESYS 64 3.5.21.30 (SP21 Patch 3) running on Linux! I’ve compiled and gone online with a very large, highly complex project containing hundreds of thousands of lines of code, with an architecture that makes extremely heavy use of polymorphism. Compilation succeeded, and I was able to connect to the PLC and work online. The Wine version used is Wine 11.20, built from development commit: 66caeb46aea4aa8fe6f87b7a209e7867651c09dd This is a new WoW64 build supporting...</summary></entry><entry><title>mondinmr posted a comment on ticket #3</title><link href="https://forge.codesys.com/tol/codesys-4-linux/tickets/3/?limit=25#fdc1" rel="alternate"/><published>2026-10-29T19:02:36.486000Z</published><updated>2026-10-29T19:02:36.486000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/tol/codesys-4-linux/tickets/3/?limit=25#fdc1</id><summary type="html">Hi everyone, I’ve successfully got CODESYS 64 3.5.21.30 (SP21 Patch 3) running on Linux! I’ve compiled and gone online with a very large, highly complex project containing hundreds of thousands of lines of code, with an architecture that makes extremely heavy use of polymorphism. Compilation succeeded, and I was able to connect to the PLC and work online. The Wine version used is Wine 11.20, built from development commit: 66caeb46aea4aa8fe6f87b7a209e7867651c09dd This is a new WoW64 build supporting...</summary></entry><entry><title>mondinmr posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/8ef9d2a15e/?limit=25#0efe" rel="alternate"/><published>2025-10-01T12:46:24.654000Z</published><updated>2025-10-01T12:46:24.654000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/8ef9d2a15e/?limit=25#0efe</id><summary type="html">My mistake! Now is an external package. I found in installer. Sorry</summary></entry><entry><title>mondinmr posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/8ef9d2a15e/?limit=25#1d3b" rel="alternate"/><published>2025-10-01T10:56:14.294000Z</published><updated>2025-10-01T10:56:14.294000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/8ef9d2a15e/?limit=25#1d3b</id><summary type="html">What happened to Python? I’ve just installed version 3.5.21.3 of the CODESYS development environment. I’m coming from 3.5.19.5. What happened to Python scripting! We rely heavily on it for the automatic generation of thousands of lines of code! It seems absurd to me that such an important feature has been removed!</summary></entry><entry><title>mondinmr modified a comment on discussion Runtime 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/6f3bbeb23c/?limit=25#75d7" rel="alternate"/><published>2025-09-11T06:35:48.169000Z</published><updated>2025-09-11T06:35:48.169000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Runtime/thread/6f3bbeb23c/?limit=25#75d7</id><summary type="html">Good morning, I’ve been using the Collection library for a long time, mostly with Stack, LinkedList, and List. From your examples I was able to manage the different factories, even for custom elements. Now I need a hashtable, but with this object I’m running into a lot of random access violations. If I append something inside FB_Init after constructing the hashtable, it crashes, even though the list was already created. If I only create the hashtable in FB_Init and append afterwards, it usually works....</summary></entry><entry><title>mondinmr posted a comment on discussion Runtime 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/6f3bbeb23c/?limit=25#75d7" rel="alternate"/><published>2025-09-11T06:27:21.761000Z</published><updated>2025-09-11T06:27:21.761000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Runtime/thread/6f3bbeb23c/?limit=25#75d7</id><summary type="html">Good morning, I’ve been using the Collection library for a long time, mostly with Stack, LinkedList, and List. From your examples I was able to manage the different factories, even for custom elements. Now I need a hashtable, but with this object I’m running into a lot of random access violations. If I append something inside FB_Init after constructing the hashtable, it crashes, even though the list was already created. If I only create the hashtable in FB_Init and append afterwards, it usually works....</summary></entry><entry><title>mondinmr posted a comment on discussion Runtime 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/37bd172ce6/?limit=25#1f30" rel="alternate"/><published>2025-05-23T14:56:34.914000Z</published><updated>2025-05-23T14:56:34.914000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Runtime/thread/37bd172ce6/?limit=25#1f30</id><summary type="html">We need to use two CIFX 50E-DP cards in two Linux PCs running CODESYS for Linux SL (the machines are x86). Has anyone experienced any issues? Do these cards work reliably under Linux?</summary></entry><entry><title>mondinmr modified a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/6015dbf9f3/?limit=25#e874" rel="alternate"/><published>2025-05-17T06:52:15.730000Z</published><updated>2025-05-17T06:52:15.730000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/6015dbf9f3/?limit=25#e874</id><summary type="html">Double message sorry</summary></entry><entry><title>mondinmr posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/4030749101/?limit=25#1262" rel="alternate"/><published>2025-05-16T17:41:49.359000Z</published><updated>2025-05-16T17:41:49.359000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/4030749101/?limit=25#1262</id><summary type="html">I noticed something strange in the trace: one of the variables (specifically parts.servoFeeder.m_pathGen.m_acPos) is showing an absurd or unrealistic value—something around 4E+18. However, when I check the same variable in the watch window, it shows a normal and expected value (around 506). Do you know why there is this discrepancy between the trace and the watch? Could it be a bug in the trace tool? Thanks in advance!</summary></entry><entry><title>mondinmr posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/6015dbf9f3/?limit=25#e874" rel="alternate"/><published>2025-05-16T17:41:44.355000Z</published><updated>2025-05-16T17:41:44.355000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/6015dbf9f3/?limit=25#e874</id><summary type="html">I noticed something strange in the trace: one of the variables (specifically parts.servoFeeder.m_pathGen.m_acPos) is showing an absurd or unrealistic value—something around 4E+18. However, when I check the same variable in the watch window, it shows a normal and expected value (around 506). Do you know why there is this discrepancy between the trace and the watch? Could it be a bug in the trace tool? Thanks in advance!</summary></entry><entry><title>mondinmr modified a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/59812d8d95/?limit=25#13cb" rel="alternate"/><published>2025-05-13T08:50:45.398000Z</published><updated>2025-05-13T08:50:45.398000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/59812d8d95/?limit=25#13cb</id><summary type="html">Hi everyone, I’m investigating a potential issue with a cyclic method we use for reading incremental encoders in our libraries. I’ve come across two implementations that, at first glance, appear to perform the same operation: motionUnit.vlPositionActualValue is UINT due strange encoder type. Version A METHOD PROTECTED cyclicReadField VAR_INST actPosFieldOld: INT; rI: INT; delta: INT; END_VAR rI := TO_INT(motionUnit.vlPositionActualValue); delta := rI - actPosFieldOld; m_actPosRaw := m_actPosRaw +...</summary></entry><entry><title>mondinmr posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/59812d8d95/?limit=25#13cb" rel="alternate"/><published>2025-05-13T08:46:05.821000Z</published><updated>2025-05-13T08:46:05.821000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/59812d8d95/?limit=25#13cb</id><summary type="html">Hi everyone, I’m investigating a potential issue with a cyclic method we use for reading incremental encoders in our libraries. I’ve come across two implementations that, at first glance, appear to perform the same operation: motionUnit.vlPositionActualValue is UINT due strange encoder type. Version A METHOD PROTECTED cyclicReadField VAR_INST actPosFieldOld: INT; rI: INT; delta: INT; END_VAR rI := TO_INT(motionUnit.vlPositionActualValue); delta := rI - actPosFieldOld; m_actPosRaw := m_actPosRaw +...</summary></entry><entry><title>mondinmr posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a6aba3c4d6/?limit=25#0f78" rel="alternate"/><published>2025-02-18T12:52:30.400000Z</published><updated>2025-02-18T12:52:30.400000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/a6aba3c4d6/?limit=25#0f78</id><summary type="html">In reality, other vendors are already moving towards integration with VS Code. B&amp;R, for example, is likely the only one that could truly challenge Codesys in the market: they’ve overhauled their once-archaic environment (previously lacking ST OOP) and are now catching up significantly with Automation Studio Code, offering modern programming capabilities and native support for tools like Git and GitHub Copilot. The other big names in the market, frankly, are still light years behind. For smaller projects,...</summary></entry><entry><title>mondinmr posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a6aba3c4d6/?limit=25#89b2" rel="alternate"/><published>2024-10-15T10:23:26.014000Z</published><updated>2024-10-15T10:23:26.014000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/a6aba3c4d6/?limit=25#89b2</id><summary type="html">Good day, I’m writing this message out of frustration regarding the current way project files are saved as encrypted XML and single-file format in CODESYS. I find this approach to be quite tedious for several reasons: Limited Access to Structured Text: Not being able to access Structured Text (ST) externally makes it impossible to work with alternative editors like VSCode. Tools like VSCode are incredibly responsive and feature advanced systems such as GitHub Copilot, which would be a real game-changer...</summary></entry><entry><title>mondinmr posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ee24b41e0f/?limit=25#13d8" rel="alternate"/><published>2024-08-22T13:55:14.916000Z</published><updated>2024-08-22T13:55:14.916000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/ee24b41e0f/?limit=25#13d8</id><summary type="html">I have a device CAADiagDeviceDefault: IoConfig_Globals.Axis_A In our library, we perform introspection of the Etc_SlaveDiag. In that case, we have connectors, and by searching for them by address, I can find them in the IO mapping using the offset and size provided by EtherCAT. However, a Lenze i700 drive, instead of placing the IO mapping in the Etc_SlaveDiag device, places it in a sub-device CAADiagDeviceDefault. So, when I perform introspection, I cannot find the IO correspondences. Yet, in the...</summary></entry><entry><title>mondinmr posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/f99639c9eb/?limit=25#a4e3" rel="alternate"/><published>2024-02-13T14:19:35.725000Z</published><updated>2024-02-13T14:19:35.725000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/f99639c9eb/?limit=25#a4e3</id><summary type="html">I have found a very interesting solution using: IoConfigTaskMap IoConfigConnectorMap IoConfigChannelMap The first is the list of IO tasks. The second is the connector for each IO module in the IOMap. The third is the individual input or output on the IOMap. One of the properties of the connector is another pointer to a connector, which corresponds with the connector of the EtherCAT slave. Through this information, it is possible to understand to which EtherCAT slave an IO connectormap corresponds....</summary></entry><entry><title>mondinmr modified a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/f99639c9eb/?limit=25#7303/e675" rel="alternate"/><published>2024-02-13T14:09:11.483000Z</published><updated>2024-02-13T14:09:11.483000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/f99639c9eb/?limit=25#7303/e675</id><summary type="html"/></entry><entry><title>mondinmr posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/f99639c9eb/?limit=25#7303/e675" rel="alternate"/><published>2024-02-13T14:08:53.096000Z</published><updated>2024-02-13T14:08:53.096000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/f99639c9eb/?limit=25#7303/e675</id><summary type="html">Thank you for the response! It's a path I had already considered, however, while it has always worked for me on inputs, it doesn't on outputs, because if I enable the option to update all IOs at every scan, the IO tasks overwrite each other. However, I have found something very interesting which I am posting below.</summary></entry><entry><title>mondinmr posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/f99639c9eb/?limit=25#7303/ca99" rel="alternate"/><published>2024-02-13T14:08:49.329000Z</published><updated>2024-02-13T14:08:49.329000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/f99639c9eb/?limit=25#7303/ca99</id><summary type="html">Thank you for the response! It's a path I had already considered, however, while it has always worked for me on inputs, it doesn't on outputs, because if I enable the option to update all IOs at every scan, the IO tasks overwrite each other. However, I have found something very interesting which I am posting below.</summary></entry><entry><title>mondinmr posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/f99639c9eb/?limit=25#8ebf" rel="alternate"/><published>2024-02-12T11:01:01.603000Z</published><updated>2024-02-12T11:01:01.603000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/f99639c9eb/?limit=25#8ebf</id><summary type="html">Using SDO, I can read the EtherCAT mappings and offsets from various registers like 0x1c12, 0x1c13, etc. When I obtain registers mapped in the PDOs and various offsets, I could technically access directly to the statusword, controlword, etc., if they are mapped. I have noticed that on IoDrvEthercatLib.ETCSlave_Diag I can find pointers to the input and output buffers. However, although the input buffer can be easily read by referring to what has been obtained from the SDOs, it is not possible to write...</summary></entry><entry><title>mondinmr posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ceb30565d3/?limit=25#26ce" rel="alternate"/><published>2024-02-02T16:23:22.903000Z</published><updated>2024-02-02T16:23:22.903000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/ceb30565d3/?limit=25#26ce</id><summary type="html">This library would be very useful for IPC communications. Using a UDP socket on localhost is unpredictable, as with slightly loaded machines it does not even guarantee packet delivery locally. Using TCP creates a lot of overhead. Message named pipes would be an excellent solution for Windows RTE. On Linux, since the release of the extension package, there is no issue, as it is sufficient to develop a component. However, although now 90% of our clients understand that Linux runtimes are better in...</summary></entry><entry><title>mondinmr modified a comment on discussion Runtime 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/f9cc5cd2ee/?limit=25#d6ff" rel="alternate"/><published>2024-01-30T08:49:21.535000Z</published><updated>2024-01-30T08:49:21.535000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Runtime/thread/f9cc5cd2ee/?limit=25#d6ff</id><summary type="html">In Windows I need create shared memory in PC software and connect from CODESYS. If shm is not GLOBAL doesn't work due different users between runtime and PC software. PC software need admin privileges. Name need "Global\\" before key. Very unsafe!!! If CODESYS create shared I cannot find key PC side. In Linux I can create shared memory as standard user, bind in the runtime docker, use keys without any "Global\\". Much more safe!!! If CODESYS create shared you need play with permissions to use app...</summary></entry><entry><title>mondinmr posted a comment on discussion Runtime 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/f9cc5cd2ee/?limit=25#d6ff" rel="alternate"/><published>2024-01-30T08:46:59.867000Z</published><updated>2024-01-30T08:46:59.867000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Runtime/thread/f9cc5cd2ee/?limit=25#d6ff</id><summary type="html">In Windows I need create shared memory in PC software and connect from CODESYS. If shm is not GLOBAL doesn't work due different users between runtime and PC software. PC software need admin privileges. Name need "Global\" before key. Very unsafe!!! In Linux I can create shared memory as standard user, bind in the runtime docker, use keys without any "Global\". Much more safe!!!</summary></entry><entry><title>mondinmr posted a comment on discussion Runtime 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/89556657e9/?limit=25#b799" rel="alternate"/><published>2023-10-19T07:39:07.114000Z</published><updated>2023-10-19T07:39:07.114000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Runtime/thread/89556657e9/?limit=25#b799</id><summary type="html">SOLVED!!! In this imx8 max_cstate=1 in kernel boot parameters is not working! We found a workaround: #include &lt;stdio.h&gt; #include &lt;fcntl.h&gt; #include &lt;unistd.h&gt; #include &lt;stdint.h&gt; int main(void) { int fd; uint32_t value = 0; fd = open("/dev/cpu_dma_latency", O_WRONLY); if (fd &lt; 0) { perror("Error opening /dev/cpu_dma_latency"); return 1; } if (write(fd, &amp;value, sizeof(value)) != sizeof(value)) { perror("Error writing to /dev/cpu_dma_latency"); close(fd); return 1; } while (1) { pause(); } } This simple...</summary></entry><entry><title>mondinmr posted a comment on discussion Runtime 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/89556657e9/?limit=25#2413" rel="alternate"/><published>2023-10-18T15:27:55.849000Z</published><updated>2023-10-18T15:27:55.849000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Runtime/thread/89556657e9/?limit=25#2413</id><summary type="html">We are experiencing serious jitter issues on an ARM64 imx8. Until now, on rpi and beaglebone derivatives, and on Intel, we never encountered jitter issues unless they were already present on the device. In this case, as can be seen from the attached graph, we have excellent maximum latency. The cyclictest on the isolated core dedicated to IEC CODESYS tasks shows a latency of 37µs, with an average of 14µs. Usually, on all other devices, with an RT kernel, with the appropriate parameters to avoid frequency...</summary></entry><entry><title>mondinmr posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/2db0031096/?limit=25#2e0e" rel="alternate"/><published>2023-06-23T15:09:04.431000Z</published><updated>2023-06-23T15:09:04.431000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/2db0031096/?limit=25#2e0e</id><summary type="html">Here, a test parser I implemented. It reads a CODESYS export (NOT PlcOpen, standard exports) file and saves it in a folder structure that replicates the project tree. It saves all DUTs and ST files in plain text. All the XML files will allow reconstructing the export for reimporting it into CODESYS in future tests. The objective is to achieve a system that, when integrated into CODESYS, enables generating a simpler Git structure for managing merges while working in a team. It could serve as a starting...</summary></entry><entry><title>mondinmr posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/159325f850/?limit=25#0b3e" rel="alternate"/><published>2023-05-12T14:02:52.997000Z</published><updated>2023-05-12T14:02:52.997000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/159325f850/?limit=25#0b3e</id><summary type="html">I tested the CODESYS Git integration to evaluate the purchase of the license. I couldn't find a solution for ssh in RSA, but as a valid alternative, I used the Bitbucket application keys, which allowed me to avoid using credentials. However, I gave up because the projects are not exported in plain text, which is useful for at least the ST part, 99.9% of our projects today. I can't rely solely on the tools provided in the development environment. Many times, when working in a team, it's necessary...</summary></entry><entry><title>mondinmr posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/617b28a3f4/?limit=25#4dfa" rel="alternate"/><published>2023-04-12T12:30:45.354000Z</published><updated>2023-04-12T12:30:45.354000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/617b28a3f4/?limit=25#4dfa</id><summary type="html">Due to the impossibility of accessing the projects (which we have already fully developed in ST) in text-only mode due to the ".project" file storage system, it is impossible to work on the projects with external tools such as VSCode, which now offer excellent support for developer tools based on AI such as Github Copilot. Today, these tools allow us to boost productivity and are becoming increasingly essential to remain competitive. On the PC side, we now delegate over 50% of the more tedious work...</summary></entry><entry><title>mondinmr posted a comment on discussion Runtime 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/773d4ac61f/?limit=25#f04a" rel="alternate"/><published>2023-02-24T14:37:30.083000Z</published><updated>2023-02-24T14:37:30.083000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Runtime/thread/773d4ac61f/?limit=25#f04a</id><summary type="html">All linux runtimes form 4.0 are released with Extension Package! You can use C/C++ integration. Inside package you can find examples.</summary></entry><entry><title>mondinmr posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/0c0336bc8c/?limit=25#76a9" rel="alternate"/><published>2023-02-23T17:15:13.674000Z</published><updated>2023-02-23T17:15:13.674000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/0c0336bc8c/?limit=25#76a9</id><summary type="html">It's probably not possible due project storage system! I don't understand project storage system! With medium projects, 60.000 - 300.000 ST lines and 20-30 Devices in different config, everything became very very slow to manage! Also git integration is unusable! For a single staging required me 20 minutes! If we work in team solve conflicts merging via git is not simple and every time possible.</summary></entry><entry><title>mondinmr posted a comment on discussion Runtime 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/e598cf73a9/?limit=25#0593" rel="alternate"/><published>2023-02-06T16:33:23.789000Z</published><updated>2023-02-06T16:33:23.789000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Runtime/thread/e598cf73a9/?limit=25#0593</id><summary type="html">After last update of ubuntu 22.04 codesys no more start! We encounter this error: symbol lookup error: /opt/codesys/lib/libpthread.so.0: undefined symbol: __libc_pthread_init, version GLIBC_PRIVATE</summary></entry><entry><title>mondinmr posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/d075e39b6d/?limit=25#3567" rel="alternate"/><published>2022-11-15T18:44:47.913000Z</published><updated>2022-11-15T18:44:47.913000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/d075e39b6d/?limit=25#3567</id><summary type="html">We use shared memory! A Qt Gateway provide shared memory for process, setting ane messages. A Qt remote PLC comunicate with gateway via UDP/TCP/RESTFull. We developed 2 framework, the first in use in many production machines, the second in road to be implemented in new applicaitons. In second framework we made also a QML simplified data mapping. Data excange is made via predefined structs. A tool that extend qmake process dump xml plcopen and phyton scripts to import structs in CODESYS avoiding double...</summary></entry><entry><title>mondinmr posted a comment on discussion Runtime 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/dd3a2052c9/?limit=25#4bf0/1519" rel="alternate"/><published>2022-10-25T08:59:50.764000Z</published><updated>2022-10-25T08:59:50.764000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Runtime/thread/dd3a2052c9/?limit=25#4bf0/1519</id><summary type="html">Here a i5 5th gen. On same PC there are: Runtime with ethercat master Qt/C++ Settings manager, Gateway, logger and recorder/player to provide and store program recordings. Qt/C++ HMI on LxQt Desktop. X2GO remote desktop connected via VPN. OpenVPN Server. MySQL server for programs management and messages management. As you can see, after about 2 hours max jitter is 45µs, but it remain many time under 10µs, there are spikes of 15-20µs in about 10-15 minutes and 30-45µs in about 30 minutes. We have...</summary></entry><entry><title>mondinmr modified a comment on discussion Runtime 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/0e6e33c7fb/?limit=25#822c" rel="alternate"/><published>2022-10-20T10:29:53.330000Z</published><updated>2022-10-20T10:29:53.330000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Runtime/thread/0e6e33c7fb/?limit=25#822c</id><summary type="html">I found this problem in many RTE devices. RTE work in kernel space, so some division by 0, some index out of bound in arrays and things like that in IEC tasks, bring sometime in this situations. To find that exceptions I use a runtime Linux SL (Working great in user space) in a kernel RT installed on my PC or in a RPi 4. I connect my PC or RPi to fieldBUS, download the application and test. When error bring me to stack exception, I fix it than I download everything in RTE and I reconnect fieldBUS...</summary></entry><entry><title>mondinmr posted a comment on discussion Runtime 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/0e6e33c7fb/?limit=25#822c" rel="alternate"/><published>2022-10-20T10:29:06.229000Z</published><updated>2022-10-20T10:29:06.229000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Runtime/thread/0e6e33c7fb/?limit=25#822c</id><summary type="html">I found this problem in many RTE devices. RTE work in kernel space, so some division by 0, some index out of bound in arrays and things like that in IEC tasks, bring sometime in this situations. To find that exceptions I use a runtime Linux SL (Working great in user space) in a kernel RT installed on my PC or in a RPi 4. I connect my PC or RPi to fieldBUS, download the application and test. When error bring me to stack exception, I fix it than I download everything in RTE and I reconnect fieldBUS...</summary></entry><entry><title>mondinmr modified a comment on discussion Runtime 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/dd3a2052c9/?limit=25#4bf0/33ae" rel="alternate"/><published>2022-10-20T09:33:24.316000Z</published><updated>2022-10-20T09:33:24.316000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Runtime/thread/dd3a2052c9/?limit=25#4bf0/33ae</id><summary type="html">Also in Debian 10? In many machines using kernel 4.19.xRT Is working good. On medium load we have some spike after many hours but it's remaining &lt;50-100µs depending on machine. Results obtained with LXQT, a heavy Qt/C++ application doing HMI and IoT works, a mysql server and a openVPN service running on other cores. In attached image you can see 65µs max after 2.5 hours. It's a J1900 with medium load.</summary></entry><entry><title>mondinmr posted a comment on discussion Runtime 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/dd3a2052c9/?limit=25#4bf0/33ae" rel="alternate"/><published>2022-10-20T09:21:02.546000Z</published><updated>2022-10-20T09:21:02.546000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Runtime/thread/dd3a2052c9/?limit=25#4bf0/33ae</id><summary type="html">Also in Debian 10? In many machines using kernel 4.19.xRT Is working good. On medium load we have some spike after many hours but it's remaining &lt;50-100us depending on machine. Results obtained with LXQT, a heavy Qt/C++ application doing HMI and IoT works and a openVPN service running on other cores.</summary></entry><entry><title>mondinmr posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/76e0a03c5b/?limit=25#77ad" rel="alternate"/><published>2022-08-12T08:42:50.028000Z</published><updated>2022-08-12T08:42:50.028000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/76e0a03c5b/?limit=25#77ad</id><summary type="html">In Linux runtimes &gt;=4.4.x yes! You can use SL Extension Package, It's very easy to use following examples delivered in CODESYS!</summary></entry><entry><title>mondinmr posted a comment on discussion Runtime 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/a821a56d89/?limit=25#4ca7/5a84" rel="alternate"/><published>2022-08-12T08:37:31.960000Z</published><updated>2022-08-12T08:37:31.960000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Runtime/thread/a821a56d89/?limit=25#4ca7/5a84</id><summary type="html">In 4.4 is quite easy use SL Extension Package to develop external components. Using it you could develop an external i2c component.</summary></entry><entry><title>mondinmr modified a comment on discussion Runtime 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/dd3a2052c9/?limit=25#4fad/8cd8" rel="alternate"/><published>2022-08-12T08:18:45.916000Z</published><updated>2022-08-12T08:18:45.916000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Runtime/thread/dd3a2052c9/?limit=25#4fad/8cd8</id><summary type="html">Hi! In latest versions of Codesys Control for linux everything is improved very well! Only a few steps are required to obtain very low jitter on many CPUs. 0 - Use RT Preempt kernel (Debian has a precompiled RT kernel) 1 - DISABLE HYPERTHREADING FROM UEFI Setup/BIOS!!! 2 - In INTEL CPUS change in /etc/default/grub this line: GRUB_CMDLINE_LINUX_DEFAULT="isolcpus=2,3 processor.max_cstate=1 intel_idle.max_cstate=0 acpi_irq_nobalance noirqbalance quiet" isolcpus detach cores 2 and 3 from Linux KERNEL....</summary></entry><entry><title>mondinmr modified a comment on discussion Runtime 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/dd3a2052c9/?limit=25#4fad/8cd8" rel="alternate"/><published>2022-08-12T08:13:27.148000Z</published><updated>2022-08-12T08:13:27.148000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Runtime/thread/dd3a2052c9/?limit=25#4fad/8cd8</id><summary type="html">Hi! In latest versions of Codesys Control for linux everything is improved very well! Only a few steps are required to obtain very low jitter on many CPUs. 0 - Use RT Preempt kernel (Debian has a precompiled RT kernel) 1 - DISABLE HYPERTHREADING FROM UEFI Setup/BIOS!!! 2 - In INTEL CPUS change in /etc/default/grub this line: GRUB_CMDLINE_LINUX_DEFAULT="isolcpus=2,3 processor.max_cstate=1 intel_idle.max_cstate=0 acpi_irq_nobalance noirqbalance quiet" isolcpus detach cores 2 and 3 from Linux KERNEL....</summary></entry><entry><title>mondinmr modified a comment on discussion Runtime 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/dd3a2052c9/?limit=25#4fad/8cd8" rel="alternate"/><published>2022-08-12T08:06:53.331000Z</published><updated>2022-08-12T08:06:53.331000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Runtime/thread/dd3a2052c9/?limit=25#4fad/8cd8</id><summary type="html">Hi! In latest versions of Codesys Control for linux everything is improved very well! Only a few steps are required to obtain very low jitter on many CPUs. 0 - Use RT Preempt kernel (Debian has a precompiled RT kernel) 1 - DISABLE HYPERTHREADING FROM BIOS!!! 2 - In INTEL CPUS change in /etc/default/grub this line: GRUB_CMDLINE_LINUX_DEFAULT="isolcpus=2,3 processor.max_cstate=1 intel_idle.max_cstate=0 acpi_irq_nobalance noirqbalance quiet" isolcpus detach cores 2 and 3 from Linux KERNEL. High cores...</summary></entry><entry><title>mondinmr modified a comment on discussion Runtime 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/dd3a2052c9/?limit=25#4fad/8cd8" rel="alternate"/><published>2022-08-12T08:04:57.016000Z</published><updated>2022-08-12T08:04:57.016000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Runtime/thread/dd3a2052c9/?limit=25#4fad/8cd8</id><summary type="html">Hi! In latest versions of Codesys Control for linux everything is improved very well! Only a few steps are required to obtain very low jitter on many CPUs. 0 - Use RT Preempt kernel (Debian has a precompiled RT kernel) 1 - DISABLE HYPERTHREADING FROM BIOS!!! 2 - In INTEL CPUS change in /etc/default/grub this line: GRUB_CMDLINE_LINUX_DEFAULT="isolcpus=2,3 processor.max_cstate=1 intel_idle.max_cstate=0 acpi_irq_nobalance noirqbalance quiet" isolcpus detach cores 2 and 3 from Linux KERNEL. High cores...</summary></entry><entry><title>mondinmr modified a comment on discussion Runtime 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/dd3a2052c9/?limit=25#4fad/8cd8" rel="alternate"/><published>2022-08-12T08:02:43.538000Z</published><updated>2022-08-12T08:02:43.538000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Runtime/thread/dd3a2052c9/?limit=25#4fad/8cd8</id><summary type="html">Hi! In latest versions of Codesys Control for linux everything is improved very well! Only a few steps are required to obtain very low jitter on many CPUs. 0 - Use RT Preempt kernel (Debian has a precompiled RT kernel) 1 - DISABLE HYPERTHREADING FROM BIOS!!! 2 - In INTEL CPUS change in /etc/default/grub this line: GRUB_CMDLINE_LINUX_DEFAULT="isolcpus=2,3 processor.max_cstate=1 intel_idle.max_cstate=0 acpi_irq_nobalance noirqbalance quiet" isolcpus detach cores 2 and 3 from Linux KERNEL. High cores...</summary></entry><entry><title>mondinmr posted a comment on discussion Runtime 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/dd3a2052c9/?limit=25#4fad/8cd8" rel="alternate"/><published>2022-08-12T07:58:39.356000Z</published><updated>2022-08-12T07:58:39.356000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Runtime/thread/dd3a2052c9/?limit=25#4fad/8cd8</id><summary type="html">Hi! In latest versions of Codesys Control for linux everything is improved very well! Only a few steps are required to obtain very low jitter on many CPUs. 0 - Use RT Preempt kernel (Debian has a precompiled RT kernel) 1 - DISABLE HYPERTHREADING FROM BIOS!!! 2 - In INTEL CPUS change in /etc/default/grub this line: GRUB_CMDLINE_LINUX_DEFAULT="isolcpus=2,3 processor.max_cstate=1 intel_idle.max_cstate=0 acpi_irq_nobalance noirqbalance quiet" isolcpus detach cores 2 and 3 from Linux KERNEL. High cores...</summary></entry><entry><title>mondinmr posted a comment on discussion Runtime 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/2c0f4b6c03/?limit=25#696f" rel="alternate"/><published>2022-07-17T16:36:34.381000Z</published><updated>2022-07-17T16:36:34.381000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Runtime/thread/2c0f4b6c03/?limit=25#696f</id><summary type="html">MySQL server is on linux or Windows? I think could be a SSL related problem.</summary></entry><entry><title>mondinmr modified a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/2221ea678a/?limit=25#53af" rel="alternate"/><published>2022-07-14T12:35:41.599000Z</published><updated>2022-07-14T12:35:41.599000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/2221ea678a/?limit=25#53af</id><summary type="html">We are working on a direct transform. If we use only one EXPT(val, 4) result is similar to pow(val, 4) (NOT EQUAL). Problem in ARM 64 runtime came when we have a very long calculation with 5 EXPT summed and many others calcs in formula. OCTAVE, Matlab and C return same value, but ST using EXPT no with a big error. Why? Replacing EXPT(val, 4) with (val * val * val * val) work like MatLab, OCTAVE and c.</summary></entry><entry><title>mondinmr modified a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/2221ea678a/?limit=25#53af" rel="alternate"/><published>2022-07-14T10:35:22.985000Z</published><updated>2022-07-14T10:35:22.985000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/2221ea678a/?limit=25#53af</id><summary type="html">We are working on a direct transform. If we use only one EXPT(val, 4) result is similar to pow(val, 4) (NOT EQUAL). Problem in ARM 64 runtime came when we have a very long calculation with 5 EXPT summed and many others calcs in formula. OCTAVE, Matlab and C return same value, but ST using EXPT no with a big error. Why?</summary></entry><entry><title>mondinmr posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/2221ea678a/?limit=25#53af" rel="alternate"/><published>2022-07-14T10:34:54.270000Z</published><updated>2022-07-14T10:34:54.270000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/2221ea678a/?limit=25#53af</id><summary type="html">We are working on a direct transform. If we use only one EXPT(val, 4) result is similar to pow(val, 4) (NOT EQUAL). Problem in ARM 64 runtime came when we have a very long calculation with 5 EXPT summed. OCTAVE, Matlab and C return same value, but ST using EXPT no with a big error. Why?</summary></entry><entry><title>mondinmr posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/4f501defaa/?limit=25#6543" rel="alternate"/><published>2022-05-31T15:23:11.784000Z</published><updated>2022-05-31T15:23:11.784000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/4f501defaa/?limit=25#6543</id><summary type="html">I created a .pro file in QtCreator to simplify cross compilation and component developing for CODESYS Extendion Package SL. This can be used simply replacing TARGET variable to develop and compile inside QtCreator. File must live in source library path, where makefile is created by the SDK. I tested it on direct AMD64 and cross ARM64, in 4.4 ARM 64Bit SL and 4.4.1 Linux SL and it's Working. This is a base version of this file useful to start a new library. I tested it with a C++ wrapper and many...</summary></entry><entry><title>mondinmr modified a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/09b02401ac/?limit=25#a239" rel="alternate"/><published>2022-05-05T17:04:44.914000Z</published><updated>2022-05-05T17:04:44.914000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/09b02401ac/?limit=25#a239</id><summary type="html"/></entry><entry><title>mondinmr posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/09b02401ac/?limit=25#a239" rel="alternate"/><published>2022-05-05T16:41:48.775000Z</published><updated>2022-05-05T16:41:48.775000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/09b02401ac/?limit=25#a239</id><summary type="html">Also pragma {warning 'some text'} is no more working in my setup. So is no more possible show important TODO information at compile time!</summary></entry><entry><title>mondinmr posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/09b02401ac/?limit=25#a763" rel="alternate"/><published>2022-05-05T09:53:55.108000Z</published><updated>2022-05-05T09:53:55.108000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/09b02401ac/?limit=25#a763</id><summary type="html">In 3.5.18 there are too many false warnings and errors!!! Warning like in attachment can be ignored, but is a non sense!!!!!!!!!! For example to avoid unreadable UNIONS that make only confusion we use a bits structure: TYPE SimpleAxisControlWord : STRUCT switchOn : BIT; enableVoltage : BIT; quickStop : BIT; enableOperation : BIT; startMove : BIT; free5 : BIT; free6 : BIT; faultReset : BIT; halt : BIT; free9 : BIT; free10 : BIT; free11 : BIT; free12 : BIT; free13 : BIT; free14 : BIT; free15 : BIT;...</summary></entry><entry><title>mondinmr modified a comment on discussion Forge 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/forge/thread/fabde5513b/?limit=25#f11c" rel="alternate"/><published>2022-05-04T19:41:11.890000Z</published><updated>2022-05-04T19:41:11.890000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/forge/thread/fabde5513b/?limit=25#f11c</id><summary type="html">Only for test purpose i put a reuturn in NCryptFreeObject after call, this bring in a memory leak, but now installer work, packages are installed, signatures working. So NCRYPT_PERSIST_ONLY_FLAG probability could be managed in a key property avoiding free when this property is set. In 3.5.18 Codesys Installer is needed, so dll should compiled also in 32bit, due this program is released only in 32bit (why in 2022??????). Some problem persists in online. A side comment out off topic... This massive...</summary></entry><entry><title>mondinmr modified a comment on discussion Forge 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/forge/thread/fabde5513b/?limit=25#f11c" rel="alternate"/><published>2022-05-04T19:39:47.022000Z</published><updated>2022-05-04T19:39:47.022000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/forge/thread/fabde5513b/?limit=25#f11c</id><summary type="html">Only for test purpose i put a reuturn in NCryptFreeObject after call, this bring in a memory leak, but now installer work, packages are installed, signatures working. So NCRYPT_PERSIST_ONLY_FLAG probability could be managed in a key property avoiding free when this property is set. In 3.5.18 Codesys Installer is needed, so dll should compiled also in 32bit, due this program is released only in 32bit. Some problem persists in online. A side comment out off topic... This massive usage of .net and C#...</summary></entry><entry><title>mondinmr modified a comment on discussion Forge 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/forge/thread/fabde5513b/?limit=25#f11c" rel="alternate"/><published>2022-05-04T19:35:03.087000Z</published><updated>2022-05-04T19:35:03.087000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/forge/thread/fabde5513b/?limit=25#f11c</id><summary type="html">Only for test purpose i put a reuturn in NCryptFreeObject after call, this bring in a memory leak, but now installer work, packages are installed, signatures working. So NCRYPT_PERSIST_ONLY_FLAG probability could be managed in a key property avoiding free when this property is set. In 3.5.18 Codesys Installer is needed, so dll should compiled also in 32bit, due this program is released only in 32bit. Some problem persist in online. A side comment out off topic... This massive usage of .net and C#...</summary></entry><entry><title>mondinmr modified a comment on discussion Forge 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/forge/thread/fabde5513b/?limit=25#f11c" rel="alternate"/><published>2022-05-04T19:33:30.532000Z</published><updated>2022-05-04T19:33:30.532000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/forge/thread/fabde5513b/?limit=25#f11c</id><summary type="html">Only for test purpose i put a reuturn in NCryptFreeObject after call, this bring in a memory leak, but now installer work, packages are installed, signatures working. So NCRYPT_PERSIST_ONLY_FLAG probability could be managed in a key property avoiding free when this property is set. In 3.5.18 Codesys Installer is needed, so dll should compiled also in 32bit, due this program is released only in 32bit. A side comment out off topic... This massive usage of .net and C# is making development system a...</summary></entry><entry><title>mondinmr posted a comment on discussion Forge 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/forge/thread/fabde5513b/?limit=25#f11c" rel="alternate"/><published>2022-05-04T19:29:43.589000Z</published><updated>2022-05-04T19:29:43.589000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/forge/thread/fabde5513b/?limit=25#f11c</id><summary type="html">Only for test purpose i put a reuturn in NCryptFreeObject after call, this bring in a memory leak, but now installer work, packages are installed, signatures working. So NCRYPT_PERSIST_ONLY_FLAG probability could be managed in a key property avoiding free. In 3.5.18 Codesys Installer is needed, so dll should compiled also in 32bit, due this program is released only in 32bit. A side comment out off topic... This massive usage of .net and C# is making development system a little bit too heavy.</summary></entry><entry><title>mondinmr modified a comment on discussion Forge 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/forge/thread/fabde5513b/?limit=25#163c" rel="alternate"/><published>2022-05-04T09:49:34.609000Z</published><updated>2022-05-04T09:49:34.609000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/forge/thread/fabde5513b/?limit=25#163c</id><summary type="html">Ok! I patched ncrypt.dll! Now signatures are verified!!!!!!! Now more tests are needed! In attachment there are modified files! Now missing of 0x4000000 FLAG managment (i'm not sure), bring randomly to this: 04b4:err:eventlog:ReportEventW L"Application: CODESYS.exe\nFramework Version: v4.0.30319\nDescription: The process was terminated due to an unhandled exception.\nException Info: System.AccessViolationException\n at Microsoft.Win32.SafeHandles.SafeNCryptProviderHandle.NCryptFreeObject(IntPtr)\n...</summary></entry><entry><title>mondinmr posted a comment on discussion Forge 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/forge/thread/fabde5513b/?limit=25#163c" rel="alternate"/><published>2022-05-04T08:17:32.003000Z</published><updated>2022-05-04T08:17:32.003000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/forge/thread/fabde5513b/?limit=25#163c</id><summary type="html">Ok! I patched ncrypt.dll! Now signatures are verified!!!!!!! Now more tests are needed! In attachment there are modified files!</summary></entry><entry><title>mondinmr modified a comment on discussion Forge 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/forge/thread/fabde5513b/?limit=25#0190/576e/f17f/e8b3/21c9" rel="alternate"/><published>2022-05-04T06:22:05.623000Z</published><updated>2022-05-04T06:22:05.623000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/forge/thread/fabde5513b/?limit=25#0190/576e/f17f/e8b3/21c9</id><summary type="html">Hi Ingo! I downloaded install2.sh to see what you are doing. I used 3.5.18 64bits, due a wine transition to 64bits in 7.0. They introduced syswow64 for 32bis compatibility and they started to suggest 64bits usage. 3.5.18 is in zip and not exe file. I extracted msi. I used winetricks to install dotnet472, arial, corefonts, vcrun2019. Aftrer that I dowloaded Edge runtime 2 64 from microsoft, due the one present in prerequisites of 3.5.18 not working. A very important step, for me is call winecfg, select...</summary></entry><entry><title>mondinmr modified a comment on discussion Forge 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/forge/thread/fabde5513b/?limit=25#0190/576e/f17f/e8b3/21c9" rel="alternate"/><published>2022-05-04T06:18:03.631000Z</published><updated>2022-05-04T06:18:03.631000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/forge/thread/fabde5513b/?limit=25#0190/576e/f17f/e8b3/21c9</id><summary type="html">Hi Ingo! I downloaded install2.sh to see what you are doing. I used 3.5.18 64bits, due a wine transition to 64bits in 7.0. They introduced syswow64 for 32bis compatibility and they started to suggest 64bits usage. 3.5.18 is in zip and not exe file. I extracted msi. I used winetricks to install dotnet472, aria, corrfonts, vcrun2019. Aftrer that I dowloaded Edge runtime 2 64 from microsoft, due the one present in prerequisites of 3.5.18 not working. A very important step, for me is call winecfg, select...</summary></entry><entry><title>mondinmr modified a comment on discussion Forge 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/forge/thread/fabde5513b/?limit=25#0190/576e/f17f/e8b3/21c9" rel="alternate"/><published>2022-05-04T05:51:43.119000Z</published><updated>2022-05-04T05:51:43.119000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/forge/thread/fabde5513b/?limit=25#0190/576e/f17f/e8b3/21c9</id><summary type="html">Hi Ingo! I downloaded install2.sh to see what are you doing. Used 3.5.18 64bits, due a wine transition to 64bits in 7.0. They introduced syswow64 for 32bis compatibility and started to suggest 64bits usage. 3.5.18 is in zip and not exe file. I extracted msi. I used winetricks to install dotnet472, aria, corrfonts, vcrun2019. Aftrer that I dowloaded Edge runtime 2 64 from microsoft, due the one present in prerequisites of 3.5.18 not working. A very important step, for me is call winecfg, select windows10,...</summary></entry><entry><title>mondinmr posted a comment on discussion Forge 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/forge/thread/fabde5513b/?limit=25#0190/576e/f17f/e8b3/21c9" rel="alternate"/><published>2022-05-04T05:51:08.251000Z</published><updated>2022-05-04T05:51:08.251000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/forge/thread/fabde5513b/?limit=25#0190/576e/f17f/e8b3/21c9</id><summary type="html">I downloaded install2.sh to see what are you doing. Used 3.5.18 64bits, due a wine transition to 64bits in 7.0. They introduced syswow64 for 32bis compatibility and started to suggest 64bits usage. 3.5.18 is in zip and not exe file. I extracted msi. I used winetricks to install dotnet472, aria, corrfonts, vcrun2019. Aftrer that I dowloaded Edge runtime 2 64 from microsoft, due the one present in prerequisites of 3.5.18 not working. A very important step, for me is call winecfg, select windows10,...</summary></entry><entry><title>mondinmr posted a comment on discussion Forge 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/forge/thread/fabde5513b/?limit=25#0190/576e/f17f" rel="alternate"/><published>2022-05-03T19:26:37.220000Z</published><updated>2022-05-03T19:26:37.220000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/forge/thread/fabde5513b/?limit=25#0190/576e/f17f</id><summary type="html">Just tested! Function is called. I only build this single DLL. Some difference on message above: - I configured with -prefix=/opt/wine-devel - I used make install, but install copied in /opt/wine- devel/lib/... and not in /opt/wine-devel/lib64/... so I copied DLL from lib to lib64. - I also modified spec file to declare new funcion, marked as STUB. Function is called by wine, BCryptExportKey is implemented in WINE, but I translated something in a wrong way and this result in an exception in NCryptFreeObject....</summary></entry><entry><title>mondinmr posted a comment on discussion Forge 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/forge/thread/fabde5513b/?limit=25#0190/576e" rel="alternate"/><published>2022-05-03T14:57:44.938000Z</published><updated>2022-05-03T14:57:44.938000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/forge/thread/fabde5513b/?limit=25#0190/576e</id><summary type="html">Ok! Let's go! 1 - I installed WINE Development 7.7 from repository. 2 - I downloaded 7.7 development source code. 3 - Go in 7.7 source: $ cd src/wine-7.7/ $ configure --enable-win64 $ cd dlls/ncrypt 4 - Edit main.c adding this just before SECURITY_STATUS WINAPI NCryptImportKey SECURITY_STATUS WINAPI NCryptExportKey(NCRYPT_KEY_HANDLE handle, NCRYPT_KEY_HANDLE decrypt_key, const WCHAR *type, NCryptBufferDesc *params, BYTE *data, DWORD datasize, DWORD *pcbResult, DWORD flags) { struct object *object...</summary></entry><entry><title>mondinmr modified a comment on discussion Forge 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/forge/thread/fabde5513b/?limit=25#0190/8e4d/3f5b" rel="alternate"/><published>2022-04-30T16:17:19.545000Z</published><updated>2022-04-30T16:17:19.545000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/forge/thread/fabde5513b/?limit=25#0190/8e4d/3f5b</id><summary type="html">My test was made in 7.7 Staging... So... ncrypt is partially implemented, but it's missing CODESYS required API calls.</summary></entry><entry><title>mondinmr posted a comment on discussion Forge 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/forge/thread/fabde5513b/?limit=25#0190/8e4d/3f5b" rel="alternate"/><published>2022-04-30T16:16:18.391000Z</published><updated>2022-04-30T16:16:18.391000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/forge/thread/fabde5513b/?limit=25#0190/8e4d/3f5b</id><summary type="html">My test was made in 7.7 Staging... So...</summary></entry><entry><title>mondinmr posted a comment on discussion Forge 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/forge/thread/fabde5513b/?limit=25#0190" rel="alternate"/><published>2022-04-30T13:42:25.813000Z</published><updated>2022-04-30T13:42:25.813000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/forge/thread/fabde5513b/?limit=25#0190</id><summary type="html">Put all locales to en_US.UTF8, let me install and run CODESYS 3.5.18 in wine. You can see attached image! The problem remain in ncrypt. 047c:fixme:ncrypt:NCryptOpenStorageProvider (000000005F38E318, L"Microsoft Software Key Storage Provider", 0): stub 047c:fixme:ncrypt:NCryptSetProperty flags 0x40000000 not supported This make impossible verify any signature. So is not possible do anything else editing code. Not very useful!</summary></entry><entry><title>mondinmr modified a comment on discussion Forge 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/forge/thread/fabde5513b/?limit=25#feae" rel="alternate"/><published>2022-04-28T07:32:03.666000Z</published><updated>2022-04-28T07:32:03.666000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/forge/thread/fabde5513b/?limit=25#feae</id><summary type="html">I just tried CODESYS 3.5.18 64 bit. WINEARCH=win64 WINEPREFIX=/home/&lt;myuser&gt;/.wine.codesys wine winecfg (Select Windows 10 as version) winetricks -q dotnet48 (Popup require 4.6.2, but 4.8 is realy required) winetricks --force -q vcrun2019 (2015-2019 in single package) wine CODESYS\ 64\ 3.5.18.0.msi (Extracted from ZIP download) -Deselected gateway due a linux gateway exists; -Deselected runtime due linux runtime exists; Installer work until IPMCLI.exe IPMCLI.exe fail in .net Culture Expetion: 0670:err:eventlog:ReportEventW...</summary></entry><entry><title>mondinmr modified a comment on discussion Forge 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/forge/thread/fabde5513b/?limit=25#feae" rel="alternate"/><published>2022-04-28T07:31:00.113000Z</published><updated>2022-04-28T07:31:00.113000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/forge/thread/fabde5513b/?limit=25#feae</id><summary type="html">I just tried CODESYS 3.5.18 64 bit. WINEARCH=win64 WINEPREFIX=/home/&lt;myuser&gt;/.wine.codesys wine winecfg (Select Windows 10 as version) winetricks -q dotnet48 (Popup require 4.6.2, but 4.8 is realy required) winetricks --force -q vcrun2019 (2015-2019 in single package) wine CODESYS\ 64\ 3.5.18.0.msi (Extracted from ZIP download) -Deselected gateway due a linux gateway exists; -Deselecting runtime due linux runtime exists; Installer work until IPMCLI.exe IPMCLI.exe fail in .net Culture Expetion: 0670:err:eventlog:ReportEventW...</summary></entry><entry><title>mondinmr posted a comment on discussion Forge 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/forge/thread/fabde5513b/?limit=25#feae" rel="alternate"/><published>2022-04-28T07:30:17.310000Z</published><updated>2022-04-28T07:30:17.310000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/forge/thread/fabde5513b/?limit=25#feae</id><summary type="html">I just tried CODESYS 3.5.18 64 bit. WINEARCH=win64 WINEPREFIX=/home/&lt;myuser&gt;/.wine.codesys wine winecfg (Select Windows 10 as version) winetricks -q dotnet48 (Popup require 4.6.2, but 4.8 is realy required) winetricks --force -q vcrun2019 (2015-2019 in single package) wine CODESYS\ 64\ 3.5.18.0.msi (Extracted from ZIP download) -Deselected gateway due a linux gateway exists; -Deselecting runtime due linux runtime exists; Installer work until IPMCLI.exe IPMCLI.exe fail il .net Culture Expetion: 0670:err:eventlog:ReportEventW...</summary></entry><entry><title>mondinmr modified a comment on discussion Runtime 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/b743acd533/?limit=25#ab9d/1403/6e92" rel="alternate"/><published>2022-04-19T11:47:44.710000Z</published><updated>2022-04-19T11:47:44.710000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Runtime/thread/b743acd533/?limit=25#ab9d/1403/6e92</id><summary type="html">I searched again! RPI 2 is supported in debian with linux-image-rt-armmp in 32 bits arch RPI 3 I cannot find info RPI 4 apparently only in 64 bits linux-image-rt-arm64 (Tested by me in debian daily build) and CODESYS for arm at 64 bits</summary></entry><entry><title>mondinmr posted a comment on discussion Runtime 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/b743acd533/?limit=25#ab9d/1403/6e92" rel="alternate"/><published>2022-04-19T11:47:21.435000Z</published><updated>2022-04-19T11:47:21.435000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Runtime/thread/b743acd533/?limit=25#ab9d/1403/6e92</id><summary type="html">I searched again! RPI 2 is supported in debian with linux-image-rt-armmp in 32 bits arch RPI 3 i cannot find info RPI 4 apparently only in 64 bits linux-image-rt-arm64 (Tested by me in debian daily build) and CODESYS for arm at 64 bits</summary></entry><entry><title>mondinmr posted a comment on discussion Runtime 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/b743acd533/?limit=25#a64b" rel="alternate"/><published>2022-04-19T10:26:52.092000Z</published><updated>2022-04-19T10:26:52.092000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Runtime/thread/b743acd533/?limit=25#a64b</id><summary type="html">I just mounted a PI2 image: $ unxz 20220121_raspi_2_bullseye.img.xz $ sudo losetup -Pf 20220121_raspi_2_bullseye.img $ sudo mount /dev/loop24p2 /mnt $ cd /mnt/etc/apt $ cat sources.list deb http://deb.debian.org/debian bullseye main contrib non-free deb http://security.debian.org/debian-security bullseye-security main contrib non-free # Backports are _not_ enabled by default. # Enable them by uncommenting the following line: # deb http://deb.debian.org/debian bullseye-backports main contrib non-free...</summary></entry><entry><title>mondinmr posted a comment on discussion Runtime 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/b743acd533/?limit=25#ab9d" rel="alternate"/><published>2022-04-18T17:34:04.782000Z</published><updated>2022-04-18T17:34:04.782000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Runtime/thread/b743acd533/?limit=25#ab9d</id><summary type="html">https://wiki.debian.org/RaspberryPi4</summary></entry><entry><title>mondinmr posted a comment on discussion Runtime 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/b743acd533/?limit=25#64d6" rel="alternate"/><published>2022-04-18T17:24:33.870000Z</published><updated>2022-04-18T17:24:33.870000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Runtime/thread/b743acd533/?limit=25#64d6</id><summary type="html">You could use Debian image. In Debian repo you can find RT PREEMPT precompiled path. Tuning kernel cmdline using CPU pinning and using a fixed pinning on codesys task make possible a jitter &lt;30us on a PI4.</summary></entry><entry><title>mondinmr posted a comment on discussion Motion 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/21257440a1/?limit=25#70c1" rel="alternate"/><published>2022-04-06T16:48:58.494000Z</published><updated>2022-04-06T16:48:58.494000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Motion/thread/21257440a1/?limit=25#70c1</id><summary type="html">The problem is also in positive direction! 1 - We setted limits with SMC_SetSoftwareLimits after homing is done. 2 - FB return bDone and no errors. 3 - We see in Watch limits are right! 4 - We move in MC_MoveAbsolute to SWLimit. 5 - We fall in SMC_DI_SWLIMITS_EXCEEDED many mm before limit!!!</summary></entry><entry><title>mondinmr posted a comment on discussion Motion 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/21257440a1/?limit=25#7017" rel="alternate"/><published>2022-04-06T10:30:47.196000Z</published><updated>2022-04-06T10:30:47.196000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Motion/thread/21257440a1/?limit=25#7017</id><summary type="html">Sorry all axes have this problem. SoftMotion is V4.6.10</summary></entry><entry><title>mondinmr posted a comment on discussion Motion 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/21257440a1/?limit=25#8b26" rel="alternate"/><published>2022-04-05T15:21:20.762000Z</published><updated>2022-04-05T15:21:20.762000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Motion/thread/21257440a1/?limit=25#8b26</id><summary type="html">It is usually not our habit to use softmotion and PLCOpen, due our motion implementation. However, a customer asked us for an application with these tools. We came across a strange behavior of the SMC_SetSoftwareLimist FB. In 5 out of 6 instances of our axis it works, in one looking at the set parameters in the watch everything seems ok, positive limit at 1760 and negative limit at -415.5. However when we reach -375.5 we fall into negative limit error. The very strange thing is that all the other...</summary></entry><entry><title>mondinmr posted a comment on discussion Runtime 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/cd00f6c317/?limit=25#37c5" rel="alternate"/><published>2022-04-04T06:21:31.708000Z</published><updated>2022-04-04T06:21:31.708000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Runtime/thread/cd00f6c317/?limit=25#37c5</id><summary type="html">I tested but it's not working. Also hot enable/disable a slave is not possible. Disable a slave in editor move all adderessing space of next device back so it's not possible hot reenable it.</summary></entry><entry><title>mondinmr posted a comment on discussion Runtime 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/cd00f6c317/?limit=25#2905" rel="alternate"/><published>2022-03-31T18:11:37.677000Z</published><updated>2022-03-31T18:11:37.677000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Runtime/thread/cd00f6c317/?limit=25#2905</id><summary type="html">Is it possible keep multiple master configured in different mode (multiple slave configurations) and turn on only one at application boot? I'm developing a new application, on POU side OOP and polymorphism let me create a runtime configurable modular software, but on device side is hard to find a solution. Mapping on a structure field objects of a slave and use references in software is very useful, but a good solution should be dispose 20-30 master configuration in different hardware to select right...</summary></entry><entry><title>mondinmr modified a comment on discussion Runtime 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/dd3a2052c9/?limit=25#90fb" rel="alternate"/><published>2022-03-04T14:54:39.336000Z</published><updated>2022-03-04T14:54:39.336000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Runtime/thread/dd3a2052c9/?limit=25#90fb</id><summary type="html">Raspberry PI4, debian 64bit, Kernel RT stock from debian repo. Runtime SL ARM64. A little tuning in kernel parameters and CPU pinning. Jitter &lt;= 52µs with ethercat on native adapter. I think that on ARM remain a big margin of improvement, 6-7µs should be possible.</summary></entry><entry><title>mondinmr modified a comment on discussion Runtime 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/dd3a2052c9/?limit=25#90fb" rel="alternate"/><published>2022-03-04T14:53:39.414000Z</published><updated>2022-03-04T14:53:39.414000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Runtime/thread/dd3a2052c9/?limit=25#90fb</id><summary type="html">Raspberry PI4, debian 64bit, Kernel RT stock from debian repo. Runtime SL ARM64. A little tuning in kernel parameters and CPU pinning. Jitter &lt;= 52µs with ethercat on native adapter. I think that on ARM remain a big margin of improvement.</summary></entry><entry><title>mondinmr posted a comment on discussion Runtime 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/dd3a2052c9/?limit=25#90fb" rel="alternate"/><published>2022-03-04T14:51:54.283000Z</published><updated>2022-03-04T14:51:54.283000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Runtime/thread/dd3a2052c9/?limit=25#90fb</id><summary type="html">Raspberry PI4, debian 64bit, Kernel RT stock from debian repo. Runtime SL ARM64. A little tuning in kernel parameters and CPU pinning. Jitter &lt;= 52µs with ethercat on native adapter.</summary></entry><entry><title>mondinmr posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/d119bc4fc0/?limit=25#c502/2bc7" rel="alternate"/><published>2022-03-04T10:19:13.112000Z</published><updated>2022-03-04T10:19:13.112000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/d119bc4fc0/?limit=25#c502/2bc7</id><summary type="html">It's only an Example! You can extract the code you need. Included parts are only to integrate shm in our framework. Look at private methods. You can take that methods and modify a little bit.</summary></entry><entry><title>mondinmr posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/d119bc4fc0/?limit=25#d288" rel="alternate"/><published>2022-03-04T09:54:42.713000Z</published><updated>2022-03-04T09:54:42.713000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/d119bc4fc0/?limit=25#d288</id><summary type="html">Shared memory is a right way, but... In Windows RTE you can use QSharedMemory, you must run application as administrator and use only GLOBAL shared memory. Shared memory should instantiated by OS application and not from CODESYS due visibility problems. In Windows not RTE you can use local memory, you can run app as same user of runtime. Shared memory should instantiated by OS application and not from CODESYS due visibility problems. In Linux QSharedMemory has some problem with codesys, you can run...</summary></entry><entry><title>mondinmr modified a comment on discussion Runtime 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/a821a56d89/?limit=25#676c" rel="alternate"/><published>2022-03-04T09:46:09.445000Z</published><updated>2022-03-04T09:46:09.445000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Runtime/thread/a821a56d89/?limit=25#676c</id><summary type="html">You could try a run condesys in chroot enviorement. If you add 32bit arch to 64bit OS. 1- dpkg --add-architecture armhf 2- Install minimal required 32bit libs, copy in /opt/codesys/lib/ 3- Copy sh and required 32bit libs in /opt/codesys/bin and lib 4- "mount -o bind ..." /dev /sys /proc /dev/shm to empty folders in /opt/codesys 5- copy /etc codesys files in /opt/codesys/etc 6- copy /var/opt/codesys in /opt/codesys/var/opt/codesys 7- use ldd to check all required libs. 8- chroot /opt/codesys 9- follow...</summary></entry><entry><title>mondinmr posted a comment on discussion Runtime 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/a821a56d89/?limit=25#676c" rel="alternate"/><published>2022-03-04T09:45:38.770000Z</published><updated>2022-03-04T09:45:38.770000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Runtime/thread/a821a56d89/?limit=25#676c</id><summary type="html">You could try a run condesys in chroot enviorement. If you add 32bit arch to 64bit OS. 1- dpkg --add-architecture armhf 2- Install minimal required 32bit libs, copy in /opt/codesys/lib/ 3- Copy sh and required 32bit libs in /opt/codesys/bin and lib 4- "mount -o bind ..." /dev /sys /proc /dev/shm to emty folders in /opt/codesys 5- copy /etc codesys files in /opt/codesys/etc 6- copy /var/opt/codesys in /opt/codesys/var/opt/codesys 7- use ldd to check all required libs. 8- chroot /opt/codesys 9- follow...</summary></entry><entry><title>mondinmr modified a comment on discussion Motion 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/b29ad3c29a/?limit=25#29b6" rel="alternate"/><published>2022-01-23T10:00:24.665000Z</published><updated>2022-01-23T10:00:24.665000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Motion/thread/b29ad3c29a/?limit=25#29b6</id><summary type="html">https://youtu.be/CVHdLKlwfBM This is a lathe blending machine. In video working in 2 axes, but it as 4 axes and 2 separated turrets. We installed this software in many production machines, only one source code make all machine in different configuration workning. Devices are different brands. Same machine work with 2 axes, some other 4 and some other 5. Source code is the same and only one project in all machines. Axes are not at pi/2 radiants, but variable angles. We can use gCode and recording...</summary></entry><entry><title>mondinmr modified a comment on discussion Motion 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/b29ad3c29a/?limit=25#29b6" rel="alternate"/><published>2022-01-22T13:25:54.744000Z</published><updated>2022-01-22T13:25:54.744000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Motion/thread/b29ad3c29a/?limit=25#29b6</id><summary type="html">https://youtu.be/CVHdLKlwfBM This is a lathe blending machine. In video working in 2 axes, but it as 4 axes and 2 separated turrets. We installed this software in many production machines, only one source code make all machine in different configuration workning. Devices are different brands. Same machine work whit 2 axes, some other 4 and some other 5. Source code is the same and only one project in all machines. Axes are not at pi/2 radiant, but variable angles. We can use gCode and recording track...</summary></entry></feed>