Post by remlab on WebClient result empty
CODESYS Forge
talk
(Post)
If I try http://192.168.0.250:50543/api/xdevices.json?key=XXX&SetC1=1 it write correctly Why can I write but I can't read the Json ?
Last updated: 2026-03-04
Post by osande on Archive
CODESYS Forge
talk
(Post)
Problem with Visualization Manager and archiving. Project without VM has no problem. With VM in the project there is an error message and no archive has been created
Last updated: 2026-03-10
Post by osande on Trend/trace data
CODESYS Forge
talk
(Post)
Anyone have problems with trend in lastest release - SP21 Patch5? Does not record data, stores only zeros to the sqlite database and flatliners at zero in trend/trace views. Worked in P4.
Last updated: 2026-03-12
Post by bdschnapp on OPC-UA ApplicationUri / ProductUri
CODESYS Forge
talk
(Post)
Were you able to figure out if it is possible to change the Application/Product URI of your server? I am having the same problem.
Last updated: 2026-03-16
Post by amira on Visu 4.9.1 auto-logon/login
CODESYS Forge
talk
(Post)
Hello Julian, could you please check in Chrome Password Manager Settings if the option "Offer to save passwords" is set? With this option selected, a pop-up message will then show up asking whether or not to save the password. Choose OK. Hope this helps.
Last updated: 2026-01-14
Post by reinier-geers on Error ambigiusname
CODESYS Forge
talk
(Post)
In visu i have a Led. I only changed the output. Then i get Ambigius use of name Tpara. But it doesnt show where. See screen shot
Last updated: 2026-01-20
Post by hprog on SP19 Runtime Zugriff auf lokales Dateisystem
CODESYS Forge
talk
(Post)
ich hab da noch eine Frage zu diesem Thema, wenn in [SysFile] PlaceholderFilePath.1=/tmp, $TMP$ z.B /home/pi angegeben wird gilt das dann auch für die darunterliegenden Unterverzeichnisse z.B. /home/pi/MSG oder müssen diese immer separat angegeben werden? und was bedeutet das , $TMP$
Last updated: 2026-01-22
The element of type 'VisuFbElemImage' could not be updated. Reason: Index was outside the bounds of the array.
CODESYS Forge
talk
(Thread)
The element of type 'VisuFbElemImage' could not be updated. Reason: Index was outside the bounds of the array.
Last updated: 2026-01-27
Post by fleaplc on Modbus TCP Server connection is ESTABLISHED but all holding registers are value 0?
CODESYS Forge
talk
(Post)
Did you check the communication with a sniffer ? (ex. Wireshark) to check if the holding get to zero by a wrong writing (client initialization?) o something else?
Last updated: 2026-01-27
Post by chaoschaos on Visualisation generates "Unresolved reference"
CODESYS Forge
talk
(Post)
For the DynamicText error i have finally found a solution. You have to delete some libraries from your project. For me it was the WagoSysIcon library which wanted to reference dynamictexts even though i didn't have any in my project.
Last updated: 2026-02-02
Post by gatto on Two licenses have to be installed forgot to enable one license
CODESYS Forge
talk
(Post)
Hi. What type of PLC do you have? What activation method do you use? What license ticket did you purchase and want to activate? Can you describe the process you followed step by step?
Last updated: 2026-02-02
Post by arpat on Error, visualisation property handling, VISU_USEPROPERTYINFO
CODESYS Forge
talk
(Post)
For me going to Project -> Project Settings -> Visualisation -> check "Visible" and then check both "Activate property handling ..." and "Activate implicit checks ..." solved the problem.
Last updated: 2026-02-03
Post by jslarbaletier on Unable to compare projects containing alarm manager 4.5.0.0
CODESYS Forge
talk
(Post)
Hi! I had the same issue and finally found a solution. Alarm Configuration was located in a “Visualisations” folder. I moved Alarm Configuration directly under “Application”, and the issue was resolved.
Last updated: 2026-02-05
Seeking a Code-Based Solution for EtherCAT Slave Dropout or Master Errors in Production (Beyond Software Hot Reset)
CODESYS Forge
talk
(Thread)
Seeking a Code-Based Solution for EtherCAT Slave Dropout or Master Errors in Production (Beyond Software Hot Reset)
Last updated: 2026-02-14
Post by altin on No source code available for this object
CODESYS Forge
talk
(Post)
Hello, I get same error message but pointing at different library. The error appears when im trying to scroll an AlarmTable on a thouch screen (ifm CR1204). Anyone knows what causing this and how to procceed? Many thanks in advance,
Last updated: 2026-02-16
Post by eschwellinger on Unable to deploy "Control for Linux SL 4.18.0.0"
CODESYS Forge
talk
(Post)
Hi could you check if this really exists in 4.19.0.0 deploy tool? In your case architecture is missing- see my configuration
Last updated: 2026-02-17
Post by kunal-pinetics on USB Communication for IP Configuration & Application Update – STM32H Series PLC
CODESYS Forge
talk
(Post)
Hello everyone, I am currently working on a PLC device based on the STM32H series MCU, running CODESYS. At the moment, I can: Change the Ethernet IP address Update/download the PLC application via Ethernet without any issues. However, I would like to implement the same functionality over USB (or Serial via USB) instead of Ethernet. My goals are: Change the device’s Ethernet IP address via USB Download/update the PLC application via USB communication Possibly use USB as a service/programming interface The hardware platform is based on STM32H series, and I am looking for guidance on: Whether CODESYS supports USB device communication for runtime download If a custom USB CDC (Virtual COM Port) implementation is required Whether a specific CODESYS runtime configuration is needed If a bootloader approach is recommended for application updates via USB If anyone has experience implementing USB communication for runtime download or device configuration on an STM32-based PLC, I would really appreciate your guidance. Thank you in advance for your help.
Last updated: 2026-02-26
Post by akneer on HMI über Webbrowser
CODESYS Forge
talk
(Post)
Beispiel: IF bShutdownPC THEN bShutdownPC := FALSE; // LINUX SysProcess_Implementation.SysProcessExecuteCommand( pszComand:='shutdown -h 0', pResult := ADR(udiError)); // WINDOWS SysProcess_Implementation.SysProcessExecuteCommand( pszComand:='shutdown.exe -s -t 05', pResult := ADR(udiError)); END_IF
Last updated: 2026-03-04
Post by fpawlak on How to register own component - CMAddComponent() or CMAddComponent2()
CODESYS Forge
talk
(Post)
Hi, so really oneone has no idea which way is correct one? Or maybe both are okey if they work for me?
Last updated: 2026-03-13
Post by pernockham on Gateway in China - "Gateway not connected"
CODESYS Forge
talk
(Post)
Finally sorted (unit in China). The problem was related to dns-setting of the gateway/host. Connection (also inside china) tested/works.
Last updated: 2026-03-18
Post by thomasrek31 on Textfield display problem
CODESYS Forge
talk
(Post)
Hello, have you found a solution? It seems I have the same problem as you. I can't remove the overlay, otherwise certain functions stop working.
Last updated: 4 days ago
Post by thomasrek31 on Textfield display problem
CODESYS Forge
talk
(Post)
Hello, have you found a solution? It seems I have the same problem as you. I can't remove the overlay, otherwise certain functions stop working
Last updated: 4 days ago
Post by ulvis on CAA 3.5.16 TLS configuration - certificate
CODESYS Forge
talk
(Post)
Hi, did yo have any luck with this? I am facing the same challenge. Using a WinCTRLx64 but I get AccessViolation error in my CmpTlsCreateContext() call.
Last updated: 4 days ago
Post by lukasz on Unresolved reference when trying to upload to Codesys Runtime V3
CODESYS Forge
talk
(Post)
Hello! I'm working with Codesys SP21 Patch 4. The project builds without any errors. When trying to upload my project to Codesys Runtime V3 x64 I get a lot of Unresolved Reference errors, all with FU- at the start and then -CLOSELAYER2, -GETBUSINFO, -GETFRAME etc. I also get a error pop-up that I should 'update device' in the project but it's not specified to which version or anything useful really.There's also not much to choose from. When I check Runtime version in the systray I get 3.5.21.40 and it's the same as I have set up in the project as the device. All information I get is that it should be clear from the errors but no useful information is provided in the errors. Do I need to install some library? I checked other posts and for different reference error and this was the answer. Thanks in advance!
Last updated: 2 days ago
Post by patrik on Wish: CODESYSControl.cfg - again
CODESYS Forge
talk
(Post)
Really good post. I hope that it gets seen by CoDeSys staff. I often find the documentation lacking when it comes to using CoDeSys in more complex ways. If using standard "basic PLC functionality", then it's fine and functions are documented in a sufficient way. Once you go outside of that bubble then I find the documentation not enough. CODESYSControl.cfg is a good example of this. And why isn't more of this integrated in the IDE. like changing port of the webserver. Why is it hidden in this file and not accessible through the IDE. It feels like a layer of complexity purposely left in so you don't change it if you don't know what you are doing. Like the argument is if you have the know-how to find the file you have the know-how to edit it. I find the documentation lacking when it comes to more complex libraries too. Like the element collections library. there is parameters I still don't quite know what they do. I can't find any documentation about them. There is an example project to download from CoDeSys so you can see how you are supposed to set your factories up. I leave some parameters like it is in the example. Should I? I don't know. Does it work. Yes. But I could perhaps create memory leaks if I get something wrong and I don't see that until way later. In the create method of your element factory you have a function called __vfinit and you just have to accept that it works. Why can't I get insight in what it does through documentation? Don't CoDeSys want us to know how these work so we can't use them to accidentally break something? I find the error logging lacking too. I've had the CoDeSys service crash but it doesn't say why. I've seen windows noticing the crash but no error code was sent or error message. Also in my current issue where the application fails to start after power outage. I can see in the log that it fails to load retain in the application as one log entry and application failing to start as another. But why? Why does loading the retain fail? give me more information! Is it just a skill issue with me? I don't know. If it is then I'd still want CoDeSys to step up their game when it comes to documentation. I'm sorry if a lot of frustration comes though in this post. I really like the product and what I can do with it compared to other PLC brands.
Last updated: 2024-11-21
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.