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 timvh on Error: C0138: No matching 'FB_Init' method found for instantiation of VisuClientObjectMgr
CODESYS Forge
talk
(Post)
Maybe check: - The library manager, are you maybe missing some libraries - Tools - CODESYS installer: update the CODESYS Visualization and Visualization support - Project - Project environment: maybe you need to update the visualization profile
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 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
Post by mbart on VAR_INFO from inside of a FB to get info on the instance.
CODESYS Forge
talk
(Post)
I experienced the same problem: using __VARINFO is working only in PRG context, while it crashes if used inside Function Blocks. I would really appreciate if they would fix this issue
Last updated: 2025-12-04
Post by kenth1973 on MC_Phasing state explenation
CODESYS Forge
talk
(Post)
Hi George - ok thanks - but who created this FB in the first place? Could you lead me to the creator company? Is CODESYS not the old S3 that created this FB? :-)
Last updated: 2025-12-17
Post by unusual-data on C0138: No matching 'FB_Init' method found for instantiation of VisuClientObjectMgr
CODESYS Forge
talk
(Post)
you can try to disable "Visualization Manager - Settings - Support client animations and overlay of native elements " selection" It worked for me, thank you.
Last updated: 2025-12-18
Post by scrollman on Attribute FB for comment
CODESYS Forge
talk
(Post)
Hello, I can use {attribute 'reflection'} FUNCTION_BLOCK POU VAR {attribute 'instance-path'} {attribute 'noinit'} str: STRING; END_VAR to get name of FB. How I can get the comment of FB, in the same way in the FB? Thank you for your time!
Last updated: 2025-12-31
Post by timvh on Modbus TCP Server connection is ESTABLISHED but all holding registers are value 0?
CODESYS Forge
talk
(Post)
Are you sure you need to read holding registers? Have you tried reading input registers?
Last updated: 2026-01-07
Post by mawaloc on KeyPad Function in Visualization to fill a table
CODESYS Forge
talk
(Post)
THANK you !!! I finally find ou... may be not with same thing " use template" , so will looks your way of doing, maybe it's more properly done anyhow thank you
Last updated: 2026-01-08
Post by blitz on Can't get SMC_SmoothPath to work
CODESYS Forge
talk
(Post)
So in my case the solution was that I had both smooth path and round path in the code. Both blocks had their own buffer and seemed completely separate but still triggering Execute on both caused the mentioned problems. When I blocked Execute the problems disappeared.
Last updated: 2026-01-11
Post by davidbo on *EXCEPTION* [ProsessorLoadWatchdog] codesys 3.5.11.40
CODESYS Forge
talk
(Post)
Under Application->"Task Configuration" you can find your task double click on that and you will see a fane to the right. You find the watchdog enable switch it off or increase the time
Last updated: 2025-11-17
Post by tjacks on Opc UA Data Source Client Browse Error in Codesys HMI
CODESYS Forge
talk
(Post)
Codesys V3.5 SP21 Patch 3 Codesys HMI 3.5.21.30 I'm trying to connect to an OPC UA server on a Kuka robot controller using Codesys HMI's data source manager. I get through the login phase and the client browses most of the data structure on the server but errors out toward the end with a generic: Error while browsing the client, Failed with service result: BadUnexpectedError. If I complete the data source setup and try to update variables, I get the attached stack trace for the error. I've tried several different endpoint and security options. Most get me through the login but all error out while browsing. UA Expert happily connects and browses with the same configuration. I've connected this same version of Codesys to TwinCAT OPC UA servers and Siemens PLC OPC UA servers. Any ideas on what may be causing the generic BadUnexpectedError during OPC UA server browse?
Last updated: 2025-11-17
Post by grepoo on DataSource CodesysApp V3
CODESYS Forge
talk
(Post)
Hi, trying to create a datasource in appV3 but it returns error code 259 (not nearer specified) everytime, no matter the device i am using. Any idea of what it might signify ?
Last updated: 2025-11-19
Post by jv-certhon on Io driver Scan functionality
CODESYS Forge
talk
(Post)
Hello, Codesys IDE is 3.5.21.30 IoDrvBase is: 3.5.17.8 I am working on implementing Codesys on our I/O product line, using the IO driver examples, and the Linux UDS socket approach. I have sucessfully created an implemetation where I have a Device with mutiple slots, on which I can plug modules. These modules represent our IO modules, and communication is successful. (For this question the assumtion can be made that Codesys commucates with 1 'master' device, which handles further communcation with the IO modules. For the next part of the question it can be assumed that the Master device has a list of which modules are attached/available) I'm now trying to implement the 'Scan for Devices...' feature, but I'm completetly lost on what to do once the IoDrvScanModules method is called in my IoDrvFB. I'm guessing that the ppConnectorList has to be filled with the found devices, but I have no idea if that is the correct approach. And Codesys is not triggering my breakpoints in the method, which makes things more difficult. I hope someone could provide some examples or guidance on what steps I should take to implement the scan feature. Thanks in advance.
Last updated: 2025-11-26
Post by sb879 on Non-formal invocation of function blocks in CODESYS
CODESYS Forge
talk
(Post)
Is it possible to do non-formal invocation of function blocks in CODESYS? I get an error when I try, see the attached pic. Also attached a pic from IEC 61131-3 describing non-formal invocations.
Last updated: 2025-12-04
Post by sb879 on Non-formal invocation of function blocks in CODESYS
CODESYS Forge
talk
(Post)
Is it possible to do non-formal invocation of function blocks in CODESYS? I get an error when I try, see the attached pic. Also attached a pic from IEC 61131-3 describing non-formal invocations.
Last updated: 2025-12-04
Post by somlioy on Non-formal invocation of function blocks in CODESYS
CODESYS Forge
talk
(Post)
No that is not possible for function blocks, although it is possible to that with methods and functions as you see in your second pic.
Last updated: 2025-12-05
Post by bruno-roth on Parker Compax3 controlled by Schneider LMC 201
CODESYS Forge
talk
(Post)
Hello, you could use any CODESYS PLC which has an EtherCAT master and the possibility to run the CODESYS Softmotion.
Last updated: 2026-01-13
Post by dim54 on Disabling automatic logout from the owner user
CODESYS Forge
talk
(Post)
Hello! Please tell me how I can disable the automatic logout as the Owner user (CODESYS 3.5 SP15 Path 2). I have to reconnect multiple times during the workday. Thanks!
Last updated: 2026-01-16
Post by arpat on Error, visualisation property handling, VISU_USEPROPERTYINFO
CODESYS Forge
talk
(Post)
For me going to Project -> Project Settings -> Visualisation -> check "Visible" and then check both "Activate property handling ..." and "Activate implicit checks ..." solved the problem.
Last updated: 2026-02-03
Post by jslarbaletier on Unable to compare projects containing alarm manager 4.5.0.0
CODESYS Forge
talk
(Post)
Hi! I had the same issue and finally found a solution. Alarm Configuration was located in a “Visualisations” folder. I moved Alarm Configuration directly under “Application”, and the issue was resolved.
Last updated: 2026-02-05
Post by konstantin on Lenze i950 Servo and WAGO PFC200
CODESYS Forge
talk
(Post)
Hello, In our workshop we have a Lenze i950 servo drive that has an EtherCAT bus and CiA402 compatibility. The WAGO is PFC200 750-8212 and as per documentation it has built-in license for SoftMotion Light functionality. It is not capable of supporting the full SoftMotion functionality like gearing and synchronizing. I added the EtherCAT esi files from Lenze and the EtherCAT master does see the drive, then I added a SoftMotion Light Axis object. The problem is that I can only energize the axis, I cannot execute any other commands. I set the positive and negative torque limits from the PDOs to 200% and when I try to move the axis by force it does not move back to its original position. I use the SML function blocks from the PLCOpen library and the error from the function blocks is that the op mode cannot be changed. Then I tried using a standard SoftMotion axis object and everything works fine, except the MC_Home function block. The axis moves back to its position when forced out of it. I follow this guide from Lenze - Lenze i950 CODESYS V3 What could cause this issue with the SoftMotion Light axis object? Best Regards Konstantin Kolev
Last updated: 2 days ago
Post by risele on AI + Programming
CODESYS Forge
talk
(Post)
It's already fine to use, with help of exporting/importing as PLC_Open, at least CODEX is good in editing directly at XML and/or providing changes description separately.
Last updated: 4 hours ago
Post by risele on CODESYS and Github Copilot
CODESYS Forge
talk
(Post)
You actually can use copilot by PLCOpen XML file exporting/importing. It's fine to work with it directly (at least, the Codex do it quite well).
Last updated: 3 hours 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.