<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Activity for voffi</title><link href="https://forge.codesys.com/u/voffi/activity/" rel="alternate"/><id>https://forge.codesys.com/u/voffi/activity/</id><updated>2025-09-05T10:26:24.081000Z</updated><subtitle>Recent activity for voffi</subtitle><entry><title>voffi modified a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/acab1cef51/?limit=25#c9b2" rel="alternate"/><published>2025-09-05T10:26:24.081000Z</published><updated>2025-09-05T10:26:24.081000Z</updated><author><name>voffi</name><uri>https://forge.codesys.com/u/voffi/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/acab1cef51/?limit=25#c9b2</id><summary type="html">Hello! Opening a project from a python script given at the CODESYS command line does not work for me with a file based storage project. Example: Running projects.open("test.project", primary = True) works but converting the project to a file based storage project and then give the folder name as an argument to project.open Running projects.open("test.fbsproj", primary = True) does not work. We decided to work with file based storage for the project. Is there a scripting API for file-based storage...</summary></entry><entry><title>voffi posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/acab1cef51/?limit=25#c9b2" rel="alternate"/><published>2025-09-05T10:24:52.696000Z</published><updated>2025-09-05T10:24:52.696000Z</updated><author><name>voffi</name><uri>https://forge.codesys.com/u/voffi/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/acab1cef51/?limit=25#c9b2</id><summary type="html">Hello! Opening a project from a python script given at the CODESYS command line does not work for me with a file based storage project. Example: Running projects.open("test.project", primary = True) works but converting the project to a file based storage project and then give the folder name as an argument to project.open Running projects.open("test.fbsproj", primary = True) does not work. We decided to work with file based storage for the project. Is there a scripting API for file-based storage...</summary></entry><entry><title>voffi posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/67e09a31d5/?limit=25#5c69" rel="alternate"/><published>2023-12-14T06:37:58.386000Z</published><updated>2023-12-14T06:37:58.386000Z</updated><author><name>voffi</name><uri>https://forge.codesys.com/u/voffi/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/67e09a31d5/?limit=25#5c69</id><summary type="html">A task in CODESYS normally is a task of the underlying operating system. If your os is preemptive and the sheduler is configured accordingly a CODESYS task will be preemptive too.</summary></entry><entry><title>voffi posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/aac58c39d1/?limit=25#21d5" rel="alternate"/><published>2023-12-12T10:37:32.642000Z</published><updated>2023-12-12T10:37:32.642000Z</updated><author><name>voffi</name><uri>https://forge.codesys.com/u/voffi/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/aac58c39d1/?limit=25#21d5</id><summary type="html">Export excel file into csv format and then read into CODESYS.</summary></entry><entry><title>voffi posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/80d3199b6a/?limit=25#3b76" rel="alternate"/><published>2023-12-12T10:34:56.501000Z</published><updated>2023-12-12T10:34:56.501000Z</updated><author><name>voffi</name><uri>https://forge.codesys.com/u/voffi/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/80d3199b6a/?limit=25#3b76</id><summary type="html">Hello! One can create a symbol config entry in CODESYS by using create_symbol_config in a python script. Is there a way to create the xml symbol config file (!) from within a python script without going online? Thank you!</summary></entry><entry><title>voffi modified a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/336b396136/?limit=25#cf70" rel="alternate"/><published>2023-12-07T20:28:23.465000Z</published><updated>2023-12-07T20:28:23.465000Z</updated><author><name>voffi</name><uri>https://forge.codesys.com/u/voffi/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/336b396136/?limit=25#cf70</id><summary type="html">There are some ways. One is to use SHR and SHL and it depends on your byte order in the data array. For Motorola byte order: PROGRAM PLC_PRG VAR u : UINT; byte_array_in : ARRAY [1..8] OF BYTE := [16#11, 16#12, 16#13, 16#14, 16#15, 16#16, 16#17]; byte_array_out : ARRAY [1..8] OF BYTE; END_VAR u := SHL(TO_UINT(byte_array_in[2]), 8) + TO_UINT(byte_array_in[1]); byte_array_out[1] := TO_BYTE(u); byte_array_out[2] := TO_BYTE(SHR(u, 8)); If it's Intel byte order just change 1 and 2 in the array indexes...</summary></entry><entry><title>voffi posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/336b396136/?limit=25#cf70" rel="alternate"/><published>2023-12-07T20:27:33.678000Z</published><updated>2023-12-07T20:27:33.678000Z</updated><author><name>voffi</name><uri>https://forge.codesys.com/u/voffi/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/336b396136/?limit=25#cf70</id><summary type="html">There are some ways. One is to use SHR and SHL and it depends on your byte order in the data array. . For Motorola byte order: PROGRAM PLC_PRG VAR u : UINT; byte_array_in : ARRAY [1..8] OF BYTE := [16#11, 16#12, 16#13, 16#14, 16#15, 16#16, 16#17]; byte_array_out : ARRAY [1..8] OF BYTE; END_VAR u := SHL(TO_UINT(byte_array_in[2]), 8) + TO_UINT(byte_array_in[1]); byte_array_out[1] := TO_BYTE(u); byte_array_out[2] := TO_BYTE(SHR(u, 8)); If it's Intel byte order just change 1 and 2 in the array index...</summary></entry><entry><title>voffi modified a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/207dd158ac/?limit=25#f292" rel="alternate"/><published>2023-12-07T09:59:30.015000Z</published><updated>2023-12-07T09:59:30.015000Z</updated><author><name>voffi</name><uri>https://forge.codesys.com/u/voffi/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/207dd158ac/?limit=25#f292</id><summary type="html">Using &lt; br &gt; did it for me in CODESYS 3.5.19 // 2023-12-05 Line 1&lt;br&gt; // 2023-12-06 Line 2&lt;br&gt; shows up in Library Manager with line breaks.</summary></entry><entry><title>voffi posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/207dd158ac/?limit=25#f292" rel="alternate"/><published>2023-12-07T09:59:03.526000Z</published><updated>2023-12-07T09:59:03.526000Z</updated><author><name>voffi</name><uri>https://forge.codesys.com/u/voffi/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/207dd158ac/?limit=25#f292</id><summary type="html">Using did it for me in CODESYS 3.5.19 // 2023-12-05 Line 1&lt;br&gt; // 2023-12-06 Line 2&lt;br&gt; shows up in Library Manager with line breaks.</summary></entry><entry><title>voffi modified a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/86e6daaea4/?limit=25#11ab" rel="alternate"/><published>2023-12-07T08:47:54.583000Z</published><updated>2023-12-07T08:47:54.583000Z</updated><author><name>voffi</name><uri>https://forge.codesys.com/u/voffi/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/86e6daaea4/?limit=25#11ab</id><summary type="html">Good morning! Is there a way to run a python script or something else automatically after CODESYS (3.5) did its build or before download? I am searching for something like the Custom Build steps in Visual Studio. Thank you! Voffi</summary></entry><entry><title>voffi posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/86e6daaea4/?limit=25#11ab" rel="alternate"/><published>2023-12-07T08:44:58.843000Z</published><updated>2023-12-07T08:44:58.843000Z</updated><author><name>voffi</name><uri>https://forge.codesys.com/u/voffi/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/86e6daaea4/?limit=25#11ab</id><summary type="html">Good morning! Is there a way to run a python script or something else automatically after CODESYS did its build or before download? I am searching for something like the Custom Build steps in Visual Studio. Thank you! Voffi</summary></entry></feed>