Post by mbart on VAR_INFO from inside of a FB to get info on the instance.
CODESYS Forge
talk
(Post)
I experienced the same problem: using __VARINFO is working only in PRG context, while it crashes if used inside Function Blocks. I would really appreciate if they would fix this issue
Last updated: 2025-12-04
Using a method called from opcua fill an specific array position
CODESYS Forge
talk
(Thread)
Using a method called from opcua fill an specific array position
Last updated: 2022-02-18
Establishing communication between a Raspberry Pi 4 and an Arduino UNO R3 using I²C.
CODESYS Forge
talk
(Thread)
Establishing communication between a Raspberry Pi 4 and an Arduino UNO R3 using I²C.
Last updated: 2023-12-03
UDB Block in Codesys V2.3 implementieren um Werte an bestimmte IP-Adresse zu senden
CODESYS Forge
talk
(Thread)
UDB Block in Codesys V2.3 implementieren um Werte an bestimmte IP-Adresse zu senden
Last updated: 2024-07-19
setting up Raspberry pi as an opc ua Server with UaExpert as Client
CODESYS Forge
talk
(Thread)
setting up Raspberry pi as an opc ua Server with UaExpert as Client
Last updated: 2024-09-11
Setting up Raspberry pi as an Opc ua Server with UaExpert as Client
CODESYS Forge
talk
(Thread)
Setting up Raspberry pi as an Opc ua Server with UaExpert as Client
Last updated: 2024-09-11
SEGV when using an Ethernet_IP_Scanner/Profinet-Master coming from the ETHTOOL syscall
CODESYS Forge
talk
(Thread)
SEGV when using an Ethernet_IP_Scanner/Profinet-Master coming from the ETHTOOL syscall
Last updated: 2023-08-16
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
Rpi Runtime stops after about 16 hours with an Exception with CommCycleHook
CODESYS Forge
talk
(Thread)
Rpi Runtime stops after about 16 hours with an Exception with CommCycleHook
Last updated: 2023-04-24
How do I pass a array throught a function and return an array - Pointers
CODESYS Forge
talk
(Thread)
How do I pass a array throught a function and return an array - Pointers
Last updated: 2018-04-16
K-Bus Klemme an Ethercat Slave einbinden. Gerät konnte nicht hinzugefügt werden.
CODESYS Forge
talk
(Thread)
K-Bus Klemme an Ethercat Slave einbinden. Gerät konnte nicht hinzugefügt werden.
Last updated: 2021-11-28
exporting or copying the COE online data from an ethercat slave device
CODESYS Forge
talk
(Thread)
exporting or copying the COE online data from an ethercat slave device
Last updated: 2019-10-30
an item with the same key has already been added. Error
CODESYS Forge
talk
(Thread)
an item with the same key has already been added. Error
Last updated: 2014-06-16
Dataserver - an item with the same key has already been adde
CODESYS Forge
talk
(Thread)
Dataserver - an item with the same key has already been adde
Last updated: 2015-10-20
Extending a library function in an application and getting Interface conversion errors
CODESYS Forge
talk
(Thread)
Extending a library function in an application and getting Interface conversion errors
Last updated: 2020-06-03
Table Control on an array using a constant for its size.
CODESYS Forge
talk
(Thread)
Table Control on an array using a constant for its size.
Last updated: 2016-01-08
I present an error: program too large for the controller
CODESYS Forge
talk
(Thread)
I present an error: program too large for the controller
Last updated: 2013-06-28
Error 'sysfile23, 3.5.13.0 (system)' and 'syssocket23, 3.5.13.0 (system)' using Oscat libraries on an IFM CR1203 HMI
CODESYS Forge
talk
(Thread)
Error 'sysfile23, 3.5.13.0 (system)' and 'syssocket23, 3.5.13.0 (system)' using Oscat libraries on an IFM CR1203 HMI
Last updated: 2022-10-14
There is an error When calling IecTaskGetInfo3 with the RTS_IEC_HANDLE from SchedGetTaskHandleByName function
CODESYS Forge
talk
(Thread)
There is an error When calling IecTaskGetInfo3 with the RTS_IEC_HANDLE from SchedGetTaskHandleByName function
Last updated: 2017-09-11
How can i read data from a file into an array?
CODESYS Forge
talk
(Thread)
How can i read data from a file into an array?
Last updated: 2021-08-09
The element might be in an unsupported area and therefore cannot be edited. (e!Cockpit)
CODESYS Forge
talk
(Thread)
The element might be in an unsupported area and therefore cannot be edited. (e!Cockpit)
Last updated: 2023-01-27
Post by dkugler on EtherCAT fieldbus
CODESYS Forge
talk
(Post)
There is an example for activating/deaktivating an optional Slave in the FAQ's: https://faq.codesys.com/pages/viewpage.action?pageId=49283084
Last updated: 2024-04-12
Post by gland on Open project automatic with correct version
CODESYS Forge
talk
(Post)
Goodmorning, The projects we have made (with several persons) are in differents versions, Codesys V3.5 sp18 patch4, V3.5 sp19 patch 2, V3,5 sp19 patch 5 etc V3.5 sp21 patch 3 etc.. Now when we're opening an project thats's not opend before on my pc and we're not sure in witch version it's made it's quite annoying. We don't want to update to the newest version. Is there a way that it's automatic opening the correct version? Is there a program/tool/easy way to do this? Thanks,
Last updated: 2026-01-27
Post by acc00 on Main Task cycle too long leading to PLC Fail
CODESYS Forge
talk
(Post)
I have 2 Wago PFC200 PLC, running with Runtime SP19 Patch 5, with the Redundant application. The PLC communicates as Modbus Master with at this moment 15 Modbus Slaves -later there will be 28 in total- (Drives, Power management units,...). These devices are connected in 2 rings (1 ring of Drives, 1 ring of Power Management units), with 2 Managed Moxa Switches being part of the ring. Each PLC is connected to one of these switches. The issue I'm encountering is that the Cycle time of the Active PLC goes very high when I'm closing the Drive ring (simulating an issue on one Cabinet supply, resulting in that one Drive shut down, which can happen on field quite often). As a result of this long cycle, the PLC fails and goes to Exception, and the Passive PLC does not take control of the system. A normal cycle is around 30ms for the Main task, and a few ms for the Ethercat task. When I monitor with Profiler, I see that in this Maximum Cycle, the main Task is only taking 13ms, so I'm not sure where the PLC is hanging for so long. Is the remaining cycle time the Redundant management/sync or something else? Thank you in advance.
Last updated: 2024-03-08
Post by takashi on CODESYSControlWinCE Crash
CODESYS Forge
talk
(Post)
Hey all CODESYS-experts. I'm at a customer site, and we hade a power-failure and one of the devices apparently runs codesys and has crashed. It's an old device (out of warranty) that is bought many years ago. Now this device doesn't seem to boot. Any idea what to do in this case? We have access to the drive so we have access to the files. See screenshots.
Last updated: 2024-01-23
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.