Post by jvfred on CodesysHMI.exe: Start Error
CODESYS Forge
talk
(Post)
I have used Codesys HMI SL on several projects. Today I turned my PC on to start building another project and received the following error message when I tried to start my device: "CodesysHMI.exe: Start Error One of the following licenses is required: CodeMeter 101597:13 Failure reason: CmContainer Entry not found, Error 200 CodeMeterAct 5000304:13 Failure reasons: CmContainer Entry not found, Error 200" I have tried reloading HMI SL and even updated to the current version with no success. I am using HMI SL version V3.5.20.10. Any help would be greatly appreciated.
Last updated: 2024-11-01
Post by trusty-squire on Display Units/Scale on Path3D visualization
CODESYS Forge
talk
(Post)
Hi, Is it possible to display the units along the X,Y axis of the Path3D element? It correctly shows the CNC path to be followed, but there's no indication of scale or size of what's being displayed. I looked at the documentation and my first inclination is that this is not possible, and the option option would be to somehow recreate the Path3D functionality into the XY Chart visu element - which is not ideal. Any suggestions or pointers would be appreciated!
Last updated: 2024-11-08
Post by smartcoco on Request a dark mode for CODESYS
CODESYS Forge
talk
(Post)
CODESYS IDE is not a modern IDE. Its interface is ugly, its operation is not user-friendly, its functions are lacking, its feedback is slow, and its development is not good enough. In fact, CODESYS is a helpless choice under the current situation. But this situation will not last long. For example, SIMATIC AX is a strong competitor of CODESYS, which is more open and inclusive.
Last updated: 2024-12-03
Post by dsa28 on EL6910 as a PROFIsafe F-Host in Codesys
CODESYS Forge
talk
(Post)
Hello All, Does anyone have experience configuring a PROFIsafe communication between EL6910 (F-Host) and and a F-Device in Codesys? I would expect that the PROFIsafe configuration process would be pretty similar as the FSoE configuration. Although, when an F-Device is included under PN-Controller, Codesys doesn't allocate a PROFIsafe logical device automatically under EL6910, as it happens when a FSoE slave is added under EtherCAT master. I thank anyone in advance who can help me on this.
Last updated: 2024-12-05
Post by pmanuele on Beckhoff AS1060 and EL7041 configuration
CODESYS Forge
talk
(Post)
Hello everyone, i'm having some problems commanding AS1060 step motor with EL7041 (rev22) drive. With motor i've also the incremental encoder (05.2420.1230.0200.5009). I can correctly move the motor in "Position controller" operating mode with the internal counter. The problems start when i set the Encoder in feedback type or i change the operating mode. Does anyone have experience with these two terminals and can give me some advice of main parameters to check or change? Thanks everyone
Last updated: 2024-12-11
Post by aliazzz on Runtime licenses not detected => DEMO Mode 2hour
CODESYS Forge
talk
(Post)
Hi! After upgrading all my licensed runtimes to V4.14.0.0 (= RaspberryPi SL, LinuxSL and ControlWin x64 SL) I found out via the logfiles they all defaulted back into DEMO mode while all runtimes have a USB dongle inserted. So, my main question is how I can get the Dongle license detected? I use License Server 4.14.0.0 and Edge Gateway 4.14.0.0 on all platforms Any suggestions are welcome.
Last updated: 2024-12-15
Post by aliazzz on Raspberry Pi 3: Linux/ARMHFv7 unknown container technology
CODESYS Forge
talk
(Post)
Hi CODESYS team! It seems Podman for Raspberry Pi 3 is not detected correctly in the latest "Deploy Control SL 4.14.0.0" : Linux/ARMHFv7 unknown container technology. 1) The Communication Tab, device information section shows podman technology as DETECTED. 2) The Runtime Deployment menu message says: "unknown container architecture" 3) The pulldown window under the deployment tab doesn't show the options for ARMHF Virtual Edge SL and ARMHF Virtual Control SL. I hope you can fix this soon and keep up the great work!
Last updated: 2024-12-15
Post by dagi89 on CAA File open Problems
CODESYS Forge
talk
(Post)
Dear All, i am using Runtime CODESYS Control Win V3 - X64 Version 3.5.20.40, by using CAA file library (3.5.19.0) seems not fasible to open a file n 'C:\ciao.txt' or others absolute path. The error on File Open is 5114 File Operation Danied.. here below the implemented code and the windows file's properties. I use to implement codesys in RPI and this operation is immediate... Can someone help me in it?? Thanks in advance Dagi89
Last updated: 2024-12-21
Post by askic on PLC error log help
CODESYS Forge
talk
(Post)
Hello, I'm using Codesys 3.5.20.0 version and I noticed that even with the most basic standard project create, there are error messages like shown in the acttached picture. The similar questions are already asked here on the CODESYS Forge Talk, but remained unanswered. Exact screenshot is attached, but essentially I would like to know which component in the Codesys has CmpID = 0x00000019 and what this Timeout means?
Last updated: 2025-01-10
Post by mubeta on Strange problem with the ‘MC_SetPosition’ function
CODESYS Forge
talk
(Post)
No errors in any condition. The function terminate correctly with the 'done' bit. Now I leave the machine and I don't know when I will be there again. The assumption you made I had considered. The operational limits of the axis are all fit for purpose, and this function should operate virtually without even noticing the motion limits. In fact in practice with the axis at low speed the function corrects any numerical value of the position in the range 0 ... 360° without any problem whatsoever in a single PLC scan cycle.
Last updated: 2025-01-10
Post by askic on Disable/Enable Supervision
CODESYS Forge
talk
(Post)
Hello, I have found the following instruction in the online help( https://content.helpme-codesys.com/en/libs/CmpSupervisor/3.5.17.0/SupervisorOperationSetTimeout.html ): Sets a (new) timeout for the given operation Supervision must be disabled to modify the timeout and should be enabled afterwards. However, I don't quite understand how to do this? Where can I disable and later enable Supervision? Is it through Codesys application or device menu? I don't find instructions clear.
Last updated: 2025-01-16
Post by andre-luis on Device diagnosis ( EtherCAT IO card )
CODESYS Forge
talk
(Post)
Hi @TimvH, In the meantime, I did some experiments and could find a way to achieve similar result. I made some tests, removing the last card from the array, seeing the change on status. PROGRAM P_IOS_STATUSES VAR devStateInput : DEVICE_STATE; devStateOutput : DEVICE_STATE; devStateEncoder : DEVICE_STATE; END_VAR devStateInput := IoConfig_Globals.EL1819.GetDeviceState(); devStateOutput := IoConfig_Globals.EL2809.GetDeviceState(); devStateEncoder := IoConfig_Globals.EL5151.GetDeviceState(); GVL.bInputCardOK := ( devStateInput = DEVICE_STATE.RUNNING ); GVL.bOutputCardOK := ( devStateOutput = DEVICE_STATE.RUNNING ); GVL.bEncoderCardOK := ( devStateEncoder = DEVICE_STATE.RUNNING ); Many thanks for your quick and extensive reply.
Last updated: 2025-02-06
Post by pedrorgd on SFC Exit Action during SFCReset Flag
CODESYS Forge
talk
(Post)
I have an SFC POU with an SFCReset Flag that I use to restart it from the beginning. It works properly. During an Action Step I set one variable to TRUE and I reset it to FALSE during the Exit Action. My question is if this Exit Action will be activated -and the variable reset to FALSE- if I get out of the active step using the SFCReset Flag.
Last updated: 2025-02-11
Post by rmaas on TCP Server
CODESYS Forge
talk
(Post)
Hi George, I do not know what the problem is with the syssocket implementation, but when i read the forums it seems the Net Base Services library is the recommended way to go. There is another more extensive example here: https://forge.codesys.com/prj/codesys-example/plc-chat-nbs/home/Home/ I have just tested this example and it works very well, also with closing and opening the connection from hercules... good luck!
Last updated: 2025-02-20
Post by darko7417 on When running as a service, CodesysControl doesn't write log files to the disk (and other CmpLog related issuess)
CODESYS Forge
talk
(Post)
Wow! Thanks mr Strucc. Changed to service to run as local acc, and now log works! The service (run from local acc) is using this config: C:\Users\SRV\AppData\Roaming\CODESYS\CODESYSControlWinV3\C4DBB537\CODESYSControl.cfg The path you first mentioned (c:\Windows\System32\config\systemprofile\AppData\Roaming) has no CODESYS folder in it (Windows 11 24H2 b26100.3194). Thanks for your help :)
Last updated: 2025-03-06
Post by trusty-squire on Codesys for raspberry pi 5 not working exactly
CODESYS Forge
talk
(Post)
Not sure if you've resolved this yet, but the Codesys runtime user/password is different than the Linux user/password. You'll need the Linux user credentials when you log in over SSH (for example, to install the Codesys runtime). When you first log in to Codesys on the RaspPi you'll set up a Codesys user and password. If you lost those credentials, you could try uninstalling and then re-installing the Codesys runtime on the RaspPi so you can setup a new user/password.
Last updated: 2025-03-16
Post by krisj on ScriptEngine POU property Get and Set accessor.
CODESYS Forge
talk
(Post)
Hey! I am trying to generate a function block with properties from a list with script engine. Codesys/ScriptEngine creates both the Get and the Set accessor. I cannot find a way to delete the Set method/accessor. Anyone encountered the same problem or have a solution for this? for prop_name, prop_type in list: property = pou.create_property(prop_name, prop_type) get = pou.find("Get", recursive=True)[i] get.textual_declaration.replace("") get.textual_implementation.replace(prop_name + " := " + struct_name + "." + prop_name + ";") set = pou.find("Set", recursive=True)[i] set.textual_declaration.replace("") set.textual_implementation.replace("") i += 1
Last updated: 2025-03-17
Post by dkugler on Beckhoff EL6652-0010 with Codesys
CODESYS Forge
talk
(Post)
we use successful for many years the KEB MFI terminal for Profinet, EtherCAT, Ethernet/IP,... You'll need a EtherCAT Coupler as "head" from KEB, Kendrion or Berghof. It's all the same board inside: https://www.kebamerica.com/products/ethercat-bus-coupler/ Or the coupler with 16Di/Do integrated: https://www.kebamerica.com/products/ethercat-digital-io-module/ last year I got a EK1100 with EL6731 Profibus treminal runnig. But it was a lot of reverse engineering and thinkering in Codesys and TwinCAT to be done, to get it up, fulfilling my needs. Good luck!
Last updated: 2025-03-25
Post by imdatatas on Import from XML problem
CODESYS Forge
talk
(Post)
Hello Everyone, When I try to import some POUs that were previously exported from another project as an XML file, I get an error like in attached image and the process does not complete. "There are no objects in the export file..." I am using SP21 Codesys IDE and I do not know which version this XML (*.export) file was previously exported with. Has anyone encountered the same problem? Regards, imdatatas
Last updated: 2025-04-26
Post by marks on Siemens G120X via Ethernet/IP
CODESYS Forge
talk
(Post)
The goal is to control a Siemens G120X VFD via Ethernet/IP. The .eds is installed into the device repository. The VFD is added and is using the connection and assemblies from the eds. It appears to reach the VFD but fails to establish a connection. The status message is: Diag String: 'Adapter configured. Open all connections.' The PLC is a raspberry pi 4, running codesys target version 4.13.0.0. The development environment is CODESYS V3.5 SP21 + (64-bit). Anyone have experience with this combination? Alternately, where should I look next? Thank you, Mark
Last updated: 2025-05-06
Post by sercan on Connecting Parameter 'A' in G-Code to Physical Axis in CNC Project
CODESYS Forge
talk
(Post)
I want to run the following command by linking it to the A-Axis: G01 A45.0 Which TRAFO should I use to do this? SMC_TRAFO_5Axes and SMC_TRAFO_GantryCutter3 function blocks did not work! For example, when SMC_TRAFO_5Axes is used, parameters B and C can be resolved by the transformer. However, parameter A cannot be resolved. Only SMC_Interpolator displays the value of parameter A in the SMC_Interpolator => piSetPosition.dA output. Should I drive this axis with SoftMotion commands (MC_MoveAbsolute etc.)?
Last updated: 2025-05-07
Post by glutenaron on Safety drive EL6900 and mitsubishi
CODESYS Forge
talk
(Post)
Hi, Im wokring to get my servo mitsubishi mr-j5-g40-rnj1 working with my safety drive. I have as you can se in the picture Ek1100 koppler and EL6900 as safety plc. My questien is how do i connect the safety_drive to the SM3_Drive_ETC_Mitsubishi_MelServo_J5_Axis1 down below? I get the error ((Logical I/Os]: The logical device 'Safety_Drive' is not mapped to any physical device.)) but how do i map this? regard
Last updated: 2025-05-13
Post by mondinmr on Something of strange in the trace
CODESYS Forge
talk
(Post)
I noticed something strange in the trace: one of the variables (specifically parts.servoFeeder.m_pathGen.m_acPos) is showing an absurd or unrealistic value—something around 4E+18. However, when I check the same variable in the watch window, it shows a normal and expected value (around 506). Do you know why there is this discrepancy between the trace and the watch? Could it be a bug in the trace tool? Thanks in advance!
Last updated: 2025-05-16
Post by kevinl on Login to Visu optional
CODESYS Forge
talk
(Post)
hello guys i am struggling with the "new" user management i have a visu that should be visible to everyone and without the need of a login but if a user wants he can push on the login button, opening the user login visu and after he has specific elements visible. how can i achieve that? no matter what i try, as soon as a user management exists, it redirects me to the login window instead of the visu
Last updated: 2025-06-22
Post by hickan on safety cpu cannot go online
CODESYS Forge
talk
(Post)
Hi! I am using abb ac500 in automation builder v2.7 I have a problem with a new project. In the normal mode I have no problems, but in safety mode i cannot go online. I get 'Communication Error (#0) Logout Performed' message. I have tried changing the adress (level 1) in communication parameters. I tried 0.0.0.0.0 and 0.1.0.0.0 and 1.1.0.0.0 but it did no difference. What do you think could be causing this? Thanks!
Last updated: 6 days ago
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
.