OPC UA Information Model Error "Dimensions must be empty"
CODESYS Forge
talk
(Thread)
OPC UA Information Model Error "Dimensions must be empty"
Last updated: 2025-08-11
Post by astrum on OPC UA Information Model Error "Dimensions must be empty"
CODESYS Forge
talk
(Post)
Hello everyone, does anyone know what this error means: Internal Error in code generation for http://opcfoundation.org/UA/DI/: Dimensions must be empty. I use the standard information models from Codesys and haven't even called the Information Model, but my program can't compile. the only thing I did was to insert the Communication Manage.
Last updated: 2025-08-11
Task Priority Documentation?
CODESYS Forge
talk
(Thread)
Task Priority Documentation?
Last updated: 2025-08-11
wiki Discussion
naci30
wiki
(Discussion)
Forum for wiki comments
Last updated: 2025-08-11
blog Discussion
naci30
blog
(Discussion)
Forum for blog comments
Last updated: 2025-08-11
(no subject)
naci30
wiki
(Thread)
Last updated: 2025-08-11
Home
naci30
wiki
(WikiPage)
Project Members: naci30 (admin)
Last updated: 2025-08-11
Post by naci30 on Erreur bibliothèque WagoSysKbusTerminalControl et WagoSysKbusServices pour la gestion de la carte 750-671
CODESYS Forge
talk
(Post)
Bonjour, je suis novice, je rencontre un problème pour mon projet la gestion d'un moteur stepper. j’ai des erreurs dans mon code lié à la carte stepper et aux bibliothèques et je n’avance plus. J'ai joint les différentes captures d'ecran, j’explique ce que j’ai dejà fait fait : - j’ai isolé le code du stepper dans un unique projet afin de déceler d’où venait le problème afin de ne pas modifier totalement tout le projet. Ce que j’ai fait: J’ai supprimé les bibliothèques et j’ai réinstallé, j’ai les bonnes versions. J’ai supprimé le 750-671 du KBUS je l’ai réinstallé pareil. J’ai Nettoyé le code pour pouvoir le recompilé pareil. Je précise la version de mon codesys est : V3.5 SP21 patch 1 J’ai joint les différentes captures d’écran: les bibliothèques, le code de test, les 34 erreurs.
Last updated: 2025-08-11
wiki Discussion
akrawczyk
wiki
(Discussion)
Forum for wiki comments
Last updated: 2025-08-11
blog Discussion
akrawczyk
blog
(Discussion)
Forum for blog comments
Last updated: 2025-08-11
(no subject)
akrawczyk
wiki
(Thread)
Last updated: 2025-08-11
Post by akrawczyk on Dynamically enabling/disabling Modbus slave devices in runtime (performance issue with timeouts)
CODESYS Forge
talk
(Post)
Hi everyone, I'm working on a CODESYS-based project running on a Weintek cMT2078X HMI with a built-in CODESYS runtime. The system communicates with multiple Modbus RTU slave devices, arranged in a cascade. The number of connected units can vary between 2 and 8, depending on the installation. Each slave has 17 Modbus channels, which are polled cyclically every 5 seconds. The issue is that when fewer devices are physically connected (e.g. only 3 out of 8), the Modbus master still attempts to communicate with all configured slaves. This leads to massive delays due to timeouts (currently 200ms per channel). For one disconnected device, that’s: 17 × 200ms = 3.4 seconds of delay per polling cycle, and this quickly multiplies with each additional missing slave. This behavior significantly degrades the system's performance and responsiveness. We attempted a workaround where we tried to trigger polling based on a variable in the PLC program, but this caused instability and even led to hardware hangs/freezes on the cMT2078X – likely due to clashes in how the Modbus polling engine and program logic interact at runtime. My main questions are: Is there a way in CODESYS to dynamically enable/disable Modbus slave devices at runtime, using a BOOL or INT variable (e.g. indicating number of active slaves)? Can devices or channels be conditionally polled or temporarily disabled without removing them from the device tree? Are there any best practices or examples for handling variable numbers of Modbus slaves in scalable systems like this? Would splitting communication across tasks or interfaces help reduce the impact of timeouts? Any advice, documentation references, or architectural suggestions would be extremely helpful. I'm looking for a robust way to dynamically scale slave polling without degrading system stability or performance. Thanks in advance!
Last updated: 2025-08-11
Home (version 1) discussion
gonzalo
wiki
(Thread)
Home (version 1) discussion
Last updated: 2025-08-11
Home (version 1) discussion
naci30
wiki
(Thread)
Home (version 1) discussion
Last updated: 2025-08-11
Home
akrawczyk
wiki
(WikiPage)
Project Members: akrawczyk (admin)
Last updated: 2025-08-11
Post by rajatdas2005 on Codesys Virtual control SL
CODESYS Forge
talk
(Post)
Thank you. Its working now.
Last updated: 2025-08-11
Codesys Virtual control SL
CODESYS Forge
talk
(Thread)
Codesys Virtual control SL
Last updated: 2025-08-11
wiki Discussion
lahsen55
wiki
(Discussion)
Forum for wiki comments
Last updated: 2025-08-12
blog Discussion
lahsen55
blog
(Discussion)
Forum for blog comments
Last updated: 2025-08-12
(no subject)
lahsen55
wiki
(Thread)
Last updated: 2025-08-12
Home (version 1) discussion
edme
wiki
(Thread)
Home (version 1) discussion
Last updated: 2025-08-12
Home
lahsen55
wiki
(WikiPage)
Project Members: lahsen55 (admin)
Last updated: 2025-08-12
Home (version 1) discussion
phryniszak
wiki
(Thread)
Home (version 1) discussion
Last updated: 2025-08-12
Home (version 1) discussion
akrawczyk
wiki
(Thread)
Home (version 1) discussion
Last updated: 2025-08-12
Post by tommchris on EThercat Dynamic configuration
CODESYS Forge
talk
(Post)
If you tell me which EtherCAT master stack you’re using Sprunki (Beckhoff TwinCAT, SOEM, IgH, Acontis, etc.), I can give you step-by-step dynamic configuration code for your environment.
Last updated: 2025-08-12