Post by pernockham on Linking to IO during runtime with hot swap?
CODESYS Forge
talk
(Post)
I have a project where a single PLC shall control multiple nodes (up to 10 units?) with IO connected through profinet. Ideally each node should be identical however with time I see situations were different setups/configurations will be used. Codesys PLC (GVLs) |Profinet | |--PNIO-node-1--| | | AIO, | | DIO, | | CNT etc. | |--PNIO-node-2--| | | AIO, | | DIO, | | CNT etc. Ideally I think of a configuration through yaml/xml-files (the assignment/linking of the profinet nodes towards GVL-variables in the PLC as well as scaling, channel configration etc.). Would be grateful if someone could suggest library/-ies that can handle the following: - Verify what IO is connected to a device/node. - Hot-swap/assign link for IO towards GVLs, either automatically or through a HMI.
Last updated: 2024-10-11
Post by mwandy on Codesys Project Protection
CODESYS Forge
talk
(Post)
I'm having trouble finding clear answers on this. I'm looking for a way to make a Codesys project password protected so that if the project is distributed it can be used to log into a controller to view and debug logic. At this same time I want to prevent the project from being saved as well as edits being downloaded to the controller. Basically I want to make a whole project view-only. What is the beat way to achieve this? I have had minor success with access rights, which solves the problem with trying to login if the project doesn't match what is in the controller. However with this solution, edits can still be made and saved, possibly corrupting the core project, preventing future logins. Any suggestions?
Last updated: 2024-03-29
Post by danwoodlock on Rpi zero w lost license after 4.11 update
CODESYS Forge
talk
(Post)
Hello all, Encountered an issue with my zero which seems to have happened after the 4.11 update. It now runs in demo mode (2hr) and I am trying to see what the appropriate steps are prior to contacting codesys directly. Background: I recently did a fresh install of w11 on my pc, so it seems "c:\ProgramData\CODESYS\Licenses\" only has information related to my pi5, which I licensed just this past Friday. I have all my license documentation about my rpi zero as far as the emails received, but when I try to claim using the ticket number it says its already been used, or something to that effect, which it was. Currently trying to perform device license reader, which is taking some time.
Last updated: 2024-04-14
Post by baotthitawat on Why Structured SCADA Documentation Matters in Modern Industrial Systems
CODESYS Forge
talk
(Post)
Modern SCADA development is no longer limited to monitoring dashboards and PLC communication. Todayβs industrial systems often require: Cloud architecture Web & mobile SCADA API integration IIoT communication Alarm management Scalable deployment workflows One challenge in many projects is that deployment knowledge is usually scattered across multiple documents, configuration guides, and troubleshooting references. As systems become more connected, engineers need a more structured learning approach to reduce deployment time and improve maintainability. The ATSCADA Training Book is an interesting example because it organizes the ecosystem into a clearer roadmap covering: SCADA architecture Driver & OPC communication Web visualization Mobile applications Cloud & IIoT systems Troubleshooting & maintenance I think structured technical documentation will become increasingly important as industrial automation systems continue evolving toward larger and more connected environments.
Last updated: 2026-05-27
Post by steven-schalm on Frustration-Fueled Feedback on Project File Management and Git Integration
CODESYS Forge
talk
(Post)
Yes, it's very tedious, especially since Codesys 4 is a custom web development... At Rex Automatisierungstechnik GmbH, we've invested a lot of time in the Python interface to enable something like CI/CD, but also to export the code and re-import it after making clean modifications. Also, the fact that a class/function block is just a single file containing all the methods, props, etc. Yes, and right now Iβm building my own VS Code extension with a clean LSP (Language Server Protocol) for ST, as well as an st-validator, st-formatter, st-linter, codesysPackage.json, and codesys_modules folder... Best regards, Steven Schalm / Sharok6130
Last updated: 2026-06-11
Post by tehthoams on Time will not read 12
CODESYS Forge
talk
(Post)
I know this post is a bit old, but i'm having this same issue: At noon, %t[hh:mm:ss tt] is displaying 00:00:00 PM There is no text variable, just using the default functionality of the visualization for the time display. This is running on an IFM CR1102 display. has anyone solved this?
Last updated: 2024-10-10
Post by ferrim on IEC 61499
CODESYS Forge
talk
(Post)
Hello otdeveloper, I am very interested in this topic. I have been dedicated to IEC 61499 for some time and I would like to understand if the time has come to adopt it in the real world of automation or if it will continue to fill up research papers only.
Last updated: 2024-02-09
Post by aved on Digital Clock
CODESYS Forge
talk
(Post)
i need help creating a digital clock in CODESYS that should be displyed on a Raspberry Pi LCD Display trough the Visualization built in CODESYS. I have an idea how to display the time by making a 7 Segment Dysplay in the Visu. But I don't know how to get the actual time into the program. Can anyone help?
Last updated: 2024-02-26
Post by gregor on PFC 200 - codesys V3.5
CODESYS Forge
talk
(Post)
As far as I know, only if someone downloaded sourcecode to the PLC.
Last updated: 2023-08-25
Ethercat scan for devices not picking up EL7041 as a softmotion axis
CODESYS Forge
talk
(Thread)
Ethercat scan for devices not picking up EL7041 as a softmotion axis
Last updated: 2023-09-18
PLC (Lenze with CoDeSysy) as MODBUS TCP Slave to connect a 3th party touchscreen
CODESYS Forge
talk
(Thread)
PLC (Lenze with CoDeSysy) as MODBUS TCP Slave to connect a 3th party touchscreen
Last updated: 2017-01-02
AS Exclusive Temu $100 Discount Code {act892435} {act892435} for Free Stuff Canada
CODESYS Forge
talk
(Thread)
AS Exclusive Temu $100 Discount Code {act892435} {act892435} for Free Stuff Canada
Last updated: 2024-10-26
Problem of assigning physical addresses to variables of type ARRAY OF ARRAY as MW and QW
CODESYS Forge
talk
(Thread)
Problem of assigning physical addresses to variables of type ARRAY OF ARRAY as MW and QW
Last updated: 2025-03-31
Converting LREAL to binary and interpreting it as base 10 LINT
CODESYS Forge
talk
(Thread)
Converting LREAL to binary and interpreting it as base 10 LINT
Last updated: 2022-01-20
Connect a I/O module (EAP Module 2020) as a slave to Revolution PI
CODESYS Forge
talk
(Thread)
Connect a I/O module (EAP Module 2020) as a slave to Revolution PI
Last updated: 2018-03-09
Can any PC with an Ethernet adapter be used as PN_Controller with Codesys?
CODESYS Forge
talk
(Thread)
Can any PC with an Ethernet adapter be used as PN_Controller with Codesys?
Last updated: 2018-10-11
Configure PLC as CanOpen Slave want the TPDO to be triggered on event..
CODESYS Forge
talk
(Thread)
Configure PLC as CanOpen Slave want the TPDO to be triggered on event..
Last updated: 2020-04-14
POUs with the same name in two different devices do not work as advertised on documentation
CODESYS Forge
talk
(Thread)
POUs with the same name in two different devices do not work as advertised on documentation
Last updated: 2022-04-12
Use an operator keyword as part of an Enum, e.g. 'MOVE'
CODESYS Forge
talk
(Thread)
Use an operator keyword as part of an Enum, e.g. 'MOVE'
Last updated: 2022-07-14
Pass the second array dimension into a function as a parameter
CODESYS Forge
talk
(Thread)
Pass the second array dimension into a function as a parameter
Last updated: 2022-05-10
How disable long touch press as right-mouse-click on Raspberry Pi touchscreen
CODESYS Forge
talk
(Thread)
How disable long touch press as right-mouse-click on Raspberry Pi touchscreen
Last updated: 2022-05-16
Execute View Model Function block that is declared in the visualation interface as a VAR?
CODESYS Forge
talk
(Thread)
Execute View Model Function block that is declared in the visualation interface as a VAR?
Last updated: 2022-07-15
Show of hands: who as accidentally forgot about Always Update Variables
CODESYS Forge
talk
(Thread)
Show of hands: who as accidentally forgot about Always Update Variables
Last updated: 2020-07-22
CANOpen issue. Beckhoff 6751 CANOpen Master with Codesys TTC590 as slave
CODESYS Forge
talk
(Thread)
CANOpen issue. Beckhoff 6751 CANOpen Master with Codesys TTC590 as slave
Last updated: 2020-12-18
raspberry pi as PLC all GPIO input pins are TRUE value
CODESYS Forge
talk
(Thread)
raspberry pi as PLC all GPIO input pins are TRUE value
Last updated: 2020-10-29
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.