Post by nano on Cant login to Rpi4 but can see it in codesys communications settings.
CODESYS Forge
talk
(Post)
which ports in detail are configured. the search of the rts works via broadcast-messages, programming with tcp-port on p2p-connection woth port-hopping, handled by runtime after siccesfully handshake. look at this entry on forge https://forge.codesys.com/forge/talk/Runtime/thread/4078a2ed28/
Last updated: 2024-06-23
Post by kuegerls on SysProcessExecuteCommand2 and CANopen Device
CODESYS Forge
talk
(Post)
I have now conducted some tests. The problem occurs when the Python script establishes an OPCUA connection, even if I only establish the connection without reading or writing any data. Is there another way to exchange data between Python and CODESYS without having to put in a lot of effort?
Last updated: 2024-06-24
Post by kaotic2499 on Upgraded Raspberry 2b to Raspberry 5, Trends Broken?
CODESYS Forge
talk
(Post)
Is there anyone who can assist me? ill just have to raise this as a bug with codesys otherwise. I see this as the only way foward. ill attempt a fresh install of RPI in the next day or two, but thats all i had previously so 🤷♂
Last updated: 2025-10-21
Post by alessandro on Configuring a CIP object for Explicit Message
CODESYS Forge
talk
(Post)
We used this with shared memory codesys. and work. OpENer is an EtherNet/IP™ stack for I/O adapter devices; supports multiple I/O and explicit connections. And we adapt this also for Implicit message. But for arrive to the end we spend a lot of time. :-(((
Last updated: 2025-10-24
Post by vtec35 on search runtime 4.9.0.0 for pi 3
CODESYS Forge
talk
(Post)
Hello everyone, following corrupted data on the SD card of our Pi3B+ provided with a machine, we reinstalled a CODESYS image for Raspberry Pi, but we cannot find the 4.9.0.0 runtime that is compatible with the project. Currently, the machine is on 4.1.0.0, and we tried a more recent version 4.13.0.0, but there are error messages. Thanks in advance.
Last updated: 2025-10-24
Post by mg0815 on ERROR: Calling the program "AlarmStorage_Prg" is not allowed from multiple tasks
CODESYS Forge
talk
(Post)
I use Codesys 3.5.21.1 too I have absolutelly the same fault. Do you know the solution? I get the same massages accept the last one (up to your's from 2025-08-03 04:38) The last messages do not appear. (your's later than 2025-08-03 04:40) Reagards Mg
Last updated: 2025-11-04
Post by kalmeyer on Stepper motor control with (SM_Drive_RaspStepper_direct)
CODESYS Forge
talk
(Post)
I AM VERY GRATEFUL FOR YOUR HELP. I HAVE INSTALLED: CODESYS SOFTMOTION VER. 4.19.0.0 AS SEEN IN THE ATTACHED FILE. BUT IT DOESN'T CHANGE THE FACT THAT I GET 6 ERRORS WHEN I HAVE INSTALLED SM_Drive_RaspiStepper_Direct DO YOU HAVE ANY SUGGESTIONS ON WHAT I CAN DO NOW? /KLAUS
Last updated: 2025-11-10
Post by scrisp on Source code changes since last download
CODESYS Forge
talk
(Post)
Why does CODESYS 3.5 show the message “Source code changes since last download” even though I did not create or modify any new variables? When I go online with the PLC, it detects changes and suggests synchronizing, but nothing was actually changed in the project. What could cause this and how can I fix it?
Last updated: 2025-11-28
Post by ahofer on Deploy Control SL kein Zugriff aus der vertuellen Maschine
CODESYS Forge
talk
(Post)
Mein Windows mit CoDeSys (V3.5.20.60) läuft in einer virtuellen Maschine. Bis jetzt konnte ich daraus über das Tool "Update Raspberry Pi" auf den Raspberry zugreifen. Mit dem Deploy Control SL geht das jetzt leider nicht mehr. An Wondows wurde eigentlich nichts verändert Weiß jemand Rat? Danke schon mal und VG Toni
Last updated: 2025-12-04
Post by michaelhepiroc on CIA405.RECV_EMCY
CODESYS Forge
talk
(Post)
Hi Reinier, I'm wondering if you managed to get this FB to work? I was just trying it, and found it not to work, I get an EMCY message in the CodeSys program under the Device Status, but the FB doesn't pick up any EMCY messages from the Bus. Cheers.
Last updated: 2025-12-08
Post by kaotic2499 on Upgraded Raspberry 2b to Raspberry 5, Trends Broken?
CODESYS Forge
talk
(Post)
There is currently a bug with the Raspberry Pi 64 SL where it is unable to Trend Global Retain or PersistantVars. The work around is to use standard Global Variables for Trend Data. This will be patched by Codesys in the near future reference "VIS-6170"
Last updated: 2025-11-13
Post by gatto on warning C0195
CODESYS Forge
talk
(Post)
Good morning dear codesys users. I'm using 3.5.20.40 and I get this warning C0195 when I assign an initial value to xyz. However, if I do it on a single byte (abc), it doesn't display any warning. Why? VAR_GLOBAL abc : BYTE := 100 ; xyz : ARRAY [1..10] OF BYTE := [10(100)] ; END_VAR
Last updated: 2025-11-20
Post by timvh on Textfield display problem
CODESYS Forge
talk
(Post)
Did you test this with the latest version of the CODESYS Visualization add-on? Something that you might want to test is if it works better when you disable the "Support client animation and overlay of native elements". Double-click on the VisualizationManager in your project to find this setting.
Last updated: 2025-11-21
Post by bertram on Installation IOT Libraries kann nicht installiert werden
CODESYS Forge
talk
(Post)
IOT Package SL 1.12.0.0 läst sich nicht Installieren da keine Installation gefunden wurde in die die das Package installiert werden kann. Windoof 11 Installer 2.5.0 Codesys V3.5 SP21 Patch 3+ 64 Bit. Hat jemand einen Rat für mich ? Bin um jeden Tip dankbar. herzliche Grüße an alle.
Last updated: 2025-11-25
Post by blitz on SMC_ERROR SMC_CGR_INVALID_POSPERIOD
CODESYS Forge
talk
(Post)
Codesys - SMC_ERROR SMC_CGR_INVALID_POSPERIOD - Invalid modulo period less than or equal to zero or greater than half the bus bandwidth. Has anyone seen this error and actually understands what it means and how to get rid of it? I tried to work around it by reducing the number of increments on the drive but then the drive itself starts throwing errors.
Last updated: 2025-12-15
Post by worker69 on Alarmgruppenvorlage kann über Kontextmenü keine weitere Latch Variable hinzugefügt werden
CODESYS Forge
talk
(Post)
Hallo, ich habe das problem, dass ich in einer Alarmgruppenvorlage keine wietere LATCh Variable hinzufügen kann. Wenn ich dies über das Kontextmenü versuche, dann erscheint folgende Fehlermeldung "Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt". Ich verwende Codesys V3.5.19 P0 und 23.5.19 P7 Was mache ich falsch
Last updated: 2026-01-05
Post by elektron785 on Nach Neuinstallation Plug-In Fehler
CODESYS Forge
talk
(Post)
Ich kann nur sagen, dass ich die gleichen Probleme habe. Aber auch erst neuerdings. Zuerst kam auch die Meldung mit dem falschen Versionsprofil. Habe jetzt schon mehrere Sachen versucht Neuinstallation / Reparatur. Alles deinstalliert. Leider hat das bei mir noch nicht geholfen. Codesys läuft unendlich langsam - immer wieder keine Rückmeldung.
Last updated: 2026-01-22
Post by yoeri on Python Scripted Save_Archive with noUI
CODESYS Forge
talk
(Post)
Is there any update on this? Running codesys 3.5.19.70 proj = projects.open(project_path, primary=True, update_flags=flags) This gives an error only when using --noUI exception System.NullReferenceException: Traceback (most recent call last): File "C:\Project\ci\build.py", line 14, in <module> SystemError: Object reference not set to an instance of an object. Exit code: 1</module>
Last updated: 2026-01-30
Post by peteryapab on Login Screen to small for 10" screens
CODESYS Forge
talk
(Post)
Hi! I hade made a visualization within Codesys V3.5 SP21 Patch 3, where i call for the user management and login. The VisuUserManagement.VMU_Login and VisuUserManagement.VMU_Login2 are to small for the screen it looks good and works fine if you are on a computer with large scrren but gets finicky on the smaller screen. any ide´s how to make the login dialog bigger?
Last updated: 2026-02-01
Post by timvh on CODESYS: Combining Master Redundancy with EtherCAT Ring Topology – Is it Supported?
CODESYS Forge
talk
(Post)
Yes, this works (at least we have it running with Wago PLC and Beckhoff I/O), but the concept works. You need 2 PLC's with at leat 3 network interfaces. And 2 switches (can be unmanaged). See the attached simple diagram for the solution.
Last updated: 4 days ago
Post by mrkm-dic on CODESYS: Combining Master Redundancy with EtherCAT Ring Topology – Is it Supported?
CODESYS Forge
talk
(Post)
Hi! thanks for reply. We tested the configuration you proposed as well; however, when the cable between the controller and the switch was disconnected, the Active and Standby roles were swapped. Did you observe the same behavior in your configuration using WAGO and Beckhoff?
Last updated: 3 days ago
Post by gatto on EXCEPTION [watchdog] how to find position cause
CODESYS Forge
talk
(Post)
hi. My plc is weidmuller UC20-WL200-AC, IDE CODESYS 3.5.20.40, see picture for task settings. sometime i've got the plc stop. Reading the log, I find: EXCEPTIONPOSITION : IP=0x(nil) (no IECcontext could be retrieved) component CmpIecTask EXCEPTION [Watchdog] occurred: App=[Application], Task=[TASK_O_MAIN] component CmpIecTask How to find the position of problem?
Last updated: 3 days ago
Post by yr00 on OPC UA datasource low read frequency
CODESYS Forge
talk
(Post)
Hello everyone, I am trying to test the OPC UA client feature in Codesys. My setup is the following; I have a Codesys simulation/ visualization running on Control Win V3. My OPC UA server is hosted on a Siemens 1518 PLC using PLCSim Advanced. The setup is completely virtual so there are no really PLCs. Everything is on my laptop. Writing data from the Codesys simualtion to the server is very quick. I have a PLC program running on another 1500 PLC which reads data from simulation via the server, and changes in the simulation (e.g. button pressed) appear within hundreds of miliseconds if not tens of miliseconds in my PLC program. However, when it comes to reading data from the OPC UA Server by Codesys, it taks around 1-2s. I connected a UAExpert client and it gets update very quickly so I am fairly sure the problem is with Codesys. I have tried changing the update rate in datasource -> General and Diagnosis, but it doesn't seem to have an effect. Do you guys have any suggestion on what I can do?
Last updated: 2023-08-29
Post by ofey on Codesys Soft PLC OPC UA server
CODESYS Forge
talk
(Post)
Hi! I'm sorry if this has been asked before. I have tried looking up previous topics regaring this, but even though I'm following tutorials and other posts I cant seem to get this to work consistently. I actually got the connection established on a test project after some trial and error. I only got it to work with the "Anonymous login". But after i deleted the test project and tried to get the same thing to work on another project I cant get it to work anymore. What I'm trying to do: Set up and OPC UA Server using CODESYS with the free soft PLC. I then try to connect to the OPC UA Server with the program "UaExpert". What happens: I get the error Error "'BadUserAccessDenied' was returned during ActivateSession". What I have done in CODESYS: - Added the object "Symbol configuration" and checked some test variables - Checked "Support OPC UA features - In "Communication settings -> device -> Change runtime security policy" I have checked "Allow anonymous login" What I have done in UAExpert: - Found the OPC UA server under "local". (It is showing two servers though, I do not know why. It showed the same when it worked yesterday). Se attachment - Checked "Anonymous" under "Authentication settings in the OPC UA server. I'm new to CODESYS, so it could be something elementary wrong in my settings. Maybe something in the user settings in CODESYS regarding user rights or something?
Last updated: 2023-09-14
Post by ahuckphin on Issues with Modbus Slave with Raspberry Pi
CODESYS Forge
talk
(Post)
I have a DFRobot RS485 temperature & humidity sensor (SEN0438) connected to my Raspberry Pi via a USB to RS485 adapter. I am able to connect and read the sensor data when running a python code locally. However in Codesys, I encounter this error "A bus error has occurred." and "There was no response in time". Could this be because of Modbus Server Channel and Modbus Server Init configuration on my part? Admittedly I am new to Codesys. To get to this stage, I: 1. added some lines to CODESYSControl_User.cfg 2. added "Modbus_COM" in Codesys and set "Serial Port Configuration" under "General" 3. added "Modbus_Master_COM_Port" in Codesys and checked transmission mode is set to "RTU" 4. added "Modbus_Slave_COM_Port" in Codesys and checked server address is set to 1 (also set 1 in my sensor) 5. added 1 channel and 1 init for "Modbus_Slave_COM_Port" under "Modbus Server Channel" and "Modbus Server Init"
Last updated: 2024-07-10
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.