Post by dafalin-codesys on Transparent wireless serial bridge for Modbus RTU β experience with LoRa/WiFi RS-485 link to CODESYS runtime
CODESYS Forge
talk
(Post)
Last updated: 2026-03-18
CODESYS crashes when adding standard OPC UA Information Model to Communication Manager
CODESYS Forge
talk
(Thread)
CODESYS crashes when adding standard OPC UA Information Model to Communication Manager
Last updated: 2026-03-27
Blocking UDP ports 1740β1743 and 22350 to disable CODESYS network scan (startup + device discovery)
CODESYS Forge
talk
(Thread)
Blocking UDP ports 1740β1743 and 22350 to disable CODESYS network scan (startup + device discovery)
Last updated: 2026-03-31
Post by nicolasquintin on Codesys Installation Always Freeze when the installing is almost done
CODESYS Forge
talk
(Post)
Hi, I'm having the same issue. Did you find a way to successfully install Codesys software ?
Last updated: 2026-04-04
Codesys v3.5.22.10 - Internal error:System.AggregateException...Value cannot be null...Parameter name: expLValue
CODESYS Forge
talk
(Thread)
Codesys v3.5.22.10 - Internal error:System.AggregateException...Value cannot be null...Parameter name: expLValue
Last updated: 2026-04-22
CODESYS SoftRedundancy β Both PLCs stay standalone after network interruption β Auto recovery not working
CODESYS Forge
talk
(Thread)
CODESYS SoftRedundancy β Both PLCs stay standalone after network interruption β Auto recovery not working
Last updated: 2026-05-02
CodeSys OPC UA client Unable to Connect To OPC UA sever through Username and password
CODESYS Forge
talk
(Thread)
CodeSys OPC UA client Unable to Connect To OPC UA sever through Username and password
Last updated: 2026-05-07
Codesys Trend - setting Y axis minimum and maximum as variables - error
CODESYS Forge
talk
(Thread)
Codesys Trend - setting Y axis minimum and maximum as variables - error
Last updated: 4 days ago
OPC UA Codesys 3.5 Symbolkonfiguration VS Kommunikationsverwalter und Python/UA-Expert
CODESYS Forge
talk
(Thread)
OPC UA Codesys 3.5 Symbolkonfiguration VS Kommunikationsverwalter und Python/UA-Expert
Last updated: 3 days ago
Post by benwzd on How to get SYM File on CodeSys 3.5
CODESYS Forge
talk
(Post)
Hello, I am looking to obtain the SYM file on CodeSys please? this is to import into PCVue Thanks
Last updated: 2026-01-27
CODESYS: Combining Master Redundancy with EtherCAT Ring Topology β Is it Supported?
CODESYS Forge
talk
(Thread)
CODESYS: Combining Master Redundancy with EtherCAT Ring Topology β Is it Supported?
Last updated: 2026-02-06
AM243 LaunchPad as PROFINET Device with CODESYS β RPC Aborted error when scanning devices
CODESYS Forge
talk
(Thread)
AM243 LaunchPad as PROFINET Device with CODESYS β RPC Aborted error when scanning devices
Last updated: 2026-03-13
Codesys Trend - setting Y axis minimum and maximum as variables - error
CODESYS Forge
talk
(Thread)
Codesys Trend - setting Y axis minimum and maximum as variables - error
Last updated: 2026-03-22
Post by heman on CODESYS and Github Copilot
CODESYS Forge
talk
(Post)
you might want to have a look at www.plc-assist.com . its an agentic chatbot that connects to you codesys projects.
Last updated: 2026-04-27
CODESYS Date/Time Picker in Dialog does not update value on close (focus issue) β any workaround?
CODESYS Forge
talk
(Thread)
CODESYS Date/Time Picker in Dialog does not update value on close (focus issue) β any workaround?
Last updated: 5 days ago
Post by pernockham on Persistence Manager: Config File not found?
CODESYS Forge
talk
(Post)
Back in november I paused this, but wanted to reattempt using the persistent manager, the behavior is still the same. Most "login attempts" s are stopped with the message "One or more errors occurred" but I have no idea what that error might be. The only clue is this message is presented while the lower left status box says "Generating code...: relocation pou". For clarification. Build/Generate code is successful, no errors. Error appears when I try to download/login (physical or simulation) to a device. I did manage to login (in simulation mode) at one point, but then the error message "PersistenceChannel: Config file not found!". And no persistence files were created. I have done device-tree/reset-orgin also clean/clean all etc. Removed/re-inserted persistance manager. Behaviour is just the same. Removing Persistence Manage and everything is working OK. Is there possibly more info somewhere about the "One or more errors occured"-message?
Last updated: 2025-03-20
Post by pernockham on AC Persistence - values are not read from file during start?
CODESYS Forge
talk
(Post)
Im struggling with the AC Persistence. AC persistence seems to work for any variable that is changed online and values are kept during reboot. However, if I try to edit the persistence files offline or replace the persistence files with a previously downloaded older persistence file (with modified values), the online value will not follow, as if the system did not at all read the file at boot? My testing sequence. - Edit a the value of a persistenced variable (with xSaveOnChange = True) - Save/download the associated persistence file, (and confirm the value has changed). - Edit the value online for a second time . - Stop runtime - Replace (upload) the persistence file with my previously downloaded file . - Coldstart/Warmstart/Start runtime - Whatever Im trying the value of my persistence variable will always be equal to that of my second edit as if the file is not read/considered during boot. What am I doing wrong?
Last updated: 2025-09-02
Post by mavitia on Application based license problem - Modbus TCP
CODESYS Forge
talk
(Post)
I am running ubuntu on a raspberry pi, and installed an application based license Control Basic M on it, it runs a demo program fine, does not timeout etc. however, when I add a modbus TCP device, I start getting errors: <Entry severity="error" component="CmpApp" user="nobody" timestamp="12/18/2023 3:49:42 PM" infoId="24">Online change denied. Application Application is in exception state!</Entry> <Entry severity="error" component="CmpApp" user="nobody" timestamp="12/18/2023 3:49:42 PM" infoId="68">Download failed: Application=Application</Entry> <Entry severity="exception" component="CmpApp" user="nobody" timestamp="12/18/2023 3:49:41 PM" infoId="0">Application app=Application has invalid license metrics!</Entry> the modbus tcp slave runs, and the counter ticks up, however, when I call the variables on the %IX0.0 in my program, and try to upload the changes, I am getting the error messages which stop the program as far as I understand, the application based, M includes 2 fieldbus instances, but on the other side is fairly new, anything obvious I am missing out here?
Last updated: 2023-12-18
Post by culius on JSON
CODESYS Forge
talk
(Post)
Hey guys, I am trying to write a JSON. First time after login in PLC after download everthing works. But when I want to change values during runtime and try to recreate the JSON nothing happens. When forcing the xStart as an impulse i want to recreate it and see 2 as Key3 instead of 1 from the first run. Any Idea how to make this work? PROGRAM test VAR factory : JSON.JSONDataFactory; eDataFactoryError : JSON.FBF.ERROR; pJsonData : POINTER TO JSON.JSONData := factory.Create(eError => eDataFactoryError); fb_JBuilder : JSON.JSONBuilder; wsValue : WSTRING; diRootIndex, diObject1Index : DINT; iValue : INT; jsonArrayWriter : JSON.JSONByteArrayWriter; wsJsonData : WSTRING(1000); xFirst : BOOL := TRUE; END_VAR IF xFirst THEN fb_JBuilder(pJsonData := pJsonData, diRootObj => diRootIndex); wsValue := "Value1"; fb_JBuilder.SetKeyWithValue("Key1", wsValue, diParentIndex := diRootIndex); diObject1Index := fb_JBuilder.SetKeyWithObject("Key2", diParentIndex := diRootIndex); iValue := iValue + 1 ; // -----------!!! secound run should increment key3!!!!------------ fb_JBuilder.SetKeyWithValue("Key3", iValue, diParentIndex := diObject1Index); xFirst := FALSE; END_IF jsonArrayWriter(xExecute := TRUE, pwData := ADR(wsJsonData), udiSize := SIZEOF(wsJsonData), jsonData := pJsonData^, xAsyncMode := FALSE); Kind Regards
Last updated: 2024-04-30
Post by bertus on Can't get SMC_SmoothPath to work
CODESYS Forge
talk
(Post)
Hi Georg, thanks for your time. What is the value of D_ANGLE_TOL? It is set to 0.01. Do you need the assignment bAbort := NOT bDecoder? Does it help to leave it out? This seems to make no difference. Any errors (e.g. SMC_SmoothPath.Error/ErrorID) or PLC log messages? No errors or log messages. What if you comment out SMC_SmoothMerge and SMC_LimtiDynamics, is corner smoothing still not working? Indeed. Is bDecode written from a different task (e.g. visu)? Then I would recommend to assign to a local variable (bDecodeLocal := bDecode) and use that for all FBs. Otherwise, FBs might see different values of bDecode in a single cycle, which will cause problems. It is a local variable, written from a state machine inside this program. But there is new information: During some trial and error, I tried skipping "stage 2: merge short linear segments" (SMC_SmoothMerge). And suddenly it rounds the corners, see attached image. Looking a bit closer, I noticed that (with the original program) after a download (cold start?), it in fact did round the corners, but only once. Ever next cycle in which the NC program was executed, the corners where not rounded. Not sure if there is any relation, but SMC_SmoothMerge is also the only FB which has no bAbort input. Perhaps I need to reset it (or any buffers) by other means?
Last updated: 2025-12-18
Post by oscardm on Problem install codesys 3.5.17 SP 30 with Codesys Installer
CODESYS Forge
talk
(Post)
Hi, I have a problem with codesys installer: if install a package on the codesys 3.5.17 SP17, and i try to install a package, for example SVN package, the codesys installer report the "digital signature expired error". Anyone have an idea for resolution ? Thanks for your feedback
Last updated: 2024-01-12
Post by landhen on Codesys HMI with a non codesys programmed controller
CODESYS Forge
talk
(Post)
Hello, I would like to know, if it is possible to use codesys for a visualization of parameters in a controller (not PLC) not programmed using Codesys. I intend to use codesys for the visualiztion, and do not know yet what I may require.
Last updated: 2024-02-21
Post by yannickasselin on Linux ARM64 SL, GPIO Access
CODESYS Forge
talk
(Post)
A bit of work but maybe possible to make your own driver using "CODESYS Control SL Extension Package". Look at the "ExternalIoDrv" example. It is installed in "C:\Program Files\CODESYS 3.5.20.0\CODESYS\CODESYS Control SL Extension Package" when you install the "CODESYS Control for Linux SL".
Last updated: 2024-05-08
Post by timvh on Modbus Extended Registers
CODESYS Forge
talk
(Post)
Maybe the following helps: https://forge.codesys.com/prj/codesys-example/modbus/home/Home/
Last updated: 2023-08-26
Post by kumareasu on Code Size
CODESYS Forge
talk
(Post)
Is this "Application Based Licence" is applicable for CODESYS Control RTE SL
Last updated: 2023-09-08
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.