(no subject)
kporter
wiki
(Thread)
Last updated: 2025-08-25
Home
kporter
wiki
(WikiPage)
Project Members: kporter (admin)
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
wiki Discussion
jasonbrown
wiki
(Discussion)
Forum for wiki comments
Last updated: 2025-08-26
blog Discussion
jasonbrown
blog
(Discussion)
Forum for blog comments
Last updated: 2025-08-26
(no subject)
jasonbrown
wiki
(Thread)
Last updated: 2025-08-26
Home
jasonbrown
wiki
(WikiPage)
Project Members: jasonbrown (admin)
Last updated: 2025-08-26
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
blog Discussion
michaelr
blog
(Discussion)
Forum for blog comments
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
wiki Discussion
michaelr
wiki
(Discussion)
Forum for wiki comments
Last updated: 2025-08-26
(no subject)
michaelr
wiki
(Thread)
Last updated: 2025-08-26
Home
michaelr
wiki
(WikiPage)
Project Members: michaelr (admin)
Last updated: 2025-08-26
wiki Discussion
jordireverte
wiki
(Discussion)
Forum for wiki comments
Last updated: 2025-08-26
blog Discussion
jordireverte
blog
(Discussion)
Forum for blog comments
Last updated: 2025-08-26
Home
jordireverte
wiki
(WikiPage)
Project Members: jordireverte (admin)
Last updated: 2025-08-26