Post by mickael on Motor stepper raspberry pi 5 Codesys
CODESYS Forge
talk
(Post)
Hello, I can't figure out how to configure the DIR and STEP pins of the GPIO for an SM_Drive_RaspiStepper_Pulsdir axis. Can you send me a scan? Also, does the MC_POWER status always remain False? Thanks.
Last updated: 2025-07-06
Post by davidbo on AC_Datalog DataLogChannel Save Cyclic is not working
CODESYS Forge
talk
(Post)
"Save Cyclic" is set to 30s, but in my log I can see my variables are logged every 500ms which equals the cyclic time for my Task. Why is "Save Cyclic" ignored
Last updated: 2025-07-11
Post by andrej on Creating, using an external Function.
CODESYS Forge
talk
(Post)
Hi nano, thanks for your answer, it took me some time but finally it works - the make file provided by the SDK takes care of practically everything :)
Last updated: 2025-07-17
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
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.