Post by mgray on Restoring License
CODESYS Forge
talk
(Post)
Need help restoring Codesys Runtime license. Customer updated the machine hardware, and license no longer works.
Last updated: 2025-06-26
Post by mgray on Restoring License
CODESYS Forge
talk
(Post)
Need help restoring Codesys Runtime license. Customer updated the machine hardware, and license no longer works.
Last updated: 2025-06-26
Post by mgray on Restoring License
CODESYS Forge
talk
(Post)
Need help restoring Codesys Runtime license. Customer updated the machine hardware, and license no longer works.
Last updated: 2025-06-26
Post by mgray on Restoring License
CODESYS Forge
talk
(Post)
Need help restoring Codesys Runtime license. Customer updated the machine hardware, and license no longer works.
Last updated: 2025-06-26
Post by installwhat on Login to Visu optional
CODESYS Forge
talk
(Post)
you can restyle the landing page and do a login via st
Last updated: 2025-07-16
Post by arwie on Bullseye and Waveshare 2-CH CAN FD HAT rev2.1 with two slaves
CODESYS Forge
talk
(Post)
Maybe this can help: https://www.youtube.com/watch?v=NgsJr0hds4k
Last updated: 2025-08-05
Post by eschwellinger on Codesys Virtual control SL
CODESYS Forge
talk
(Post)
hm..please delpoy a virtual edgegateway beside the virtual control and use this as EdgeGateway to login to your virtual plc.
Last updated: 2025-08-08
Post by gepert on GearInPos
CODESYS Forge
talk
(Post)
I solved problem. It is necessary to set MC_stop and execute mc_GearInPos for a while
Last updated: 2025-08-14
Post by jzhvymetal77 on IecVarAccessLibrary.IBaseTreeNode methon
CODESYS Forge
talk
(Post)
I got this code working again. 3S/CoDeSys, your level of obfuscation and lack of documentation turns a simple task into a monumental complex challenge. The issue was that at some point the IecVarAccessLibrary changed and no longer allowed using IBaseTreeNode to retrieve a child or the number of children. The attached code has been updated to use IIecVarAccess6.VarAccBrowseGetChildByIndex instead. The code was also cleaned up but is still a work in progress. The current example only works one layer deep. This means native data types, arrays, and single-layer structures are supported. However, structure arrays and nested structures are not yet supported.
Last updated: 2025-08-25
Post by timvh on Ethernet Adapter issues
CODESYS Forge
talk
(Post)
Maybe your slave device didn't properly closed its socket port and CODESYS is unable to reconnect? Did you restart your slave device?
Last updated: 2025-08-26
Post by antonz on CoDeSys v3.5: creating libraries for both 32-bit and 64-bit controllers
CODESYS Forge
talk
(Post)
Follow up question: in the Project Settings, under Library Development, there is an option related to this: Check all Pool Objects -> Pointer size to use Options are: * 32 Bit * 64 Bit * 32 and 64 Bit The descriptions and online help suggest to me this is only relevant for checking and showing any incorrect pointer types as an error in the IDE. E.g. using a DWORD to store a pointer value on a 64-bit controller. It would not control the creation of either 32-bit or 64-bit compiled libraries. Is that correct?
Last updated: 2025-09-01
Post by beavel on Opening and saving files with fileOpenSave dialog
CODESYS Forge
talk
(Post)
Tim, you my friend is the best ! Thank you. I wish you a fruitful day.
Last updated: 2025-09-09
Post by beavel on Opening and saving files with fileOpenSave dialog
CODESYS Forge
talk
(Post)
Uploading a step by step walk-through in case someone else might find it helpful. :)
Last updated: 2025-09-11
Post by nilanjan on I want to show the current recipe name in the visualization screen
CODESYS Forge
talk
(Post)
Thanks for the reply and suggetion I will try to automate the above process
Last updated: 2025-09-17
Post by durallymax on Persistent Vars
CODESYS Forge
talk
(Post)
Looking for a better way to manage Persistent Variables. We tend to have local vars in our FBs that need persistence through downloads as the systems are updated/altered on a regular basis. Retain would suffice if we had an easy mechanism to backup and restore like we can with Persistent variables and recipes. Although not having to remember that step with Persistent variables is preferred. We're running into issues with persistent storage capacity (WAGO PFC200) using the Persistent variable list (and adding all instances). It appears there are many ways to handle this, some with recipes, some with files, others with application manager. Is there a solution that exists that is as simple as declaring as Persistent and managing elsewhere? Or do we need to move onto periodically writing CSVs?
Last updated: 2025-09-22
Post by eschwellinger on Gateway in China - "Gateway not connected"
CODESYS Forge
talk
(Post)
We have tested this and it had worked at that time with China. which device is it? Anything special?
Last updated: 2025-09-23
Post by hteich on Date and time to String variable
CODESYS Forge
talk
(Post)
Did you find out how to do it? The link posted by lukas didn't help me much further
Last updated: 2025-10-07
Post by ranadheer on Implementation of IEC-104
CODESYS Forge
talk
(Post)
Hi Everyone, As we didn't have client for IEC - 104 - only server server is available , so because of that we are trying to make establish the communication between the external simulator as a Client and codesys itself as a server. We are looking for the variable behavior from CODESYS has to change according to the message triggered by the CLIENT (we are using simulator Application like Redisant). We are able to see the log data as the status of triggering the SCS from Client received to the Log data of the codesys device(attached screen shot of it) and in simulator panel we had set the details to trigger the data from Redisant to Codesys. Current Status: The project builds and runs successfully, but I need guidance on how to connect this to an external IEC-104 simulator for testing and visualization by using demo mode.
Last updated: 2025-10-14
Post by ranadheer on Implementation IEC-104
CODESYS Forge
talk
(Post)
Hi Everyone, As we didn't have client for IEC - 104 - only server server is available , so because of that we are trying to make establish the communication between the external simulator as a Client and codesys itself as a server. We are looking for the variable behavior from CODESYS has to change according to the message triggered by the CLIENT (we are using simulator Application like Redisant). We are able to see the log data as the status of triggering the SCS from Client received to the Log data of the codesys device(attached screen shot of it) and in simulator panel we had set the details to trigger the data from Redisant to Codesys. Current Status: The project builds and runs successfully, but I need guidance on how to connect this to an external IEC-104 simulator for testing and visualization by using demo mode.
Last updated: 2025-10-14
Post by eschwellinger on Update Raspberry Pi error
CODESYS Forge
talk
(Post)
you could try to uninstall 4.8.0.0 Package by the CODESYS installer - and reinstall (I would use current version) - this should solve it
Last updated: 2023-12-09
Post by budd7566 on Text size suddenly changed
CODESYS Forge
talk
(Post)
Iv been working with a Deep Sea Electronics DSE840 for about 6 months. I have a development version of my program working with a state machine and a basic gui interface. I went to implement CAN and suddenly the text on the gui on the controller is much larger than before. I could flash old versions of my project and the text was the correct size, but if i renamed the project file, the text displayed would be large. The visualization in CODESYS always shows the expected size, but not the controller. I did a fresh install of CODESYS and even a new project with only one text box, I cant get the text size on the controller to match what is displayed in codesys to match. Any advice?
Last updated: 2023-12-09
Post by snhatton on OpC UA server on Raspberry Pi 64 SL runtime
CODESYS Forge
talk
(Post)
Good afternoon, After changing the security settings to: CommunicationPolicy: POLICY_BASICSHA256SHA256 CommunicationMode: ALL Activation: Activated UserAuthentication: ENABLED Then generate a new certificate on the device for the OPC-UA server from Security Agent->Device->OPC UA Server. Restart the runtime using tools->Update Raspberry Pi->Stop->Start for the changes to take effect. It may take a minute for the runtime to start. Initiate the connection from the UA server side. You should see a pop-up asking you to trust the certificate. Click on the button 'Trust Server Certificate'. Next, you should see a certificate in the quarantined folder of the security agent in CODESYS. Click and drag this from quarantined to trusted and then try connecting from UA expert to the device. These steps worked for me and my setup and I hope they can help you!
Last updated: 2023-12-11
Post by ton on How to create a stopwatch?
CODESYS Forge
talk
(Post)
If you use LTIME() you will be very accurate and be able to have a normal task cycle time.
Last updated: 2023-12-16
Post by eschwellinger on Application based license problem - Modbus TCP
CODESYS Forge
talk
(Post)
Which versions exactly are involved? Runtime on PI? CODESYS Version and compilerversion?
Last updated: 2023-12-18
Post by giglecald on Visualisations in Frames
CODESYS Forge
talk
(Post)
Almost 2024 and I'm looking for this too XD Can't seem to find a way to get the current visualization inside a frame
Last updated: 2023-12-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.