Post by nano on Creating, using an external Function.
CODESYS Forge
talk
(Post)
hi Andrej, thx for your feedback. i'm very familiar with creating such components. if you need some further help, just clock on me. greetings Nano
Last updated: 2025-07-23
Post by bnewman on IECStringUtils.FormatDateTime
CODESYS Forge
talk
(Post)
Update as of 2025: This function (IECStringUtils.FormatDateTime) doesn't make any sense there isn't any parameter that accepts a Date_Time value. I have no idea what's purpose even is. I am going to use StuSprintf from the StringUtils library for this purpose.
Last updated: 2025-07-25
Post by eksheep on Issue with Timer-Based Increment Function in CoDeSys Ladder Logic (LD)
CODESYS Forge
talk
(Post)
Hi Lamine97, if you are struggling with the LD implementation it would be more helpful for us to see that code in a screenshot.
Last updated: 2025-08-12
Post by alexanderraab on EtherCAT: How to change station-alias/ Slave address
CODESYS Forge
talk
(Post)
Hello, i have the same situation to change the Station-Alias adress online by IEC-Code. Have someone an exsample for that?
Last updated: 2025-08-13
Post by davidbo on SQLite with AC_Datalog and Raspberry Pi
CODESYS Forge
talk
(Post)
I am using V3.5 SP20 and version for AC_Datalog is 4.3.0.0 But in the log I get "DataLogStorage_SQLite: Not able to open table." Why and how to fix that?
Last updated: 2025-08-14
Post by davidbo on Why is Application_DataLog.sqlite not moved to my directory
CODESYS Forge
talk
(Post)
In CODESYScONTROL_User.cfg I have [SysFile] FilePath.1=/etc/, .dat FilePath.2=/home/pi/DataLog/, .sqlite, .sqlite.metadata, .sqlite-journal, .sqlite.tmp PlcLogicPrefix=1 Should that not write the Application_DataLog.sqlite in the /home/pi/DataLog/ directory? Or how do move the working directory for AC_Datalog ?
Last updated: 2025-08-22
Post by pernockham on Persistence Manager: Config File not found?
CODESYS Forge
talk
(Post)
Ok, think I understand. The reason for the error is I try to include complex variables (FB) in the persistenced data. I will try to use {attribute 'ac_persist_exclude'} to exclude those elements.
Last updated: 2025-08-22
Post by timvh on CoDeSys v3.5: creating libraries for both 32-bit and 64-bit controllers
CODESYS Forge
talk
(Post)
You don't have to create 2 libraries. CODESYS will handle it automatically based on the selected device in your application.
Last updated: 2025-08-26
Post by eschwellinger on CODESYS control on RPi starts, shortly runs, then exits
CODESYS Forge
talk
(Post)
in case you are using latest hw revision, there have been added some mac adresses - for the 4.17.0.0 release this might solve it. If not we need to investigate deeper. If it is application related you need to check the plclogger.
Last updated: 2025-09-02
Post by pernockham on AC Persistence - values are not read from file during start?
CODESYS Forge
talk
(Post)
For the protocol. What also works is to do the process via ssh (using runtime on linux) sudo /etc/init.d/codesyscontrol stop modify the persistence file values sudo /etc/init.d/codesyscontrol start
Last updated: 2025-09-03
Post by cmason on v3.5 SP19 - Modbus TCP Devices - Channel Limit?
CODESYS Forge
talk
(Post)
There still is no solution to this. I am running Modbus version 4.4.0.0 and it still wont let me add more than 10 channels. Does anyone have a solution for this?
Last updated: 2025-09-05
Post by cmason on v3.5 SP19 - Modbus TCP Devices - Channel Limit?
CODESYS Forge
talk
(Post)
There still is no solution to this. I am running Modbus version 4.4.0.0 and it still wont let me add more than 10 channels. Does anyone have a solution for this?
Last updated: 2025-09-05
Post by gseidel on High-resolution drive with SoftMotion
CODESYS Forge
talk
(Post)
Hi kporter, what value do you use for the modulo period? Can you please provide the complete axis configuration, including all scaling values? Thanks, Georg
Last updated: 2025-09-08
Post by gseidel on MC_MoveAbsolute: C0138: No matching 'FB_Init' method found for instantiation of SMC_MoveAbsRelPerformerImpl [ERROR]
CODESYS Forge
talk
(Post)
Hi Imdat, can you please provide the exact version of CODESYS and the compiler version in the project settings? Thanks, Georg
Last updated: 2025-09-08
Post by gseidel on Use MC_Home without enabling the drive for homing method 35
CODESYS Forge
talk
(Post)
Hi Artur, as mentioned by imdatatas, homing when not enabled is not supported in SoftMotion. If enabling before homing is not an option, an alternative might be controller based homing using MC_SetPosition. Best regards, Georg
Last updated: 2025-09-08
Post by pernockham on PHOENIX CONTACT Axioline PLCnext project in CodeSys SodftPLC
CODESYS Forge
talk
(Post)
The structure should be the same independent of which runtime version. Im using Codesys control for linux SL. Ie, add an ethernet device, then profinet controler then phoenix PN bus coupler.
Last updated: 2025-09-09
Post by gseidel on Max lines of code, codesys CNC ?
CODESYS Forge
talk
(Post)
We updated our help on the queue sizes, see this new page for our recommendations: https://content.helpme-codesys.com/en/CODESYS%20SoftMotion/_sm_preprocessing_queuesize.html
Last updated: 2025-09-09
Post by timvh on Codesys Control for PLCnext (PLC - AXL F 2152)
CODESYS Forge
talk
(Post)
Do not filter on Phoenix devices. First add an Ethernet device (from CODESYS). Then add a Profinet Controller (from CODESYS). Then add your Phoenix devices to this CODESYS Profinet Controller.
Last updated: 2025-09-09
Post by sharer on Recipe Manager - RecipeManCommands, load & write wrong values, Bug?
CODESYS Forge
talk
(Post)
With reference to the release note for "CODESYS Recipe..." from CoDeSys (https://www.codesys.com/ecosystem/release-lifecycle/releases-updates/recipes/). After updating that software module to v4.6.0.0 on CoDeSys 3.5.21.1 I am no longer able to reproduce the problem.
Last updated: 2025-09-16
Post by flyingsheep on download project via codesys is slow but tftp/ftp/iperf is fast ??
CODESYS Forge
talk
(Post)
Setup description CODESYS is running on an embedded RTOS. For testing, I use a local debugging environment where my PC is connected directly to the embedded SoC via an Ethernet cable (no switch or router in between).
Last updated: 2025-09-20
Post by flyingsheep on download project via codesys is slow but tftp/ftp/iperf is fast ??
CODESYS Forge
talk
(Post)
CODESYS is running on an embedded RTOS. For testing, I use a local debugging environment where my PC is connected directly to the embedded SoC via an Ethernet cable (no switch or router in between).
Last updated: 2025-09-20
Post by liai on can not new a cam table in codesys V3.5 SP20
CODESYS Forge
talk
(Post)
Hi gseidel, Thanks a lot. My softmotion is 4.18,so the SM3_Basic version is 4.18 by default. When I change the version of SM3_Basic to 4.17,complie works good then. Thank you for your kindness.
Last updated: 2025-09-22
Post by zatalian on codesys installer 2.5.0.0
CODESYS Forge
talk
(Post)
Is it just me, or is the option to import a configuration file for the add-ons missing in the new version of codesys installer?
Last updated: 2025-09-24
Post by gseidel on AXIS_REF_SM3 Error Codes?
CODESYS Forge
talk
(Post)
Hi SLUCodesys, dwErrorId is a drive specific error number. The drive documentation should be consulted to interpret it. (Note that you should use MC_ReadAxisError to read this error, see https://content.helpme-codesys.com/en/libs/SM3_Basic/Current/SM3_Basic/POUs/Diagnostics/MC_ReadAxisError.html. Accessing the internal variable will result in outdated values if the acis error is not mapped by PDO and is not recommended in general.) uiDriveInterfaceError holds errors of the SoftMotion driver for the drive. It is also an internal variable, not intended for direct access. It is intended for logging, the PLC log will contain the drive interface error, consisting of this number and an error text. My recommendation for handling axis errors in the CODESYS application: 1) Use MC_ReadStatus on the axis to find out whether it is in state Errorstop 2) If in Errorstop, there are two possibilities: an error reported by the drive (MC_ReadAxisError) or an error of the SoftMotion function blocks (output MC_ReadStatus.FBErrorOccured). 3) If there is no drive error, you can use SMC_ReadFBError https://content.helpme-codesys.com/en/libs/SM3_Basic/Current/SM3_Basic/POUs/Diagnostics/FBError/SMC_ReadFBError.html Best regards, Georg
Last updated: 2025-09-24
Post by dkugler on Requesting ESI Files for Estun Pronet Servo Drives (EtherCAT)
CODESYS Forge
talk
(Post)
you have visited https://en.estun.com/?list_139/1380.html and registered and there are no ESI files at data download? Asked the manufacturer?
Last updated: 2025-09-29
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.