Home
seztol
wiki
(WikiPage)
Project Members: seztol (admin)
Last updated: 2025-08-08
Post by eschwellinger on Codesys Virtual control SL
CODESYS Forge
talk
(Post)
yes I would recommend that..
Last updated: 2025-08-08
Post by rajatdas2005 on Codesys Virtual control SL
CODESYS Forge
talk
(Post)
Thanks once again. Right now the codesys virtual control sl docker is using the host ip itself not the docker ip. so the local host edge gateway was able to search the virtual plc. so you are telling me instead of local host edge gateway I should use the edge gateway docker version?
Last updated: 2025-08-08
Post by phryniszak on RPI CANFD
CODESYS Forge
talk
(Post)
Hi, I have rpi with CANFD MCP2518FD. Classic can communication is working OK but when I try open in CANFD hDriver := CL2.FdDriverOpenH(usiNetId := 0, uiNominalBaudrate := 500, uiDataBaudrate := 0, xSupport29Bits := FALSE, ctMessages := 100, peError := ADR(eError) error is returned with value 10226 which is not documented (https://content.helpme-codesys.com/en/libs/CAA%20Can%20Low%20Level%20Extern/Current/CAN-Low-Level/Enums/ERROR.html#error) CAA CanL2 is 3.5.21 version. Question is: 1. Is anyone get CANFD working? 2. What is meaning of this value (10226)? Regards, Pawel
Last updated: 2025-08-09
RPI CANFD
CODESYS Forge
talk
(Thread)
RPI CANFD
Last updated: 2025-08-09
wiki Discussion
phryniszak
wiki
(Discussion)
Forum for wiki comments
Last updated: 2025-08-09
blog Discussion
phryniszak
blog
(Discussion)
Forum for blog comments
Last updated: 2025-08-09
(no subject)
phryniszak
wiki
(Thread)
Last updated: 2025-08-09
Home
phryniszak
wiki
(WikiPage)
Project Members: phryniszak (admin)
Last updated: 2025-08-09
Post by phryniszak on RPI CANFD
CODESYS Forge
talk
(Post)
Hi, I have rpi with CANFD MCP2518FD. Classic can communication is working OK but when I try open in CANFD hDriver := CL2.FdDriverOpenH(usiNetId := 0, uiNominalBaudrate := 500, uiDataBaudrate := 0, xSupport29Bits := FALSE, ctMessages := 100, peError := ADR(eError) error is returned with value 10226 which is not documented (https://content.helpme-codesys.com/en/libs/CAA%20Can%20Low%20Level%20Extern/Current/CAN-Low-Level/Enums/ERROR.html#error) CAA CanL2 is 3.5.21 version. Question is: 1. Is anyone get CANFD working? 2. What is meaning of this value (10226)? Regards, Pawel
Last updated: 2025-08-09
RPI CANFD
CODESYS Forge
talk
(Thread)
RPI CANFD
Last updated: 2025-08-09
Home (version 1) discussion
henriqueflora
wiki
(Thread)
Home (version 1) discussion
Last updated: 2025-08-09
Home (version 1) discussion
tonytowers
wiki
(Thread)
Home (version 1) discussion
Last updated: 2025-08-10
Post by andrej on Signing of Boot Application for Raspberry Pi
CODESYS Forge
talk
(Post)
Hello all, I tried to encrypt the Boot Application (not just to sign it). I got the same Error message as above. Is an additional licencse necessary to sign the boot application for raspberry pi. Thanks for your confirmation. Kind regards Andreas
Last updated: 2025-08-10
Signing of Boot Application for Raspberry Pi
CODESYS Forge
talk
(Thread)
Signing of Boot Application for Raspberry Pi
Last updated: 2025-08-10
Home (version 1) discussion
alex-wall
wiki
(Thread)
Home (version 1) discussion
Last updated: 2025-08-10
Post by artplc on 3.5 P20 hangs - no response
CODESYS Forge
talk
(Post)
Subject: Solution: CODESYS Freezes Linked to Large Symbol Configuration (OPC UA) Hello everyone, I was experiencing the same problem as many here: CODESYS (v3.5 SP20+) freezing during compilation and download, especially on projects that use OPC UA for SCADA. The only workaround was to run Build > Clean all before every download. I believe I have found the root cause and a permanent solution. The Problem: The issue is directly related to a large Symbol Configuration. In my project, I only need about 700 tags for OPC UA, but the Symbol Configuration list was showing over 250,000 tags. This is because it automatically includes all variables from Global Variable Lists (GVLs) and other memory areas. When any static variable is changed, the IDE tries to rebuild this enormous list, causing it to freeze for several minutes. The Solution: Instead of letting CODESYS export every variable by default, you can use a pragma to tell it which variables or GVLs to exclude from the symbol export process. Place the following pragma at the top of any GVL or data structure that you do not want to be part of the symbol configuration: 1 {attribute 'symbol' := 'none'} 2 VAR_GLOBAL 3 // All variables in this GVL will now be excluded from the 4 // Symbol Configuration by default. 5 InternalVariable1 : INT; 6 InternalVariable2 : BOOL; 7 END_VAR After adding this pragma to all the GVLs that were not needed for OPC UA, the number of tags in my Symbol Configuration dropped to the correct amount. The compilation and download process is now fast again, with no freezing. This method is much more efficient than manually managing the symbol list in the editor. I hope this helps others who are facing this frustrating issue. Best regards.
Last updated: 2025-08-10
3.5 P20 hangs - no response
CODESYS Forge
talk
(Thread)
3.5 P20 hangs - no response
Last updated: 2025-08-10
wiki Discussion
joaopedrosilva
wiki
(Discussion)
Forum for wiki comments
Last updated: 2025-08-10
blog Discussion
joaopedrosilva
blog
(Discussion)
Forum for blog comments
Last updated: 2025-08-10
(no subject)
joaopedrosilva
wiki
(Thread)
Last updated: 2025-08-10
Home
joaopedrosilva
wiki
(WikiPage)
Project Members: joaopedrosilva (admin)
Last updated: 2025-08-10
Post by rajatdas2005 on Codesys Virtual control SL
CODESYS Forge
talk
(Post)
Thank you. Its working now.
Last updated: 2025-08-11
Post by oyuld on EThercat Dynamic configuration
CODESYS Forge
talk
(Post)
You're using dynamic EtherCAT configuration for EL3632 (analog input, timestamped, oversampling). You're correctly detecting the slave and setting DC settings, SMs, and FMMUs manually. You're getting a PLL error. You're missing a startup parameter: 0x10F3:0x05 = Command_0, Value = 0 You're using autoconfigure mode for the master. The input memory alignment differs between manual (dynamic) config and TwinCAT's static config. https://forge.codesys.com/forge/talk/Engineering/thread/e42a7575e1/snow rider 3d
Last updated: 2025-08-11
Post by madskaizer on Task Priority Documentation?
CODESYS Forge
talk
(Post)
Hi All I was watching the Wago PFC300 webinar ( https://www.wago.com/global/lp-thank-you-onlineseminar-pfc-300 ), and the presenters comment about priority 1 being way above the Ethernet task priority, so that a priority 1 PLC program can actually loose SCADA connection, made me try to round up some hard evidence on Codesys Priorities. I find there is very little information on "correct" task priority configuration. There is a lot of different hardware manufacturers, using Codesys Runtime, that has different descriptions in their manuals on how to set up priority. https://doku.amk-motion.com/en/Subsystems/PDK_202975_A-Serie_en/Content/Projekt/AMKAMAC/PDK_202975_A4-A5_Produktbeschreibung/Funktionalitaet/PLC-Programming/PLC%20Tasks.htm?TocPath=PLC-Programming%7C_____7 https://product-help.schneider-electric.com/Machine%20Expert/V1.1/en/SoMProg/index.htm?#t=SoMProg%2FTask_Editor%2FTask_Editor-7.htm&rhsearch=priority&rhhlterm=priority&rhsyns=%20&SUBSTRSRCH=1 https://content.helpme-codesys.com/en/CODESYS%20Development%20System/_cds_f_task_configuration.html So my questions :) 1) If there is only 1 PLC_PRG task, does priority matter? 2) What is the priority of Ethernet / communication, if nothing is entered? 3) What is the priority of Codesys OPC UA server? 4) Some users here on forge mentions that Wago PLC programs should run as priority 11, but where does this recommendation origin from? 5) What are you recommendations for a relatively slow process, like building automation? It uses OPC UA for communication to SCADA, maybe some MODBUS-RTU and MODBUS-TCP, usually around 100 I/O, been running with everything in a single task at priority 1, 50-100ms cycle time. Some controllers have separate MODBUS tasks, but doesn't seem like a big difference. How would you recommend splitting up communication, IO fieldbus and programs into differently prioritized tasks? I know its a complex matter and all about my application, but I really miss there was just some kind of guidance in the documentations and with all new standard Codesys programs having priority 1 as default, makes it seem less important, than it really is.
Last updated: 2025-08-11