Post by totorovic on Persistent variables lost
CODESYS Forge
talk
(Post)
IDK why you lost values but about the limit, when you compile, you should have the information about the memory remaining.
Last updated: 2024-09-13
Post by athuum on Error 'Library not found' and 'Unkown type'
CODESYS Forge
talk
(Post)
I have found the solution, the CmpEventMgr version has to correspond with the 3sLicense version.
Last updated: 2024-10-10
Post by j-page on I have errors while building the project
CODESYS Forge
talk
(Post)
I updated the Codesys version from βV3.5 SP20β to βV3.5 SP20 Patch1β and that solved the problem.
Last updated: 2024-10-15
Post by andrax on using ADS1115
CODESYS Forge
talk
(Post)
I have the ADS1115 running and have no problems. But have you used a level shifter between the ADS1115 and the Raspberry?
Last updated: 2024-11-01
Post by fedu on Programmatically change the IP addresses of the Modbus TCP slave devices
CODESYS Forge
talk
(Post)
I have the same need. Did you solve it? thanks
Last updated: 2024-12-10
Post by mubeta on Strange problem with the βMC_SetPositionβ function
CODESYS Forge
talk
(Post)
Here is the archive of the simulation project: https://drive.google.com/file/d/1n74Qy-1yLPpI2OK4FaZO5q50y2uTa0Wr/view?usp=drive_link
Last updated: 2025-01-12
Post by ulvis on What is the CFC editor (page oriented) "Add page" keyboard shortcut?
CODESYS Forge
talk
(Post)
As the caption "What is the CFC editor (page oriented) "Add page" keyboard shortcut?"
Last updated: 2025-04-03
Post by ulvis on What is the CFC editor (page oriented) "Add page" keyboard shortcut?
CODESYS Forge
talk
(Post)
As the caption "What is the CFC editor (page oriented) "Add page" keyboard shortcut?"
Last updated: 2025-04-03
Post by tk096 on Max lines of code, codesys CNC ?
CODESYS Forge
talk
(Post)
Hi, this is a bug in CODESYS Softmotion. Due to this bug the size is limited to a maximum of 32767 elements. However, we recommend to use way smaller buffer sizes. You could use a small buffer (it should be big enough so that it does not run empty when the interpolator processes the elements). In the beginning you fill the buffer in PLC_PRG until it is full. Afterwards, you start the interpolator. The interpolator processes the elements and removes them as soon as it travels past them. In PLC_PRG you check whether new elements can be stored in the buffer (NOT QUEUE.bFull). If the buffer has space, you generate the next elements and add them to the buffer (SMC_AppendObj()). I hope this helps you.
Last updated: 2025-06-04
Post by maxkemmeren on I have errors while building the project
CODESYS Forge
talk
(Post)
Is there any update on what caused the problem? I am running SP19 Patch 5 and having the same errors
Last updated: 2025-06-25
Post by eschwellinger on Licensing info not available.
CODESYS Forge
talk
(Post)
you could add the ip of the license server by the deploy tool https://content.helpme-codesys.com/en/CODESYS%20Control/_rtsl_license_controller_linux.html
Last updated: 2025-09-29
Post by joanm on Programmatically change the IP addresses of the Modbus TCP slave devices
CODESYS Forge
talk
(Post)
Hello all, I am working in a project in which there are multiple Modbus TCP slaves. I need to be able to change the IP addresses of those devices from the HMI and I was planning to use the process depicted here: https://faq.codesys.com/display/CDSFAQ/Modbus+TCP+Slave%3A+Dynamic+Setting+of+the+IP+Address I can see the port number is what is used to specify which slave device we want to modify the IP address of. This said, can I freely set arbitrary port numbers to each device? I mean, can I set the first device to be at port 502, the second one at port 503... Any drawback or restriction? Is there any other way to reference to the device without having to change the port numbers? Thank you all in advance.
Last updated: 2024-01-04
Post by reinier-geers on Gear on is slave offline
CODESYS Forge
talk
(Post)
When i Put Gear on, the the slave goes off.. Why ? Disable Gear_on and Reinit the drive its back
Last updated: 2024-01-14
Post by eschwellinger on RaspberryPI reconnection error
CODESYS Forge
talk
(Post)
the problem is bookworm, please use the October release, this will be fixed with 4.11.0.0 of the plc runtime release (February)
Last updated: 2024-01-21
Post by sumit on Error IoDrvEthernetIP: Connection Failure. (16#1) How to solve
CODESYS Forge
talk
(Post)
harinator, I am facing the the issue. Were you able to find the solution. thanks,
Last updated: 2024-03-07
Post by dhumphries on How to address visualization change with button press...
CODESYS Forge
talk
(Post)
you can configure the button actions in the hotkey tab in the visualization.
Last updated: 2024-03-15
Post by strannik on Estun servo with codesys
CODESYS Forge
talk
(Post)
tested the servo with the SML_Drive_CAN_Generetic402 driver. Works. SM_Drive_Generetic402 does not work with the driver. How can signals be reassigned?
Last updated: 2024-03-17
Post by eschwellinger on License problem gateway
CODESYS Forge
talk
(Post)
as a workaround just plug your USB key to the CODESYS PC - and activate the ticket by the browser license.codesys.com
Last updated: 2024-03-27
Post by vincentd on Datasource OPC UA Client error ID:7012
CODESYS Forge
talk
(Post)
the target is the codesys software executing the PLC code like ladder / instruction list etc...
Last updated: 2024-04-05
Post by wiresplus on How to display the application name on a visualization (V3.5.16)
CODESYS Forge
talk
(Post)
Intetrested... I added the CmpApp library, but cannot find the AppGetApplicationInfo you mention.
Last updated: 2024-05-15
Post by timvh on Display minutes as hours & minutes
CODESYS Forge
talk
(Post)
You could use the Modulo function to get the minute part from the total minutes: Minutes := TotalMinutes MOD 60;
Last updated: 2024-05-27
Post by timvh on Sensor not set
CODESYS Forge
talk
(Post)
Your function block instance is not called, so the code is not executed to set the light on when the button is pressed.
Last updated: 2024-05-27
Post by robpqs on Program from one PLC to other WAGO 750-8204
CODESYS Forge
talk
(Post)
Hello, You use the WAGOUpload tool. You can download it on the download center of WAGO. Make a backup and restore it on the new device. (if can check the remanent data to copy the persistent variables if necessary) You can also use a SD card, go to the WBM copy it the image to the SD card and restart the other controller on the SD card. In the WBM, copy it back to the internal flash. If you contact your local Wago office, they will more than probably help you. There is also a WAGO forum. RP,
Last updated: 2024-05-27
Post by kuegerls on SysProcessExecuteCommand2 and CANopen Device
CODESYS Forge
talk
(Post)
I am now executing the process in a separate task with lower priority, but unfortunately, the connection to the master is still interrupted.
Last updated: 2024-06-21
Post by ranadheer on Publish Multiple Topics via MQTT
CODESYS Forge
talk
(Post)
could you suggest the process you followed to make publish the data through the broker application (Mosquitto)
Last updated: 2025-12-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.