Activity for rmaas

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

    Hi, When you open 'Codesys Installer' you can select which version of Control Win should be used. Select '...' at the desired version and select 'Set Control Service' Then start Codesys Control Win again...

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

    You can use the R_TRIG and F_TRIG function blocks to generate a pulse in Rising or Falling edge of your signal. Have a look here: https://content.helpme-codesys.com/en/libs/Standard/Current/Trigger/R_TRIG.html

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

    Hi, I just tried the example project with control WIN x64 and for me this is working correct. The only difference is that it is showing 'TabletPortrait' when i hold my smartphone in portrait mode and 'Monitor' when i hold my smartphone in landscape mode. This is because smartphone resolutions have increased i guess... You could check what resoution is detected and change accordingly in IsSmartphone method.

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

    Hello, what you are seeing is not strange behavior. The problem is that everyting is happening in the same program cycle. After the variable Stepnumber is changed from 10 to 20 for example then you want the program to wait with the next EQ until the next program cycle. Else every EQ will be be true because in every line the variable Stepnumber is increased. When the program arrives (still in the same cycle) at the line with the timer, the Stepnumber has been increased to 30 in the meantime and the...

  • rmaas rmaas posted a comment on discussion Motion πŸ‡¬πŸ‡§

    Thanks for the suggestions! It seems that increasing the value DCInSyncWindow helped, running without error for 1/2 day now.

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

    Hi Rossano, Did you ever find a solution to this issue? It seems i am facing the same issue but i do not use OPCUA... Best Regards, Rinie Maas

  • rmaas rmaas posted a comment on discussion Motion πŸ‡¬πŸ‡§

    Hi, On a gantry system with 2 axis i am getting the following error: SMC_DI_FIELDBUS_LOST_SYNCRONICITY This happens random, sometimes it happens every 5 minutes and sometimes no error for 2 hours... The Setup: - Using codesys 3.5 SP20 with all latest libs... - Kontron AL Pi-Tron CM4 with Preempt realtime patch (Raspberry Pi 4) - Codesys runtime 4.11.0.0 (single core) - CODESYS Control for Raspberry Pi SL licensed - Softmotion + CNC + Robotics licensed - 2x Leadshine EL8-EC400 servo drives - Axis...

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

    Wow, this is next level for me, very impressive! glad you found a solution, thanks for sharing!

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

    The reference used is the ethercat slave name. For example in this screenshot the reference would be: EL1809_1

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

    Hi, Im not sure if this is what you mean, but i do succesfully use the IoDrvEthercatLib.ETCSlave.InputData and IoDrvEthercatLib.ETCSlave.OutputData to read from and write to beckhoff DI and DO cards. Very convenient as you can make an FB with an VAR_IN_OUT of type IoDrvEthercatLib.ETCSlave and only have to pass the slave reference... So i am not using .ETCSlave_Diag but .ETCSlave...

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

    Hi, look here maybe this solves it for you too. https://forge.codesys.com/forge/talk/Runtime/thread/50aba4a915/

  • rmaas rmaas posted a comment on discussion Visualization πŸ‡¬πŸ‡§

    Issue is gone! after a Build -> Clean all and controller power cycle, the runtime is not crashing anymore. Everything works fine when putting {attribute 'VAR_IN_OUT_AS_POINTER'} before each variable declaration (see Example2 in previous post) BR, Rinie

  • rmaas rmaas posted a comment on discussion Visualization πŸ‡¬πŸ‡§

    Hello all, In a WebVisu i am using a dialog as motor popup with the MTR_HMI DUT as VAR_IN_OUT using {attribute 'VAR_IN_OUT_AS_POINTER'}. as described here: https://content.helpme-codesys.com/en/CODESYS%20Visualization/_visu_pragma_var_in_out_as_pointer.html This is working very well, but now i would like to make another dialog which uses multiple motor DUT's, the problem is only the first variable declared after {attribute 'VAR_IN_OUT_AS_POINTER'} is being treated as such... the other variables are...

  • rmaas rmaas posted a comment on discussion Visualization πŸ‡¬πŸ‡§

    Thanks Marcel, it is working now BR, Rinie

  • rmaas rmaas posted a comment on discussion Visualization πŸ‡¬πŸ‡§

    i'm using codesysy 3.5.17.10 with visualization package 4.1.0.0 but cannot find the option to move dialogs in webvisualization. Can you confirm if this is possible now? BR, Rinie

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

    After updating the codesys ethercat package to 4.2.0.0 the process data is working again without having to set any offset! Thanks a lot for pointing to this solution! BR, Rinie

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

    this is 3.5.16.4, also tried with 3.5.17.0 and raspberrypi based controller, same problem occurs.

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

    Hello all, I am trying to get the following IO-Link master from Beckhoff to work with a Codesys controller. Beckhoff EP6228-0042 Everything is working fine i have added the latest xml description file from the Beckhoff website and the ethercat master and IO-Link master are not reporting any errors. The problem is when i add io-link devices the process data is not showing. I have contacted Beckhoff but they say it should work with Twincat and they cannot help me with Codesys. After some troubleshooting...

1