Which Lib to use, connect to a socket with URL instead of IP address
CODESYS Forge
talk
(Thread)
Which Lib to use, connect to a socket with URL instead of IP address
Last updated: 2025-11-12
Post by mariusz997 on Visualisation - internal error
CODESYS Forge
talk
(Post)
Hi - problem solved. I had 3 version of codesys on system and they didn't like each other. After uninstall all and install again only one version now everything is OK
Last updated: 2025-11-12
Visualisation - internal error
CODESYS Forge
talk
(Thread)
Visualisation - internal error
Last updated: 2025-11-12
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
Upgraded Raspberry 2b to Raspberry 5, Trends Broken?
CODESYS Forge
talk
(Thread)
Upgraded Raspberry 2b to Raspberry 5, Trends Broken?
Last updated: 2025-11-13
Post by grepoo on Data Source Error 418
CODESYS Forge
talk
(Post)
Hi, Same error here, have you found any solution ? Thx
Last updated: 2025-11-14
Data Source Error 418
CODESYS Forge
talk
(Thread)
Data Source Error 418
Last updated: 2025-11-15
Post by emmieturner on Which Lib to use, connect to a socket with URL instead of IP address
CODESYS Forge
talk
(Post)
hi, maybe Net Base Services https://forge.codesys.com/prj/codesys-example/nbs/home/Home/ https://geometrydashlite.online Thank for sharing
Last updated: 2025-11-16
Save a comparison of two codes
CODESYS Forge
talk
(Thread)
Save a comparison of two codes
Last updated: 2025-11-16
Alarm Table Issues
CODESYS Forge
talk
(Thread)
Alarm Table Issues
Last updated: 2025-11-17
Post by davidbo on *EXCEPTION* [ProsessorLoadWatchdog] codesys 3.5.11.40
CODESYS Forge
talk
(Post)
Under Application->"Task Configuration" you can find your task double click on that and you will see a fane to the right. You find the watchdog enable switch it off or increase the time
Last updated: 2025-11-17
Post by davidbo on Clean old license into an image SD
CODESYS Forge
talk
(Post)
That might not be enough using CODESYS V3.5 SP20 and CODESYS Control for Raspberry Pi MC SL version: 4.11 I deleted .cmact_license directory. I installed new license and the dialog box said it was done successfully, but in reality it was not. What more should be deleted 5:/var/opt/codesys$ ls -la total 1948 drwxr-xr-x 10 root root 4096 Nov 17 12:29 . drwxr-xr-x 5 root root 4096 Jul 30 2020 .. -rw-r--r-- 1 root root 100014 Nov 17 12:08 .Audit_0.log -rw-r--r-- 1 root root 100040 Nov 17 11:30 .Audit_1.log -rw-r--r-- 1 root root 100062 Nov 17 09:18 .Audit_2.log -rw-r--r-- 1 root root 66260 Nov 17 12:36 .Audit.log drwxr-xr-x 2 root root 4096 Mar 30 2020 backup -rw-r--r-- 1 root root 2640 Feb 22 2024 bacstac.ini drwxr-xr-x 4 root root 4096 Mar 30 2020 cert drwxr-xr-x 2 root root 4096 Nov 17 12:29 .cmact_licenses drwxr-xr-x 2 root root 4096 Mar 30 2020 _cnc -rw-r--r-- 1 root root 1000088 Nov 17 08:35 codesyscontrol_0.log -rw-r--r-- 1 root root 422521 Nov 17 12:30 codesyscontrol.log -rw-r--r-- 1 root root 355 Nov 17 12:29 .GroupDatabase.csv -rw-r--r-- 1 root root 355 Nov 17 12:19 .GroupDatabase.csv_ drwxr-xr-x 3 root root 4096 Nov 17 11:16 OPCUAServer drwxr-xr-x 6 root root 4096 Mar 30 2020 .pki drwxr-xr-x 9 root root 4096 Nov 17 11:16 PlcLogic -rwxr-xr-x 1 root root 156 Mar 30 2020 rts_set_baud.sh -rw-r--r-- 1 root root 20736 Feb 22 2024 .SoftContainer_CmEmbedded.wbb -rw-r--r-- 1 root root 12445 Nov 17 09:06 SysFileMap.cfg -rw-r--r-- 1 root root 1983 Feb 22 2024 .UFC_SoftContainer_CmEmbedded.WibuC mLif -rw-r--r-- 1 root root 646 Nov 17 09:51 .UserDatabase.csv -rw-r--r-- 1 root root 646 Nov 17 09:51 .UserDatabase.csv_ -rw-r--r-- 1 root root 17305 Nov 17 12:29 .UserMgmtRightsDB.csv drwxr-xr-x 2 root root 4096 Mar 30 2020 visu -rw-r--r-- 1 root root 32684 Feb 8 2023 WibuCtxt.ctx
Last updated: 2025-11-17
Clean old license into an image SD
CODESYS Forge
talk
(Thread)
Clean old license into an image SD
Last updated: 2025-11-17
Post by eschwellinger on Deploy LicenseServer for Linux SL
CODESYS Forge
talk
(Post)
yes it is and it need to be realtime capable with a preempt_rt patched kernel.
Last updated: 2025-11-17
STEPPER CODESYS SOFTMOTION_DRIVE
CODESYS Forge
talk
(Thread)
STEPPER CODESYS SOFTMOTION_DRIVE
Last updated: 2025-11-17
Post by kalmeyer on STEPPER CODESYS SOFTMOTION_DRIVE
CODESYS Forge
talk
(Post)
Hello everyone I have been trying to solve this problem for a long time. Please help me..... I have browsed: https://forge.codesys.com/drv/sm3raspistepper/home/Home/ and it says under "IMPLIMENTATION" that I have to create a POU with the text to be able to use: MC_Power or MC_MoveVelocity How do I write it into the CODESYS program? Thanks in advance /Klaus Kalmeyer
Last updated: 2025-11-17
Post by eschwellinger on Deploy LicenseServer for Linux SL
CODESYS Forge
talk
(Post)
yes it is and it need to realtime capable with a preempt_rt patched kernel.
Last updated: 2025-11-17
Opc UA Data Source Client Browse Error in Codesys HMI
CODESYS Forge
talk
(Thread)
Opc UA Data Source Client Browse Error in Codesys HMI
Last updated: 2025-11-17
Post by tjacks on Opc UA Data Source Client Browse Error in Codesys HMI
CODESYS Forge
talk
(Post)
Codesys V3.5 SP21 Patch 3 Codesys HMI 3.5.21.30 I'm trying to connect to an OPC UA server on a Kuka robot controller using Codesys HMI's data source manager. I get through the login phase and the client browses most of the data structure on the server but errors out toward the end with a generic: Error while browsing the client, Failed with service result: BadUnexpectedError. If I complete the data source setup and try to update variables, I get the attached stack trace for the error. I've tried several different endpoint and security options. Most get me through the login but all error out while browsing. UA Expert happily connects and browses with the same configuration. I've connected this same version of Codesys to TwinCAT OPC UA servers and Siemens PLC OPC UA servers. Any ideas on what may be causing the generic BadUnexpectedError during OPC UA server browse?
Last updated: 2025-11-17
'keep last value' option in CODESYS EtherCAT
CODESYS Forge
talk
(Thread)
'keep last value' option in CODESYS EtherCAT
Last updated: 2025-11-18
Post by ryusoup on 'keep last value' option in CODESYS EtherCAT
CODESYS Forge
talk
(Post)
Hello, I’m using CODESYS EtherCAT Master on a Raspberry Pi controller with several remote I/O modules. I’m facing an issue where the input values from the remote I/Os drop to 0 when a connection error occurs. Is there a way to configure a “keep last value” behavior (i.e., hold the last valid input) instead of defaulting to 0 on communication loss? Best regards,
Last updated: 2025-11-18
Post by eschwellinger on Deploy LicenseServer for Linux SL
CODESYS Forge
talk
(Post)
for the package you net to install 32bit support(to have the native timprovider availble to deploy) sudo apt-get install libc6:i386 Then native Safeplc and native Safetimeprovider should be available to install. Raspi yes - but there is no official package available till now and you need have a rt_preemt patched kernel on the Pi, then it works like charm
Last updated: 2025-11-18
Fuzzy Logic PID Controller
CODESYS Forge
talk
(Thread)
Fuzzy Logic PID Controller
Last updated: 2024-04-24
Post by jonasz on Deploy LicenseServer for Linux SL
CODESYS Forge
talk
(Post)
Good morning, I'm digging into this topic because I'm curious about resolving my problem in a test environment. In my previous message, I asked about the CODESYS Safe Timeprovider SL package (4.18.0.0), which I saw in the illustration. I noticed that it runs as a service. I am asking about this because from the perspective of an "ordinary" user, this service provides easier access to the settings of the time provider's operating parameters. The basic time provider configuration is outlined at https://content.helpme-codesys.com/en/CODESYS%20Control/_rtsl_virtual_safe_time_provider.html. Why my questions? They stem from my specific case, which is experiencing timeout issues. I know that my environment is currently only a test environment. I'm assuming a real-world scenario in which I won't be able to achieve a better result with my configuration, and I will ultimately need to increase the time provider's cycle time. By running the time provider service, I can easily influence the time provider's operation and thus eliminate the problem. I know, I know, safety systems are not life-enhancing extras.
Last updated: 2025-11-19
Post by seler on Custom button with output status
CODESYS Forge
talk
(Post)
Just to clarify. Output for lamp will have two inputs: from plc IN (wall switch) and from visu button. Until now I had separate object for visu button and separate for visu lamp. Now I want it to be one object, bulb icone which will change color on lamp status and yet by touching it will change visu button state. Tried "Switch Image" object but there is no way to assign switch var.
Last updated: 2025-11-19
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.