EtherCat problem

FORUM LATEST POST # TOPICS
General Discussion

Forum about anything you want to talk about.

No posts yet 1

Recent Activities

    CODESYS Forge

  • ferry124 posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hello Suyash, This is a very common issue when starting with CODESYS, so don’t worry β€” you’re not alone. When you install the latest version of the CODESYS IDE, library mismatches usually happen because your existing project was created with a different compiler version or specific library versions that are no longer the default in the new installation. Here’s how you can manage your projects more safely going forward: Use the Library Manager properly Open your project β†’ Go to Library Manager β†’ Check...

  • stefan-gimpl posted a comment on discussion Deutsch πŸ‡©πŸ‡ͺ

    Guten Tag, irgendwas ist hier im Argen, die Status werden nicht richtig angezeigt. Im Bild im Anhang wird die Variable in Zeile 16 CollectiveAlarm auf false gesetzt, es wird aber true angezeigt. In Zeile 17 frage ich testweise den Status nochmals ab, der ist auch false, obwohl die Variable CollectiveAlarm noch immer true anzeigt. Was kann hier die Ursache sein? Gibt es einen Beobachtungszeitpunkt, wann die Werte abgefragt werden?

  • akneer posted a comment on discussion Deutsch πŸ‡©πŸ‡ͺ

    Beispiel: IF bShutdownPC THEN bShutdownPC := FALSE; // LINUX SysProcess_Implementation.SysProcessExecuteCommand( pszComand:='shutdown -h 0', pResult := ADR(udiError)); // WINDOWS SysProcess_Implementation.SysProcessExecuteCommand( pszComand:='shutdown.exe -s -t 05', pResult := ADR(udiError)); END_IF

  • heman modified a comment on discussion Engineering πŸ‡¬πŸ‡§

    you might want to have a look at www.plc-assist.com. its an agentic chatbot that connects to you codesys projects.

  • yannickasselin posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    As far as I know, there is no other limitations than the 2 hours limit. The demo mode should be plenty enough for testing purposes. Regarding instances. In the device tree, 1 master = 1 instance, no matter how many slaves the master is communicating with. But it is also possible that your Codesys runtime act as a slave. In this case, each slave in the device tree is one instance. You can also use the license metric tool in the IDE. This will tell you exactly how many instances you have in your project....

  • FPawlak modified a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hi All, I wonder which way is correct or better? I would like to register my own component in order to use it in CMPLog. I can use CMAddComponent() or CMAddComponent2() to do it. The main difference is whether I provide udiCmpId myself or it will be generated by runtime. But I don't know which way is correct. Please look at those two examples below. I don't know if CMAddComponent2() is newer and then should be used? CMAddComponent() + providing my own udiCmpId //16#FFFF0000 for unknown myVendorId...

  • FPawlak posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hi All, I wonder which way is correct or better? I would like registerm my own component in order to use it in CMPLog. I can use CMAddComponent() or CMAddComponent2() to do it. The main differenc is whether I provide udiCmpId myself or it will be generated by runtime. But I don't know which way is correct. Please look at those two examplkes below. I don't know if CMAddComponent2() is newer and then should be used? CMAddComponent() + providing my own udiCmpId //16#FFFF0000 for unknown myVendorId :=...