update data/tim
CODESYS Forge
talk
(Thread)
update data/tim
Last updated: 2025-08-25
Post by wagokurt on TargetVisu option missing in IDE
CODESYS Forge
talk
(Post)
Thank you, so "Remote TargetVisu" is the same thing as "TargetVisu"? I think there needs to be more documentation about this, its very confusing.
Last updated: 2025-08-25
CODESYS Visualization M License Fails to activate on Linux SL
CODESYS Forge
talk
(Thread)
CODESYS Visualization M License Fails to activate on Linux SL
Last updated: 2025-08-25
TargetVisu option missing in IDE
CODESYS Forge
talk
(Thread)
TargetVisu option missing in IDE
Last updated: 2025-08-25
Post by wagokurt on CODESYS Visualization M License Fails to activate on Linux SL
CODESYS Forge
talk
(Post)
The fix for this is when you install the control SL license, there is a checkbox for the Visu S license option. You must click this option. The Visu M is technically an upgrade to the Visu S, if this is license is not installed them the Visu M will fail as shown above. Thanks JoJo for the solution!
Last updated: 2025-08-25
Post by jzhvymetal77 on IecVarAccessLibrary.IBaseTreeNode methon
CODESYS Forge
talk
(Post)
I got this code working again. 3S/CoDeSys, your level of obfuscation and lack of documentation turns a simple task into a monumental complex challenge. The issue was that at some point the IecVarAccessLibrary changed and no longer allowed using IBaseTreeNode to retrieve a child or the number of children. The attached code has been updated to use IIecVarAccess6.VarAccBrowseGetChildByIndex instead. The code was also cleaned up but is still a work in progress. The current example only works one layer deep. This means native data types, arrays, and single-layer structures are supported. However, structure arrays and nested structures are not yet supported.
Last updated: 2025-08-25
IecVarAccessLibrary.IBaseTreeNode methon
CODESYS Forge
talk
(Thread)
IecVarAccessLibrary.IBaseTreeNode methon
Last updated: 2025-08-25
Post by kporter on High-resolution drive with SoftMotion
CODESYS Forge
talk
(Post)
I'm beta-testing a new EtherCAT drive for a rotary (modulo) axis in a system where the encoder resolution is 81920000 counts per rotation. If I enter this in the SoftMotion Scaling/Mapping tab for "increments <=> motor turns", I get the error below on the Commissioning tab. Is SM unable to handle a high-resolution encoder? The bus cycle is currently set to the default of 4 msec (Control Win V3 x64), although I plan to reduce that to reduce latency, possibly by switching to the realtime (RT) master. Is SoftMotion incompatible with high-resolution encoders? SMC_CGR_INVALID_POSPERIOD Invalid modulo period (<= 0 or greater than half the bus bandwidth)
Last updated: 2025-08-25
Post by timvh on Ethernet Adapter issues
CODESYS Forge
talk
(Post)
Maybe your slave device didn't properly closed its socket port and CODESYS is unable to reconnect? Did you restart your slave device?
Last updated: 2025-08-26
Where to find the OPC-UA Information Model Repository
CODESYS Forge
talk
(Thread)
Where to find the OPC-UA Information Model Repository
Last updated: 2025-08-26
Ethernet Adapter issues
CODESYS Forge
talk
(Thread)
Ethernet Adapter issues
Last updated: 2025-08-26
Post by timvh on Where to find the OPC-UA Information Model Repository
CODESYS Forge
talk
(Post)
I'm not sure, but maybe you need to install or update the "CODESYS Communication" add-on through the CODESYS Installer.
Last updated: 2025-08-26
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
Codesys 3.5.18.60 – Application Loss and Persistent Data Corruption
CODESYS Forge
talk
(Thread)
Codesys 3.5.18.60 – Application Loss and Persistent Data Corruption
Last updated: 2025-08-26
Post by imdatatas on C0138: No matching 'FB_Init' method found for instantiation of VisuClientObjectMgr
CODESYS Forge
talk
(Post)
Hello everyone, I downloaded the "Example: PLC Chat Net Base Services" example from the Codesys help site to review and try it out. https://content.helpme-codesys.com/en/CODESYS%20Examples/_ex_cds_plc_chat_net_base_services.html However, when I open and compile the example program with SP21 Patch2, I get the strange error message below regarding Visualisation component, and it fails to compile. " [ERROR] visuelems, 4.8.0.0 (system): VisuFbTabControl: C0138: No matching 'FB_Init' method found for instantiation of VisuClientObjectMgr " Are others experiencing the error "C0138: No matching 'FB_Init' method found for instantiation..." when trying to compile example projects created with older versions of Codesys with a later version of the IDE? How did you overcome this problem? Could you share your solutions? Regards, Imdat
Last updated: 2025-08-26
Post by timvh on Codesys 3.5.18.60 – Application Loss and Persistent Data Corruption
CODESYS Forge
talk
(Post)
Which device do you use? Does this have persistent memory (e.g. NVRAM) available? Maybe first ask your PLC vendor about the possibilities and how they advice to use persistent variables? If you have no NVRAM available, CODESYS will store the variables in a file when the device gracefully shuts down. But on an abrupt power failure, this is not possible. If you have no NVRAM and you want to use persistent variables, then consider using a UPS. In this case when the power is lost, the UPS can keep the power on the PLC which then can gracefully shut down. Alternatively use the Persistence Manager to store the variable values in a file e.g. only on change. See: https://content.helpme-codesys.com/en/CODESYS%20Application%20Composer/ac_pm_overview.html
Last updated: 2025-08-26
Post by timvh on update data/tim
CODESYS Forge
talk
(Post)
Change the actual time of your PLC. How to do this sometimes depends on the PLC you use. Please contact the vendor of the PLC to get this information. Or see the following example for using CODESYS date and time functions: https://forge.codesys.com/prj/codesys-example/date-and-time/home/Home/
Last updated: 2025-08-26
update data/tim
CODESYS Forge
talk
(Thread)
update data/tim
Last updated: 2025-08-26
Post by yann2021 on Execute a .py file with Codesys
CODESYS Forge
talk
(Post)
Hello, I have a Raspberry Pi 3 which has a printer connected to his USB port. I have a PiFace Board on the Raspberry. I have a python script file (.py) to print a logo + a text. The script is working because when I execute it from the Raspberry terminal it works. Now, when I push a button on the PiFace I would like to execute the python script file to print. How can I do that ? Many thanks for your help and advices!
Last updated: 2025-08-26
Post by eschwellinger on Control for Raspberry Pi 4.17
CODESYS Forge
talk
(Post)
today or tomorrow ;-)
Last updated: 2025-08-26
Post by stevens on No option to create "Parameter List" in library
CODESYS Forge
talk
(Post)
I am struggling with this issue right now (again). I have nested structures with configurable array sizes. In the past I ever used parameter list. Very easy way! As of now I cannot find any solution. Ridiculous that they deprecated it without an alternative solution.
Last updated: 2025-08-26
No option to create "Parameter List" in library
CODESYS Forge
talk
(Thread)
No option to create "Parameter List" in library
Last updated: 2025-08-26
Special Characters
CODESYS Forge
talk
(Thread)
Special Characters
Last updated: 2025-08-26
Post by bruceae on Special Characters
CODESYS Forge
talk
(Post)
Hello, I am fairly new to the codesys environment. Is there a reference chart that I can look at in order to write special character in a string? The Special characters that I need to inclue inside the string are as follows; Null Bell Carriage Return I have a TCP_Write command that I am sending to an external device. In order for that device to function properly it needs to see the string with the null and bell characters as the header, followed by the desired command, terminated with the carriage return. Any reference sheet or how to write this in the actual string would be greatly appreciated.
Last updated: 2025-08-26
Unit Tests and C007: Unknown Type
CODESYS Forge
talk
(Thread)
Unit Tests and C007: Unknown Type
Last updated: 2025-08-27
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.