Post by kporter on SoftMotion, accessing PDO input data via object ref/pointer
CODESYS Forge
talk
(Post)
It looks like one can use the OutputData and InputData members of ETCSlaveStack: https://content.helpme-codesys.com/en/libs/EtherCATStack/4.2.0.0/EtherCATStack/ETCSlaveStack.html
Last updated: 2025-10-29
Post by jeroenaero on Difference between using OPCUA symbol configuration and OPCUA Server object
CODESYS Forge
talk
(Post)
Hi, What is exactly the difference between using symbol configuration as OPCUA server or using the Codesys object OPCUA server? What are the advantages and disadvantages of using symbol configuration and OPCUA server object. Please let me know
Last updated: 2025-10-30
Post by kporter on Exception with ReadNbrSlaves function
CODESYS Forge
talk
(Post)
I've been playing with the code using the Windows soft master and the ReadNbrSlaves function block seems to work here: https://content.helpme-codesys.com/en/libs/EtherCATStack/4.8.0.0/EtherCATStack/pou-ETCMasterStack/DynamicConfig/fld-DynamicConfig.html
Last updated: 2025-10-31
Post by gcodejedi on The element of type 'VisuFbElemImage' could not be updated. Reason: Index was outside the bounds of the array.
CODESYS Forge
talk
(Post)
Hello, I am experiencing this exact same issue. Were you able to get yours resolved? If so, would you mind sharing the solution you discovered? Thanks!
Last updated: 2025-11-03
Post by davidbo on How to stay in a method until something is finished.
CODESYS Forge
talk
(Post)
You never stay in a method. You need a block to do that. Something like: VAR button:BOOL:=FALSE; count:UINT:=0; END_VAR IF button THEN //read pressure count:=count+1; IF count>1 THEN button:=FALSE; count:=0; END_IF END_IF
Last updated: 2025-11-04
Post by davidbo on What is the prerequisites for a Raspberry Pi to work with SysSockSetIpAddressAndNetMask()
CODESYS Forge
talk
(Post)
I have done: systemctl stop dhcpcd sudo ip addr flush dev eth0 sudo ip link set eth0 up but a call to SysSockSetIpAddressAndNetMask does not give the eth0 an IP address Why?
Last updated: 2025-11-04
Post by tobifenny on Modbus TLS Kommunikation
CODESYS Forge
talk
(Post)
Hier ist das handbuch: https://www.kostal-solar-electric.com/fileadmin/downloadcenter/kse/BA_KOSTAL_Interface_KSEM_DE.pdf Im Kapitel 1.3.2 ist das mit dem TLS beschrieben und in Kapitel 3.6.2 sind die Modbus-Register beschrieben.
Last updated: 2025-11-06
Post by kalmeyer on Stepper motor control with (SM_Drive_RaspStepper_direct)
CODESYS Forge
talk
(Post)
I have installed: SM_Drive_PosControl 4.18.0.0 and SM_Drive_RaspiStepper_Direct 0.0.0.7 and SM_Drive_RaspiStepper_PulsDir 0.0.0.7 And when I "Generate Code" I immediately get 6 errors (see attached file) What can I do?????
Last updated: 2025-11-09
Post by ranadheer on conformation about the CODESYS Extends SL and CODESYS SDK
CODESYS Forge
talk
(Post)
hello everyone would anyone here respond, Is CODESYS Extends SL and CODESYS SDK are same. If both are not same could you please give related data about this. Best Regards Ranadheer
Last updated: 2025-11-10
Post by kalmeyer on Stepper motor control with (SM_Drive_RaspStepper_direct)
CODESYS Forge
talk
(Post)
Is there perhaps a place where I can see examples of programming with different instructions? This would be a great help. Maybe there are some places where ready-made programs are posted that can be downloaded and tested? /Klaus
Last updated: 2025-11-10
Post by nano on conformation about the CODESYS Extends SL and CODESYS SDK
CODESYS Forge
talk
(Post)
as an oem i can tell you, extension sl isn't the sdk. its more an hard restricted part of it with much missing parts. why u may ask this?
Last updated: 2025-11-11
Post by eschwellinger on Stepper motor control with (SM_Drive_RaspStepper_direct)
CODESYS Forge
talk
(Post)
.. try to use this projectarchive for the Stepper. In case you search for SoftMotion Examples: "c:\Program Files\CODESYS 3.5.21.X\CODESYS\CODESYS SoftMotion\Examples\Tutorial\"
Last updated: 2025-11-11
Post by davidbo on What is the prerequisites for a Raspberry Pi to work with SysSockSetIpAddressAndNetMask()
CODESYS Forge
talk
(Post)
I have now and it works. I had the idea that it had something to do with codesyscontrol.cfg, but where can I find a description of all the things you can set in codesyscontrol.cfg and its syntax?
Last updated: 2025-11-12
Post by jonasz on Deploy LicenseServer for Linux SL
CODESYS Forge
talk
(Post)
After carefully studying the documentation, I have a question: is a second hardware-independent time source required for the correct operation of the VirtualSafety system?
Last updated: 2025-11-17
Post by bruno-roth on 22kW Wallbox mit Modbus
CODESYS Forge
talk
(Post)
Hallo, das ist wohl das falsche Forum für Wallboxen :-) Aber ich empfehle dir Die GO-E-Charger die hat eine sehr offene Schnittstelle und API auch mit Modbus TCP https://github.com/goecharger/go-eCharger-API-v2/blob/main/modbus-de.md
Last updated: 2025-11-17
Post by tristan on Textfield display problem
CODESYS Forge
talk
(Post)
Hello everyone, I have a little problem with textfield display. When I put a solid backgroud, no problem. But when I put it to invisible, some strange things appears with the text. Do you have this kind of issues ? Thanks a lot, Tristan
Last updated: 2025-11-20
Post by jonasz on Deploy LicenseServer for Linux SL
CODESYS Forge
talk
(Post)
Thank you for your response. Is there documentation for the commands? I spent a lot of time trying to figure this out. I have a potato computer at home, so I'll have to test this later.
Last updated: 2025-11-21
Post by dinesh-vamtec on RETAIN PERSISTENT only stored at gracefully shutdown?
CODESYS Forge
talk
(Post)
I have an idea to save the persistent variable. Currently in testing processs. If testing completed I share the solution to you.
Last updated: 2025-11-26
Post by bertram on Installation IOT Libraries kann nicht installiert werden
CODESYS Forge
talk
(Post)
Ok, unter Administratives Ereignis gibt es viele (15)Einträge mit nahezu identischer Uhrzeit, sagen alles das selbe.. EreignisID=0, was Bedeutet das nun ?
Last updated: 2025-11-26
Post by bertram on Installation IOT Libraries kann nicht installiert werden
CODESYS Forge
talk
(Post)
Danke für den Hinweis. Neuer Versuch, anderer Rechner mit Windoew 10, das selbe Verhalten, keine Installation gefunden um das Package zu .... Im Eventlog hab ich nichts auffäliges Entdeckt, auf was genau muss ich Achten ??
Last updated: 2025-11-26
Post by timvh on Access Violation sherd memory
CODESYS Forge
talk
(Post)
Maybe it is better to use Interfaces to access the objects instead of pointers. But besides that, is "read_obj_ptr" a method? If yes, you need to call it, so add brackets behind the method call: read_obj_ptr();
Last updated: 2025-11-27
Post by gseidel on SMC_ERROR.SMC_AXIS_NOT_READY_FOR_MOTION when using Drive Virtual
CODESYS Forge
talk
(Post)
Hi ducng, you need to make sure that MC_Power.Status is TRUE before you give a rising edge to MC_MoveRelative.Execute. (This is the same for virtual and real axes). Best regards, Georg
Last updated: 2025-11-27
Post by gseidel on STEPPER CODESYS SOFTMOTION_DRIVE
CODESYS Forge
talk
(Post)
Hi kalmeyer, I would recommend to have a look at these examples. They come with a project and a description: https://content.helpme-codesys.com/en/CODESYS%20SoftMotion/_sm_basic_examples_single_axis.html. Best regards, Georg
Last updated: 2025-11-28
Post by durallymax on Source code changes since last download
CODESYS Forge
talk
(Post)
What do the details show? Is it requesting an online change or download? If the compile file is missing, it will request a download. Several things can trigger an online change, if you haven't changed the code, likely libraries. The details should provide some guidance.
Last updated: 2025-12-01
Post by eschwellinger on Accessing parameters from a structure or function block with the web interface
CODESYS Forge
talk
(Post)
yes, but you could use a demo project in the analyzer to check other types: https://analyzer-eu.automation-server.com/help/en/tags this should work.
Last updated: 2025-12-02
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.