Function Blocks and arrays of function blocks
    
    
       CODESYS Forge
    
    
      talk
    
    (Thread)
    
    
      Function Blocks and arrays of function blocks
    
    Last updated: 2024-02-15
    
    
      
        Post by fredsta on Unable to load dynamic modules (Download failed: Application=Application)
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Hey there, I am currently trying to find a good solution for the communication between CODESYS Control on Raspberry Pi and "the rest of the world", i. e. the things apart from CODESYS on my linux. My first approach was to use the c-integration. So I created a lib, defined extern fbs, compiled the code on my Pi using the SDK and put the .so into my lib project. When I try to log into the Pi and load the program, I get the error message which you can see in the attached picture. "Die dynamischen Module der C-Integration konnten nicht auf das Laufzeitsystem geladen werden" is german and means roughly "the modules from the c-integration could not be loaded onto the runtime system." Is this normal? Am I doing something wrong? I will have a look at the unix domain socket thing next, as I am still in the process of finding the best solution for the communication.
    
    Last updated: 2024-02-15
    
    
      
        Post by aconley on Static Code Analysis
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      I'm using CODESYS 3.5 SP16 Patch 6. I would like to incorporate static code analysis as part of our CI/CD pipeline. 1. Is there a way to execute the static code check from the command line or python script? 2. If you can't do it from the command line, is there a way to export the results from the application?
    
    Last updated: 2024-02-15
    
    
      
        [ERROR]         The PLCopenXML import is not possible because Device not found. Type: 89, Id: 0000 0005, Version: 3.5.10.0
    
    
       CODESYS Forge
    
    
      talk
    
    (Thread)
    
    
      [ERROR] The PLCopenXML import is not possible because Device not found. Type: 89, Id: 0000 0005, Version: 3.5.10.0
    
    Last updated: 2024-02-15
    
    
      
        Post by marlutec on [ERROR]         The PLCopenXML import is not possible because Device not found. Type: 89, Id: 0000 0005, Version: 3.5.10.0
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Hello every one. Now i'm instaling a Weintek cMT2108x2(v2) with IR-ETN40R. When I start to import the archive content the code of I/O remote IR-ETN40R, ocurred this error. [ERROR] The PLCopenXML import is not possible because Device not found. Type: 89, Id: 0000 0005, Version: 3.5.10.0 Can someone help me? Marcos Gentil, from Brazil.
    
    Last updated: 2024-02-15
    
    
      
        Post by kislov on Codesys Input Detector
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      https://content.helpme-codesys.com/en/libs/VisuElemBase/Current/Public-Parts/Interfaces/IMouseEventHandler.html https://content.helpme-codesys.com/en/CODESYS%20Examples/_ex_visu_event_handler.html
    
    Last updated: 2024-02-16
    
    
      
        Codesys Input Detector
    
    
       CODESYS Forge
    
    
      talk
    
    (Thread)
    
    
      Codesys Input Detector
    
    Last updated: 2024-02-16
    
    
      
        Post by gurkan on OPCUA array max length?
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      We are using codesys 3.5.16.30 and we have a array with strings of length 5000. We are having issues subscribing to this variable from an OPCUA client. Is there any limit in the OPCUA Server in codesys for how long an array can be on the opcua server?
    
    Last updated: 2024-02-16
    
    
      
        Post by dkugler on Unable to load dynamic modules (Download failed: Application=Application)
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Maybe shared memory is an opinion for you to give it a try: https://content.helpme-codesys.com/en/CODESYS%20Examples/_ex_cds_shared_memory_communication.html
    
    Last updated: 2024-02-16
    
    
      
        Post by durstloescher on Codesys Input Detector
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Perfect, works after a bit Try & Error, Thank you!
    
    Last updated: 2024-02-16
    
    
      
        How to upload application file to remote controller (offline) ?
    
    
       CODESYS Forge
    
    
      talk
    
    (Thread)
    
    
      How to upload application file to remote controller (offline) ?
    
    Last updated: 2024-02-16
    
    
      
        Post by ewi04 on How to upload application file to remote controller (offline) ?
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Thank you very much for your time and replay! Sounds like a good idea. Unfortunately, I have no other option to run the code from the running plc. So, I can’t stop any services. If anyone has the same problem, I've gotten a little closer to understanding it: Sometimes the copied files are empty after the restart. The update code checks if there are any empty files. Before I turn off the device, everything is okay. But after starting, some files are suddenly empty and that cause the problems. I don't know why this happens.
    
    Last updated: 2024-02-16
    
    
      
        Post by dav3 on Exception auf Raspberry, CMCommCycleTask Tainted
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Hello, I don't really know what my problem was, but it's working for me at the moment. All i did was to change my code because of some REAL_TO_INT conversions, like i wrote above. And later a complete new Pi setup (because of 64x support with 4.10.0.0 now).
    
    Last updated: 2024-02-16
    
    
      
        Exception auf Raspberry, CMCommCycleTask Tainted
    
    
       CODESYS Forge
    
    
      talk
    
    (Thread)
    
    
      Exception auf Raspberry, CMCommCycleTask Tainted
    
    Last updated: 2024-02-16
    
    
      
        Post by amy123 on codesys mqtt publish serialization
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Hello, I am using the CODESYS IIoT Libraries SL MQTT Publish. Does this publish block only support publishing STRINGS as a readable format? I can publish ENUM, STRUCT, BOOL; however, MQTT Explorer will only display strings. When I use Wireshark, I can see that it is publishing something, but it looks to be publishing a serialized version which is a bunch of 0s or random text. If so, is there any way to deserialize this information back into a readable format? See pictures, where I have a BOOL TRUE that gets published as 001. Then see where I publish a STRUCT and it's an incomprehensible combination of 0s - only the string variable is displayed. Or, is it expected that you convert everything to a string before publishing? Any help is greatly appreciated! :)
    
    Last updated: 2024-02-16
    
    
      
        Post by richard-wang on Exception auf Raspberry, CMCommCycleTask Tainted
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Hell Everyone Thanks for sharing these information, I currently have the same issue, not knowing how to resolve this. Does anyone have any update and or solution? Thanks much
    
    Last updated: 2024-02-16
    
    
      
        Post by richard-wang on Exception auf Raspberry, CMCommCycleTask Tainted
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Hell Everyone Thanks for sharing these information, I currently have the same issue, not knowing how to resolve this. Does anyone have any update and or solution? Thanks much
    
    Last updated: 2024-02-16
    
    
      
        Post by nano on Dynamic setting of the modbus tcp/ip slave ip address
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      habe a look to this faq, this should work for u https://faq.codesys.com/plugins/servlet/mobile?contentId=24510471#content/view/24510471
    
    Last updated: 2024-02-17
    
    
      
        Post by andrax on Stop Programm geladen Ausnahmefehler
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Hi, ich hatte heute wieder den Ausnahmefehler. Scheint wohl irgend wo in den Visuelements zu sein. Wo soll ich anfangen zu suchen?
    
    Last updated: 2024-02-17
    
    
      
        Dynamic setting of the modbus tcp/ip slave ip address
    
    
       CODESYS Forge
    
    
      talk
    
    (Thread)
    
    
      Dynamic setting of the modbus tcp/ip slave ip address
    
    Last updated: 2024-02-17
    
    
      
        Stop Programm geladen Ausnahmefehler
    
    
       CODESYS Forge
    
    
      talk
    
    (Thread)
    
    
      Stop Programm geladen Ausnahmefehler
    
    Last updated: 2024-02-17
    
    
      
        Post by yann2021 on Errors by Code Generate
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Maybe could the project file help....
    
    Last updated: 2024-02-17
    
    
      
        Post by yann2021 on Errors by Code Generate
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Hello, Nobody can help me...? I'm very embarassed... :-(
    
    Last updated: 2024-02-17
    
    
      
        Post by eschwellinger on Errors by Code Generate
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      In my case it does not happen with your project I have 3.5.19.60
    
    Last updated: 2024-02-17
    
    
      
        Post by paro on OPCUA array max length?
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      I think the amount of data is already relatively high and maybe it has something to do with that? Maybe also the CPU load of your device? an array with string(5000)? and have you tested with how many array elements it still works?
    
    Last updated: 2024-02-17
    
To search for an exact phrase, put it in quotes.  Example: "getting started docs"
To exclude a word or phrase, put a dash in front of it.  Example: docs -help
To search on specific fields, use these field names instead of a general text search.  You can group with AND or OR.