Personal Data

Username:
fless
Joined:
2020-01-17 11:11:17

Projects

  • No projects to display.

User Activity

  • Posted a comment on discussion Deutsch πŸ‡©πŸ‡ͺ on CODESYS Forge

    Wie gesagt ich hatte noch keinen Kontakt mit SNMP. Um die Beispiele zu verstehen hier ein paar Tips: SetEngineId und CreateSNMPV3User sind Funktionsbausteine. Klicke rechts auf den Namen, Symbol suchen - Gehe zu Definition Dann sieht du entweder den Quelltext oder landest in der Bibliothek und kannst dir die Dokumentation ansehen. In deinen Fall siehst du den Quelltext. Die Funktionsbausteine sind in den Projekt POUs gespeichert weil das Projekt aus mehreren Applikationen besteht die alle diese FBs...

  • Posted a comment on discussion Motion πŸ‡¬πŸ‡§ on CODESYS Forge

    Hi, I got good results with SMC_NCDecoder, SMC_CheckVelocities, etc. in a freewheeling task with lower priority (higher number). Still takes some time but I'm using many variables and loops in my g-code and more preprocessing like SMC_SmoothPath, SMC_LimitDynamics, SMC_CheckForLimits. PS: your buffer size seems a bit high for 34 lines of g-code

  • Posted a comment on discussion Deutsch πŸ‡©πŸ‡ͺ on CODESYS Forge

    Hallo, 1. Willkommen :-) 2. Da hast schon etwas worauf du aufbauen kannst. 3. Da gibt es von WAGO Hilfen wie man Projekte zu Codesys 3.5 migriert. 4. Mit SNMP habe ich keine Erfahrung, kann dir leider nicht weiterhelfen. 5. WAGO hat eine eigene SNMP Implementierung. Ich vermute WAGO entwickelt diese Libary nicht mehr parallel weiter, deshalb die Aussage des Supports. Die Codesys SNMP lib ist in das Paket IoT gepackt worden. Die Library kannst du ganz normal einbinden wenn du die IoT Lizenz fΓΌr das...

  • Posted a comment on discussion Engineering πŸ‡¬πŸ‡§ on CODESYS Forge

    Why will it retain the sum value from the last call? This is how PLC work. Usually variables only get initialized after a download or a reset (i.e. power loss). RETAIN variables are saved in a special kind of RAM and keep their value after a power loss. To initialize variables on every call of your FB use the VAR TEMP block. VAR_TEMP sum : INT; END_VAR

  • Posted a comment on discussion Engineering πŸ‡¬πŸ‡§ on CODESYS Forge

    with every call of the FB500 it keeps adding the INTs of the array to the sum variable. set sum to 0 before you start the loop.

  • Posted a comment on discussion Motion πŸ‡¬πŸ‡§ on CODESYS Forge

    Update: We managed to avoid the warnings by changing the order of initialization by adding an attribute to the GVL with the variables. {attribute 'global_init_slot' := '49989'} The variables are initialized right before the regular GVLs (default GVL slot 49990). Note to Codesys: I see the problem, Codesys needs to initialize the CNC objects before the GVLs so they can be used in the GVL. But then you can't use variables from GVLs in CNC programs. Maybe you could disable the warning in your generated...

  • Posted a comment on discussion Engineering πŸ‡¬πŸ‡§ on CODESYS Forge

    use this to set an invalid reference Add_EVT_OUT REF= 0;

  • Posted a comment on discussion Motion πŸ‡¬πŸ‡§ on CODESYS Forge

    Hello, we are porting a CNC project from codesys 3.5.16 to codesys 3.5.19. The project has lots of CNC programs with variables. now we get hundreds of messages like this. [WARNING] CNC Test SP19: TestCNC SPS: PLC Logic: Application: C0564: A reference to uninitialized variable varCNC is used for initialization of TestCNC_D. Accessing the uninitialized variable may result in unexpected behavior. The objects program_name_D are implicit generated by codesys. I see no way to generated them after the...

View All