Hi, Is it possible to change the updaterate for a remote targetvisu? BR, Rinie
Hello, I am trying to get TargetVisu for Linux working but i am having some troubles. The problem is that after installation it is not starting automatically on boot and i cannot start it from the update Targetvisu tool. When i try i get the following error (see attached screenshot) The file /opt/codesysvisualization/scripts/codesysvisualization_start.sh is missing... Steps performed: - installed fresh Debian 12.7 on virtual machine - installed all required libraries as described here: https://content.helpme-codesys.com/en/CODESYS%20Control/_rtsl_target_visu_for_linux.html...
hi, Does anyone know how to optimise the responisiveness of the web visualisation? When i open the webvisu on my laptop it is very responsive, no noticable lag. But when i open it on the HMI (web client) at the customer site there is a lag of +-500 when opening popups etc. The hmi used is: Phoenix Contact WP 6156-WHPS full hd Armยฎ Cortexยฎ-A53, 1.6 GHz qt web browser The clients performance seems to be the problem, what can i do in my project to decrease the load for the client?
the $N stands for newline and $R stands for line break. maybe these combinations are considered as 1 character/position? Not sure, just a thought... see also: https://content.helpme-codesys.com/en/CODESYS%20Development%20System/_cds_operands_constant_string.html#:~:text=A%20string%20constant%20is%20a,belong%20to%20this%20character%20set.
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...
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
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.
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...
Thanks for the suggestions! It seems that increasing the value DCInSyncWindow helped, running without error for 1/2 day now.
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
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...
Wow, this is next level for me, very impressive! glad you found a solution, thanks for sharing!
The reference used is the ethercat slave name. For example in this screenshot the reference would be: EL1809_1
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...
Hi, look here maybe this solves it for you too. https://forge.codesys.com/forge/talk/Runtime/thread/50aba4a915/
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
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...
Thanks Marcel, it is working now BR, Rinie
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
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
this is 3.5.16.4, also tried with 3.5.17.0 and raspberrypi based controller, same problem occurs.
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...