CM4S GPIO's in Codesys
CODESYS Forge
talk
(Thread)
CM4S GPIO's in Codesys
Last updated: 2024-05-28
Codesys HMI Redundancy
CODESYS Forge
talk
(Thread)
Codesys HMI Redundancy
Last updated: 2024-05-30
CodeSys SVN funktionert nicht
CODESYS Forge
talk
(Thread)
CodeSys SVN funktionert nicht
Last updated: 2024-06-04
codesys mqtt publish serialization
CODESYS Forge
talk
(Thread)
codesys mqtt publish serialization
Last updated: 2024-06-05
CODESYS 3.5.17.30 Setup Error
CODESYS Forge
talk
(Thread)
CODESYS 3.5.17.30 Setup Error
Last updated: 2025-10-30
*EXCEPTION* [ProsessorLoadWatchdog] codesys 3.5.11.40
CODESYS Forge
talk
(Thread)
EXCEPTION [ProsessorLoadWatchdog] codesys 3.5.11.40
Last updated: 2025-11-16
*EXCEPTION* [ProsessorLoadWatchdog] codesys 3.5.11.40
CODESYS Forge
talk
(Thread)
EXCEPTION [ProsessorLoadWatchdog] codesys 3.5.11.40
Last updated: 2025-11-17
STEPPER CODESYS SOFTMOTION_DRIVE
CODESYS Forge
talk
(Thread)
STEPPER CODESYS SOFTMOTION_DRIVE
Last updated: 2025-11-28
CODESYS Download Issue
CODESYS Forge
talk
(Thread)
CODESYS Download Issue
Last updated: 2026-08-10
Codesys monitor 4k
CODESYS Forge
talk
(Thread)
Codesys monitor 4k
Last updated: 4 hours ago
Scan devices hangs CODESYS
CODESYS Forge
talk
(Thread)
Scan devices hangs CODESYS
Last updated: 2025-12-13
Estun servo with codesys
CODESYS Forge
talk
(Thread)
Estun servo with codesys
Last updated: 2025-12-23
Monitor active Codesys connection
CODESYS Forge
talk
(Thread)
Monitor active Codesys connection
Last updated: 2026-03-29
Codesys V2.3 π¬π§
CODESYS Forge
talk
(Discussion)
Forum about V2.3
Last updated: 2026-06-15
Codesys MODBUS RTU devices
CODESYS Forge
talk
(Thread)
Codesys MODBUS RTU devices
Last updated: 2026-07-14
Codesys Installation problem
CODESYS Forge
talk
(Thread)
Codesys Installation problem
Last updated: 2026-08-10
Redundancy Codesys Runtime, Synchronization
CODESYS Forge
talk
(Thread)
Redundancy Codesys Runtime, Synchronization
Last updated: 2026-01-30
CODESYS and Github Copilot
CODESYS Forge
talk
(Thread)
CODESYS and Github Copilot
Last updated: 2026-02-13
Codesys KNX implementation
CODESYS Forge
talk
(Thread)
Codesys KNX implementation
Last updated: 2026-03-04
Post by rossanoparis on Upgrading CODESYS runtime from v4.7 to v4.9 using a bash script leads to lose the licences stored in the soft container
CODESYS Forge
talk
(Post)
System information - Controller: KUNBUS RevPi CONNECT-S - OS: Linux buster 32bit 5.10.103-rt62-v7l #1 SMP PREEMPT_RT armv7l GNU/Linux - CODESYS v3.5 SP19 Patch 2 I'm facing a problem related to codesys licences using a procedure based on a bash script. Such bash script detect the presence of new .deb files and install them on system. My automation solution don't allow to be maintained by dedicated personal, thus even the CODESYS runtime SW must be installed using an "automatic" procedure instead of using the CODESYS tool. remark I've been using the following procedure since the runtime v4.5 without any issue. Before installing the new runtime packages, I need to copy the file CODESYSControl_User.cfg (here attached) because of new section which is necessary to add in order to allow some folders to be written by CODESYS runtime v4.9 Up to now, this has been unnecessary, this is the main difference between my previos bash file and the new one. remark If I skip this action, everythings goes fine, but my CODESYS application can't work as it needs to access some folders on controller's file system. Process - Before the procedure: the licenses are OK (see attached file lic-01.png) - After the procedure: the new CODESYS runtime version is correctly installed, but the software container with v1.19 and all licences disappear (see attached file lic-02.png) This is the synthetic content of bash script I'm using. # Stop runtime sudo service codesyscontrol stop sudo service codesysedge stop # Move the new CODESYSControl_User.cfg file # New configuraton with folders declared sudo mv -f CODESYSControl_User.cfg /etc # Install runtime package echo N | sudo apt-get install -y --allow-downgrades codesyscontrol_raspberry_4.9.0.0_armhf.deb # Install edge gateway package echo N | sudo apt-get install -y --allow-downgrades codesysedge_edgearmhf_4.9.0.0_armhf.deb # Reboot controller sudo reboot Thanks in advance
Last updated: 2023-09-19
Post by alex00 on DCS / Central Engineering for Codesys
CODESYS Forge
talk
(Post)
Hello together I'm currently investing in possibilities to have a central engineering software / system for Codesys based controllers. Something like a DCS / SCADA depending on where you see the functionality. We plan to use more or less vanilla codesys. The tool should support the following: - Connect to multiple PLC's in a project to see its variables and debug it. - Central Engineering capabilities (for example shared libraries in a project). - Download the new code / binaries to the plc. - Maybe have functionality to combine visualization elements and logic together. - See the live status variables on all the systems (crosscommunication). I see that codesys theoretically supports engineering of multiple PLC's, but I couldnt find to much functionality for a DCS type of operation, but that could be lack of knowledge. Any tips from you? Is Codesys good enough for this and maybe there are some manufacturers which build around it? Or are there good tools on the market with Codesys support (and the engineering is separate, but download to codesys possible). The use case is distributed energy installations like Heating pumps, Photovoltaics, etc. All these installations should have a PLC with codesys installed and run in one larger network, the PLC's are connected via VPN. Thanks for your inputs Greetings
Last updated: 2024-02-19
Post by timvh on Problem Reading Registers via Modbus from non Codesys device
CODESYS Forge
talk
(Post)
According to the documentation: https://wiki.teltonika-networks.com/view/RUT956_Modbus You need to create a Channel to read 2 registers from address 143 to get the lattitude. It doesn't specify if you need to read it as a Holding Register or as an Input Register. You could try both. So in the Teltonika router, you need to enable it as being a Modbus Server. Then in CODESYS add an Ethernet Adapter, then a Modbus Client (Master) and to the Client (Master) add the Modbus Server (Slave). Set the IP address and add the Channel. The please consider that CODESYS doesn't update any variables when they are not used in the application. In the I/O mapping tab of your I/O configuration, you can set the "Always update" to enabled.
Last updated: 2025-03-08
Post by mbmik on IoDrvModbusTCP_Diag not defined when using MODBUS
CODESYS Forge
talk
(Post)
Hi Im trying to setup a WeidmΓΌller WL2000 to run with MODBUS, to get some data from a server. Codesys V3.5 SP20. The issue is, that whenever i attach an ethernet port and add MODBUS Master und also a Slave, codesys will compile the project, but there always seem to be some remaining errors, which or only visible, when setting the messages window to "Pre-Compiled". I tried a lot of stuff to get rid of these errors, but cant find to seem the reason. New installation of codesys, cleaned project, setup completely empty new project, manually adding libs. Nothing helps. Any help is apreciated. Maybe we are doing something wrong.. Example Project is available, if somebodey wants to take a look. Greetings and thanks alot
Last updated: 2024-04-15
Post by egerobotics on [New Hardware] EtherCAT Digital & Analog IO Board β CODESYS Compatible, All Channels Isolated
CODESYS Forge
talk
(Post)
Hi everyone, I'd like to share a new EtherCAT slave I/O board I've developed β the EtherCAT Digital & Analog IO Board by EGEROBOTICS. Key specs: 12x isolated digital outputs (24VDC) 12x isolated digital inputs (24VDC) 4x isolated 0β10V analog outputs (12-bit DAC) 4x isolated 0β10V analog inputs (12-bit ADC) All channels galvanically isolated 24VDC powered EtherCAT CoE protocol Typical use cases: Analog servo drive speed reference (0β10V) via EtherCAT Frequency inverter reference signal Proportional valve control Industrial sensor data acquisition Compatible with CODESYS SoftMotion, Beckhoff TwinCAT 2/3, LinuxCNC + EtherCAT HAL, and SOEM. Here's a quick demo video showing it running under CODESYS: π https://www.youtube.com/watch?v=bUuo9reK29s ESI file, PDF manual and AutoCAD drawings available. Available on Tindie: https://www.tindie.com/products/emresensoy/ethercat-digan-io/ Happy to answer any technical questions!
Last updated: 2026-06-13
Post by pernockham on Is there a pragma for init/instantiation of local variables in FB (like in Methods)
CODESYS Forge
talk
(Post)
Im using a pointer as input for a FB and for convenience I like to use 'referenced' variable internally. I use this setup in methods which works because internal variables are instantiated for each call. In a FB these variables are instantiated and initiated for the first call only. Is there a pragma/attribute available that changes this behaviour to mirror a 'method'-call?
Last updated: 2024-10-31
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.