Activity for Papik

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

    Thank you for your answer So, I put this in one block and can I call this block with a blink, say once every 500 ms? And instead of CounterVal, there should be an address to the counter value at the moment?

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

    Hello everyone, I purchased the encoder module and the encoder itself. I am going to control the speed of the motor by setting the input value with an encoder, and the output signal will be 0-10 V(0-200 rpm), which will be applied to the input of the frequency converter. Encoder module WAGO 750-631 / 000-011 has a pulse counter that increments or decrements the value depending on the direction of rotation of the encoder. But I can't hard-code this counter because I can set the speed directly from...

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

    Use library WagoAppFileDir. How to implement reading and writing of a file is in the documentation for the library.

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

    At the moment, I did as the first person advised. I split my program into actions that perform similar functions. If this is the only way to optimize the body of the program in codesys 3.5. It's just not very convenient, to get inside the block you need to find it in the project tree. In codesys 2.3, I used macros and when the project was running, you could go inside and so get to the right place. I could also give a name as a comment to the macro and it was very convenient. Why did they remove this...

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

    as I understand there are no macros in 3.5 at all. For cfc, do I need to hide parts of the code in action? Will the action in another action work? What other tips for optimizing project performance can you give?

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

    I use CFC language

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

    Hello everybody. I recently migrated from codesys 2.3 to codesys 3.5. In codesys 2.3, I used macros to organize my project, I hid some parts of my code that perform a similar function in macros, so there were only a few macros in PLC_PRG that contained the code. Therefore, the program worked quickly. Now for codesys 3.5, I have all the code in PLC_PRG at once and I did not find a way to create a macro in it and place parts of the code that perform similar functions there to optimize the project....

1