Post by eschwellinger on Unrecoverable SoftMotion state after switch to PreOp
CODESYS Forge
talk
(Post)
i would recommend to check the plc log..
Last updated: 2025-10-23
Unrecoverable SoftMotion state after switch to PreOp
CODESYS Forge
talk
(Thread)
Unrecoverable SoftMotion state after switch to PreOp
Last updated: 2025-10-23
How to stay in a method until something is finished.
CODESYS Forge
talk
(Thread)
How to stay in a method until something is finished.
Last updated: 2025-11-04
Codesys v 3.5 to factory IO
CODESYS Forge
talk
(Thread)
Codesys v 3.5 to factory IO
Last updated: 2025-11-20
Post by youness on CSVReaderInit returns error : INVALID_HANDLE
CODESYS Forge
talk
(Post)
I have Already the same problem when i'm trying to write data more than 10 times in the same file. In fact, i send my data periodicaly to a file that i configured to have permission of W/R in my CodesysContol.cfg. When the Error occurs, i must reboot my machine to success. It means that the problem isn't realted to a limitation of size, but a problem in the function supposed to handle the file. totorovic : allow me to know if you've found a solution to your problem. Thanks.
Last updated: 2025-11-26
KeyPad Function in Visualization to fill a table
CODESYS Forge
talk
(Thread)
KeyPad Function in Visualization to fill a table
Last updated: 2026-01-08
Upgraded Raspberry 2b to Raspberry 5, Trends Broken?
CODESYS Forge
talk
(Thread)
Upgraded Raspberry 2b to Raspberry 5, Trends Broken?
Last updated: 2025-11-13
How to read effective version of libraries?
CODESYS Forge
talk
(Thread)
How to read effective version of libraries?
Last updated: 2025-12-11
How to reset scroll of a table element
CODESYS Forge
talk
(Thread)
How to reset scroll of a table element
Last updated: 2026-04-13
Codesys v3.5.22.10 - Fail to create a project Archive
CODESYS Forge
talk
(Thread)
Codesys v3.5.22.10 - Fail to create a project Archive
Last updated: 5 days ago
How to get SYM File on CodeSys 3.5
CODESYS Forge
talk
(Thread)
How to get SYM File on CodeSys 3.5
Last updated: 2026-01-27
Login Screen to small for 10" screens
CODESYS Forge
talk
(Thread)
Login Screen to small for 10" screens
Last updated: 2026-02-01
EXCEPTION [watchdog] how to find position cause
CODESYS Forge
talk
(Thread)
EXCEPTION [watchdog] how to find position cause
Last updated: 2026-02-09
Power off bit to save last log
CODESYS Forge
talk
(Thread)
Power off bit to save last log
Last updated: 2026-02-17
Unable to deploy "Control for Linux SL 4.18.0.0"
CODESYS Forge
talk
(Thread)
Unable to deploy "Control for Linux SL 4.18.0.0"
Last updated: 2026-02-23
How to use MQTT in CODESYS Control Win V3
CODESYS Forge
talk
(Thread)
How to use MQTT in CODESYS Control Win V3
Last updated: 2026-02-25
How to register own component - CMAddComponent() or CMAddComponent2()
CODESYS Forge
talk
(Thread)
How to register own component - CMAddComponent() or CMAddComponent2()
Last updated: 2026-03-13
Unable to compare projects containing alarm manager 4.5.0.0
CODESYS Forge
talk
(Thread)
Unable to compare projects containing alarm manager 4.5.0.0
Last updated: 2026-03-15
Codeys Installation freezes while attempting to install packages
CODESYS Forge
talk
(Thread)
Codeys Installation freezes while attempting to install packages
Last updated: 2026-03-19
Virtual Api to vieuw what im sending
CODESYS Forge
talk
(Thread)
Virtual Api to vieuw what im sending
Last updated: 2026-04-05
Virtual Api to vieuw what im sending
CODESYS Forge
talk
(Thread)
Virtual Api to vieuw what im sending
Last updated: 2026-04-05
Deploy Codesys Control SL to a 'secure' device
CODESYS Forge
talk
(Thread)
Deploy Codesys Control SL to a 'secure' device
Last updated: 1 day ago
Post by mondinmr on Frustration-Fueled Feedback on Project File Management and Git Integration
CODESYS Forge
talk
(Post)
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 when working with ST IEC. While CODESYS works well for small code snippets or debugging, when the codebase grows, switching to VSCode to boost productivity becomes essential, and copy-pasting between environments is a cumbersome workaround. Poor Integration with Git: This file format also makes it very difficult to integrate effectively with Git. I have tested the internal demo, but for advanced merges, it is unusable. Without properly formatted plain text, itβs impossible to leverage the vast ecosystem of external tools around Git that allow smooth merges in heterogeneous teams. File Corruption on Network Drives: I often work from multiple locations with shared network drives. When the development environment saves a file and something goes wrong midway (which can occasionally happen when using VPNs and network drives), the entire project becomes irrecoverable. Thereβs no way to cancel the save process, and the development environment freezes. This has happened to me at least four times over the past two weeks, and one of those incidents cost me an entire day of work. All of this is particularly disappointing because I truly believe that the libraries, runtime, and overall work done by CODESYS are exceptional. I find it fantastic that there is a platform allowing development of PLCs and control systems using OOP, which is a huge advantage in modern control engineering. I apologize for the rant, but this issue has been extremely frustrating. Best regards.
Last updated: 2024-10-15
Post by bruceae on Ethernet/IP Scan
CODESYS Forge
talk
(Post)
Hello, I have a robot configured as a Generic Ethernet Module under Ethernet/IP Scanner. I can not see the change of state of the outputs coming from the robot on the codesys side in real-time. (The robot has it's own internal program that would changes the values of remote outputs 0-3 off and on). Also when I send data down to the inputs of the robot it doesn't transfer over as expected. As an example I'll send to the robot's input bit 0 a value of 1. It doesn't see that value change. However, when I write that input bit 0 back to a value of 0, the robot changes state and shows a value of 1. And if I change the state of a different bit, the other bits update properly, except for the bit that I changed. Any advice would be greatly appreciated, and if anything else is needed let me know.
Last updated: 2024-09-10
Post by ojz0r on Assignment Efficiency - Repetitive Assignment vs IF statement
CODESYS Forge
talk
(Post)
Its important that you know the difference between the two. Example 1: Coils[0] := Coils[0] OR (Buttons[0] AND Sensors[0] > 6); In this case the statements will be evaluated every scan and result in either true or false for Coils[0]. Example 2: IF NOT Coils[0] AND Buttons[0] AND (Sensors[0] > 6) THEN Coils[0] := TRUE; END_IF In this example Coils[0] will latch the result in a true evaluation, if you want it to behave the same way as example 1 then you need to do it like example 3 below: IF NOT Coils[0] AND Buttons[0] AND (Sensors[0] > 6) THEN Coils[0] := TRUE; ELSE Coils[0] := FALSE; END_IF However back to the real question. There is no problem using either example 1 or example 3, if im not requiring a latch i usually go with example 1 as it is more compact.
Last updated: 2025-03-07
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.