<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Activity for sturmghost</title><link href="https://forge.codesys.com/u/sturmghost/activity/" rel="alternate"/><id>https://forge.codesys.com/u/sturmghost/activity/</id><updated>2024-08-14T17:43:22.694000Z</updated><subtitle>Recent activity for sturmghost</subtitle><entry><title>sturmghost posted a comment on discussion Deutsch 🇩🇪</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/9ab0f77a5f/?limit=25#1376" rel="alternate"/><published>2024-08-14T17:43:22.694000Z</published><updated>2024-08-14T17:43:22.694000Z</updated><author><name>sturmghost</name><uri>https://forge.codesys.com/u/sturmghost/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Deutsch/thread/9ab0f77a5f/?limit=25#1376</id><summary type="html">Ja, schick mal dein Beispiel.</summary></entry><entry><title>sturmghost modified a comment on discussion Visualization 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/5dc08736a4/?limit=25#beee" rel="alternate"/><published>2024-08-12T19:10:12.438000Z</published><updated>2024-08-12T19:10:12.438000Z</updated><author><name>sturmghost</name><uri>https://forge.codesys.com/u/sturmghost/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Visualization/thread/5dc08736a4/?limit=25#beee</id><summary type="html">This is still a huge problem. Does someone know how to update the frame references (not manually for every frame-element...)?</summary></entry><entry><title>sturmghost posted a comment on discussion Visualization 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/5dc08736a4/?limit=25#beee" rel="alternate"/><published>2024-08-12T19:09:47.076000Z</published><updated>2024-08-12T19:09:47.076000Z</updated><author><name>sturmghost</name><uri>https://forge.codesys.com/u/sturmghost/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Visualization/thread/5dc08736a4/?limit=25#beee</id><summary type="html">This is still a huge problem. Does someone know how to update the frame references?</summary></entry><entry><title>sturmghost modified a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/4b663f1a17/?limit=25#008c" rel="alternate"/><published>2024-08-04T21:08:23.514000Z</published><updated>2024-08-04T21:08:23.514000Z</updated><author><name>sturmghost</name><uri>https://forge.codesys.com/u/sturmghost/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/4b663f1a17/?limit=25#008c</id><summary type="html">Im wondering how Codesys is doing the mouse event capturing with their visualization button element? If you add such a button without configuring any input configuration event (like OnMouseDown) or button state variable and then click on the button, the button changes to the visual pressed state and back if you release the button (so they must react to an OnMouseDown event). But how? If I try to mimic this behavior with my custom button visualization element (like a basic rectangle) I need to use...</summary></entry><entry><title>sturmghost posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/4b663f1a17/?limit=25#008c" rel="alternate"/><published>2024-08-04T21:07:19.336000Z</published><updated>2024-08-04T21:07:19.336000Z</updated><author><name>sturmghost</name><uri>https://forge.codesys.com/u/sturmghost/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/4b663f1a17/?limit=25#008c</id><summary type="html">Im wondering how Codesys is doing the mouse event capturing with their visualization button element? If you add such a button without configuring any input configuration event (like OnMouseDown) or button state variable and then click on the button, the button changes to the visual pressed state and back if you release the button (so they must react to an OnMouseDown event). But how? If I try to mimic this behavior with my custom button visualization element (like a basic rectangle) I need to use...</summary></entry><entry><title>sturmghost posted a comment on discussion Visualization 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/eb9ecadf34/?limit=25#bea2/973b/56f7" rel="alternate"/><published>2024-03-03T06:31:28.844000Z</published><updated>2024-03-03T06:31:28.844000Z</updated><author><name>sturmghost</name><uri>https://forge.codesys.com/u/sturmghost/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Visualization/thread/eb9ecadf34/?limit=25#bea2/973b/56f7</id><summary type="html">Not sure what you mean but you can define a visu initialization program and call it once at the visu initialization step. Look in the Visualization Manager there is a possibility to define such a program.</summary></entry><entry><title>sturmghost posted a comment on discussion Visualization 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/2e9b6dd643/?limit=25#8453" rel="alternate"/><published>2024-02-27T19:57:37.096000Z</published><updated>2024-02-27T19:57:37.096000Z</updated><author><name>sturmghost</name><uri>https://forge.codesys.com/u/sturmghost/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Visualization/thread/2e9b6dd643/?limit=25#8453</id><summary type="html">Did you found a solution?</summary></entry><entry><title>sturmghost posted a comment on discussion Visualization 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/eb9ecadf34/?limit=25#bea2" rel="alternate"/><published>2024-01-22T17:15:05.414000Z</published><updated>2024-01-22T17:15:05.414000Z</updated><author><name>sturmghost</name><uri>https://forge.codesys.com/u/sturmghost/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Visualization/thread/eb9ecadf34/?limit=25#bea2</id><summary type="html">I found a way to do it: You can use, for example, the text variable property of any visualization element and call a function in it. Example: Write a test POU as a function (FUN), like MyTestFun which need a boolean Variable as an input value. Now write into the text variable property: MyTestFun(bBooleanValue) Thats it. The function is called at each visu_task cycle.</summary></entry><entry><title>sturmghost modified a comment on discussion Visualization 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/51e4cb5012/?limit=25#9047" rel="alternate"/><published>2024-01-22T17:10:12.377000Z</published><updated>2024-01-22T17:10:12.377000Z</updated><author><name>sturmghost</name><uri>https://forge.codesys.com/u/sturmghost/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Visualization/thread/51e4cb5012/?limit=25#9047</id><summary type="html">I found out that the Codesys simulation mode is not good to measure performance. As soon as I upload the code onto the hardware PLC I can see that my visu-task needs around 60 ms to complete. I'm wondering if there is a possibility to find out which visualization/visualization element takes a lot of computing time? Then I would look for ways to decrease the long computing time.</summary></entry><entry><title>sturmghost posted a comment on discussion Visualization 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/51e4cb5012/?limit=25#9047" rel="alternate"/><published>2024-01-22T17:09:05.465000Z</published><updated>2024-01-22T17:09:05.465000Z</updated><author><name>sturmghost</name><uri>https://forge.codesys.com/u/sturmghost/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Visualization/thread/51e4cb5012/?limit=25#9047</id><summary type="html">I found out that the Codesys simulation mode is not good to measure performance. As soon as I upload the code onto the hardware PLC I can see that my visu-task needs around 60 ms to complete. I'm wondering if there is a possibility to find out which visualization/visualization element takes a lot of computing time?</summary></entry><entry><title>sturmghost posted a comment on discussion Visualization 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/eb9ecadf34/?limit=25#603c" rel="alternate"/><published>2023-10-02T08:24:44.314000Z</published><updated>2023-10-02T08:24:44.314000Z</updated><author><name>sturmghost</name><uri>https://forge.codesys.com/u/sturmghost/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Visualization/thread/eb9ecadf34/?limit=25#603c</id><summary type="html">Im looking for a way to implement ST-code into the visualization element without creating a helper POU or method in my device/application tree. Like visualization properties are evaluated at each VISU_TASK cycle I want to be able to create own ST code which interacts with the visualization interface variables. To be more specific I want to have a property which executes user defined ST-code at each VISU_TASK cycle exactly like its already possible for Input Configuration on various mouse and dialog...</summary></entry><entry><title>sturmghost modified a comment on discussion Visualization 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/f41ffbe557/?limit=25#a32f" rel="alternate"/><published>2023-10-01T14:36:34.532000Z</published><updated>2023-10-01T14:36:34.532000Z</updated><author><name>sturmghost</name><uri>https://forge.codesys.com/u/sturmghost/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Visualization/thread/f41ffbe557/?limit=25#a32f</id><summary type="html">You could work around this problem by implementing some sort of "state machine". Each dialog sets a boolean variable when they are closed so you know which dialog was closed. Then you can react to this accordingly.</summary></entry><entry><title>sturmghost posted a comment on discussion Visualization 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/f41ffbe557/?limit=25#a32f" rel="alternate"/><published>2023-10-01T14:36:11.809000Z</published><updated>2023-10-01T14:36:11.809000Z</updated><author><name>sturmghost</name><uri>https://forge.codesys.com/u/sturmghost/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Visualization/thread/f41ffbe557/?limit=25#a32f</id><summary type="html">You could work around this problem by implementing some sort of "state machine". Each dialog sets a boolean variable so you know which dialog was closed. Then you can react to this accordingly.</summary></entry><entry><title>sturmghost modified a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/0df09d70c0/?limit=25#e4c0" rel="alternate"/><published>2023-10-01T13:26:51.468000Z</published><updated>2023-10-01T13:26:51.468000Z</updated><author><name>sturmghost</name><uri>https://forge.codesys.com/u/sturmghost/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/0df09d70c0/?limit=25#e4c0</id><summary type="html">I'm looking for a smart and short way to implement initialization of visualization variables depending on the visualization input. For an easy example consider a rectangle which rests at XPos := 0 when the input state is false and at XPos := 50 when the input state is true. My visualization variables look like this: VAR_IN_OUT State : BOOL; END_VAR VAR XPos : INT; END_VAR I put this rectangle via a visualization frame element into another visualization and link a frame reference variable with the...</summary></entry><entry><title>sturmghost posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/0df09d70c0/?limit=25#e4c0" rel="alternate"/><published>2023-10-01T13:26:15.333000Z</published><updated>2023-10-01T13:26:15.333000Z</updated><author><name>sturmghost</name><uri>https://forge.codesys.com/u/sturmghost/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/0df09d70c0/?limit=25#e4c0</id><summary type="html">I'm looking for a smart and short way to implement initialization of visualization variables depending on the visualization input. For an easy example consider a rectangle which rests at XPos := 0 when the input state is false and at XPos := 50 when the input stat is true. My visualization variables look like this: VAR_IN_OUT State : BOOL; END_VAR VAR XPos : INT; END_VAR I put this rectangle via a visualization frame element into another visualization and link a frame reference variable with the...</summary></entry><entry><title>sturmghost modified a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/31a9d7c889/?limit=25#81f9" rel="alternate"/><published>2023-04-05T21:22:09.701000Z</published><updated>2023-04-05T21:22:09.701000Z</updated><author><name>sturmghost</name><uri>https://forge.codesys.com/u/sturmghost/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/31a9d7c889/?limit=25#81f9</id><summary type="html">With 5) you mean using the I/O mapping tab and mapping the full path name to a hardware channel/address? Im doing this right now but using the AT command for mapping the full Input or Output module, not just a single channel. So I have an IO Struct, which contains for example Value : Bool Unit : String(80); And another struct for the module, with: Channel : Array[0..13] Of IO_DUT Input At %IW0 : Word; Im instancing the module struct as a Var_in_out in a program. Then I convert the word into single...</summary></entry><entry><title>sturmghost posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/31a9d7c889/?limit=25#81f9" rel="alternate"/><published>2023-04-05T21:18:32.786000Z</published><updated>2023-04-05T21:18:32.786000Z</updated><author><name>sturmghost</name><uri>https://forge.codesys.com/u/sturmghost/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/31a9d7c889/?limit=25#81f9</id><summary type="html">With 5) you mean using the I/O mapping tab and mapping the full path name to a hardware channel/address? Im doing this right now but using the AT command for mapping the full Input or Output module, not just a single channel. So I habe an IO Struct, which contains for example Value : Bool Unit : String(80); And another struct for the module, with: Channel : Array[0..13] Of IO_DUT Input At %IW0 : Word; Im instancing the module struct as a Var_in_out in a program. With that I didn't touched the I/O...</summary></entry><entry><title>sturmghost posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/31a9d7c889/?limit=25#03b2" rel="alternate"/><published>2023-04-05T05:26:01.702000Z</published><updated>2023-04-05T05:26:01.702000Z</updated><author><name>sturmghost</name><uri>https://forge.codesys.com/u/sturmghost/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/31a9d7c889/?limit=25#03b2</id><summary type="html">@h-hermsen Thank you for your detailed answer. I'm fully aware about the full path mapping capabilities but as I read your text I thought you mean a different technique. So 1) is clear to me. 2) Can you show me a short example of this IO struct DUT type? 3) An example would be great. Unfortunately our IDE incorporates Codesys 3.5.16.x, so thats a topic for the next update but is nice to know anyway.</summary></entry><entry><title>sturmghost posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/31a9d7c889/?limit=25#4f93/0b90" rel="alternate"/><published>2023-04-04T16:29:40.670000Z</published><updated>2023-04-04T16:29:40.670000Z</updated><author><name>sturmghost</name><uri>https://forge.codesys.com/u/sturmghost/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/31a9d7c889/?limit=25#4f93/0b90</id><summary type="html">I miss the part where you send out the infromations to the physical I/O where and how this is done?</summary></entry><entry><title>sturmghost posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/31a9d7c889/?limit=25#3a35" rel="alternate"/><published>2023-04-03T20:44:40.275000Z</published><updated>2023-04-03T20:44:40.275000Z</updated><author><name>sturmghost</name><uri>https://forge.codesys.com/u/sturmghost/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/31a9d7c889/?limit=25#3a35</id><summary type="html">Well I don't want to hardcode them. Thats the whole point of my question...</summary></entry><entry><title>sturmghost posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/31a9d7c889/?limit=25#1dc4" rel="alternate"/><published>2023-04-03T18:47:09.414000Z</published><updated>2023-04-03T18:47:09.414000Z</updated><author><name>sturmghost</name><uri>https://forge.codesys.com/u/sturmghost/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/31a9d7c889/?limit=25#1dc4</id><summary type="html">Well, I know how to instantiate a FB. This wasn't my question. I'm questioning a way of mapping my hardware I/O to project variables without violating the "heart" of OOP (hardcode the addressee into the FB).</summary></entry><entry><title>sturmghost posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/31a9d7c889/?limit=25#9830" rel="alternate"/><published>2023-04-03T15:40:58.680000Z</published><updated>2023-04-03T15:40:58.680000Z</updated><author><name>sturmghost</name><uri>https://forge.codesys.com/u/sturmghost/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/31a9d7c889/?limit=25#9830</id><summary type="html">Im trying to find my way to map hardware I/O with object oriented programming (OOP) in mind. I found several approaches and discussions about this topic but all what I found lacks a clear example - or at least an example I understand. :-) Discussions 1: https://forge.codesys.com/forge/talk/Engineering/thread/49f235f440/ 2: https://stackoverflow.com/questions/67434017/best-variable-structure-for-initialization-of-several-motors-in-codesys Codesys OOP talks on YouTube (exzellent talks and information,...</summary></entry></feed>