I did set the attribute but the storage was wrong. Now it's working. I guess a more verbose message would be helpful to debug, it's hard to understand the problem when it's says "not ok". Thank you!
I did set the attribute but the storage was wrong. Now it's working. Thank you!
Does the Persistent Manager work on Global Tables?
Hello, I'm trying to use the Persistent Manager but I'm not sure why I always get "values not ok". Tried 2 different projects, one is new and clean. No information about how to debug it. What did I do wrong?
Hello, Is it possible somehow to change the spinning animation in the WebVisu? I don't want my client to see it. Thanks!
You need to change the size of the canvas in the properties of the visualization. Or change the settings in the Visualization manager.
Thank you. It's confusing when you write that Linux is supported here: https://store.codesys.com/en/codesys-targetvisu-sl.html
Thank you. It's confusing wheb you write that Linux is supported here: https://store.codesys.com/en/codesys-targetvisu-sl.html
How can I make TargetVisu work on Linux? I can't add TargetVisu on my Linux SL project.
I have the same situation. It seems like the staff doesn't reply to questions about SysProcess. As far as I understand, it does work better on Linux. Let's try solving it. I already tried 'python --version > c:\test\text.txt' but it doesn't work. When trying 'cd c:\test && dir > c:\test\text.txt' I can see the directory listing. I wonder if something is allowing it to access only CMD core commands.
Hi, I'm trying to run a Python script from my Codesys project as administrator but it seems to be running without privileges. My Windows user has administrator privileges but still the process is not running as administrator. Currently I'm trying on Control Win V3 x64. How can I make it run as administrator? Thank you!
Is this working on WebVisu only? Talk Topic about project #codesys-example/html5apiexample
Hi, I'm trying to show a web page inside the Target HMI, it's an HTML with JS code. The pages loads but it seems like the WebSocket JS code is not running. What are the technological limitations of the Web Browser element?
I'm to do the same. Where did you put you HTML code?
Thank you, but if I run the same code on both PLCs and I see that it runs fine on a weak Celeron CPU and not running OK on an i7 CPU it makes me believe that the issue is not on the code.
Thank you, but if I run the same code on both PLCs and I see that it runs fine on a weak Celeron CPU and not running OK on an i7 CPU it makes me believe that the issue is not on the code.
Thank you, but if I run the same code on both PLCs and I see that it runs fine on a weak Celeron CPU and not running OK on an i7 CPU it makes me believe that the issue is not on the code.
Hi, We have a complex program that we run on two devices and get significant timing differences. The first one is Delta AX8 with Intel Celeron J1900 and the second is PC running Win10 with Intel i7-6500U. It seems like the i7 is performing worse than the Celeron. Both run RTE 64 with SoftMotion license and the problematic program is a custom function of some calculations. I read the RTE manual and changed settings in the BIOS but it didn't solve it. I took pictures of most of the BIOS screens if...
Hi, Is it possible to show STL or other 3D model files on the HMI? Preferring an option to rotate and animate the model instead of static picture. Thanks!
It's a frame. I created the menu in a separate visualization and then inserted in the main screen as a frame. Then I have a simple logic that moves the menu from the left and brings it forward using variables.
I tried, but I think I don't have enough experience with Wireshark to understand what's going on there. I think it's hitting the timeout because the server sends the same TCP packet again.
Not sure, I'm using freesqldatabase.com just for testing. When I try connecting to the DB from HeidiSQL from my PC it's working fine so, is it something with the socket library that causing an issue with the SSL?
Hi, I downloaded the demo version of the MySQL library https://store.codesys.com/en/mysql-library-sl.html When I try to run it on a PLC with Windows (either Delta AX8 or Codesys Control Win v3) and connect to an external MySQL server I receive an error: SOCKET_ERROR When running the same project on Raspberry Pi it works without any issues. Do I need to install something else? Thanks!
Hi, 1. Is it possible to integrate a scene inside a visualization in order to show it to the user? 2. How can I try the Depictor for 10 poses, it seems to be only the viewer in the store. Thanks!
Found, Thank you!
Hi, I have the same servo drive but can't find the EoE tab. Using Codesys V3.5 SP18 Patch 2. What have I missed?
Hi, The example doesn't work on the new Visualization profile (4.0.0.0 and up). What can I do to make it work? UPDATE: Just noticed that after updating the profile the settings of "Call after visu initialization" was reset.
Hi, The example doesn't work on the new Visualization profile (4.0.0.0 and up). What can I do to make it work?
I think I have the same issue, it works if I declare the variables in PLC_PRG but doesn't work with GVL... Did the same as here: https://forge.codesys.com/forge/talk/Engineering/thread/e837426615/#aa4c Is that a bug? UPDATE: not a bug, just needed to call the var from GVL in another program.
I think I have the same issue, it works if I declare the variables in PLC_PRG but doesn't work with GVL... Did the same as here: https://forge.codesys.com/forge/talk/Engineering/thread/e837426615/#aa4c Is that a bug?
I think I have the same issue, it works if I declare the variables in PLC_PRG but doesn't work with GVL... Is that a bug?
Hi, I'm trying to get rid of the lines I marked. I tried removing the line parameter or the fill parameter but those lines refuse to go away. Also tried to make the last dot a little bit after the first one in order to close it but still nothing changed except of this line becoming thicker. It appears only on Area Charts... Thank you!
Thanks! Do you have any idea what library do I nee to use for iterating over all the clients?
Check if any dialog is opened and which one. So I can run certain processes in my program when a dialog is still open.
Hi, Is there any way to find which dialog is opened in the moment? I tried looking in the VisuDialogs lib but couldn't find anything like the VisuElems.CurrentVisu Thanks!
Hi, We are using the Codesys softmotion RTE X64 but lately it stopped running the application after reboot, I checked all the settings on the PLC side and it seems to be fine. Also tried creating boot application but it just doesn't work. Any idea what can I do to get it working back? Thanks!
How do I check if it's DS402 compliant? Thanks!
I have the ESI file and I can set bits on the Ethercat in order to make it work I thouht maybe there's a library that can do the hard work instead like there is for a servo motor. Thank you!
Hi, What library should I use for VFD with Ethercat? I have Delta C2000 and I can't find the library that support VFD. Thanks!
Hi, Is it possible to create custom styles? Like this one for example: I have custom elements that I got from my designer. Thanks!
Ok, Thanks!
Hi, This is pretty urgent as we are in the end of a project and have to deliver it soon. The project is running on RPi 4 (we purchaed a license but it's not activated yet) and we have many sensors running on I2C and a few motors with drivers. When we run the code sometimes the borwser looses the connection with the WebVisu (that's how it seems) and no touch is available, the animated GIF on the screen is looping but when touching buttons is just doing nothing. The only solution is to refresh the...
It's working! Thank you Marcel!
You should not increment your bitmap version that much. I know, It was just for making it easy so I don't have to change it manually every time. And the issue seems to be caused by the bitmap ID variable. Just remove this from the configuration as you dont need it. I removed the variable (and the timer) and it still require refresh both on Firefox and Chrome.
You should not increment your bitmap version that much. I know, It was just for making it easy so I don't have to change it manually every time. And the issue seems to be caused by the bitmap ID variable. Just remove this from the configuration as you dont need it. I removed the variable (and the timer) and it still require refresh both on Firefox and Chrome.
You should not increment your bitmap version that much. I know, It was just for making it easy so I don't have to change it manually every time. And the issue seems to be caused by the bitmap ID variable. Just remove this from the configuration as you dont need it.* I removed the variable (and the timer) and it still require refresh both on Firefox and Chrome.
Sure, I attached the files. The example is in the second Visualization and I have a timer to change the bitmap so it will change the image immediately . Right now I'm using Firefox 89.0.2 and Chrome 91.0.4472.124 On the real PLC we will use Chrome.
Thanks Marcel! Currently, I need to refresh the browser or use chrome with the Developers Tools open on the network tab and Disable Cache option ticked. When closing the developer tools window it doesn't work again. @sedoerr had the same issue here: https://forge.codesys.com/forge/talk/Visualization/thread/79526ea338/#1435 Stuck in a dead end with it.
Hi Marcel, I can't get it to work. I have an image called "image.jpg" and I added it to the image pool using the option "Remember the link and embed into project" and I set the Change Tracking to "Reload the file automatically" but when I replace the image with another one (but keep the file name) nothing changes. Also tried changing the Bitmap Version but it doesn nothing. What am I missing here? Thanks! Update: I just read that the option to load the image automatically is only for the IDE and...
Hi Marcel, I can't get it to work. I have an image called "image.jpg" and I added it to the image pool using the option "Remember the link and embed into project" and I set the Change Tracking to "Reload the file automatically" but when I replace the image with another one (but keep the file name) nothing changes. Also tried changing the Bitmap Version but it doesn nothing. What am I missing here? Thanks! Update: I just read that the option to load the image automatically is only for the IDE and...
Hi Marcel, I can't get it to work. I have an image called "image.jpg" and I added it to the image pool using the option "Remember the link and embed into project" and I set the Change Tracking to "Reload the file automatically" but when I replace the image with another one (but keep the file name) nothing changes. Also tried changing the Bitmap Version but it doesn nothing. What am I missing here? Thanks!
Ok, I found a solution using the Bring to Foreground option.
Ok, I never tried to access the file system (don't even know what $PlcLogic$/$visu$ means). Do you have a link to Codesys documenation about it? So I can learn how to access the file system. Currently, I'm testing on the Codesys Control Win x64.
Thank you Marcel! The Python program will run on a PC (Delta AX series with Codesys runtime) so both Codesys and the program are on the same machine. I'm trying to avoid using to many protocols so I wonder if I can use the OPC-UA instead of SSH. Also, I'm not sure how to find the real filename on the PLC so I can replace the image... If you could elaborate a little bit more it would be much appreciated!
Hi, I'm working in a project where I need to get a picture from a camera into a Python program, do some process and then pass it to Codesys in order to show it on the HMI. My plan is to use OPC-UA client on Python to change variables in Codesys. From what I understand, images in Codesys can only be used with pool with declaration of location of the image and that's not dynamic. I thought about Web Browser element but that means I will need to use an HTTP server on Python because only TargetVisu can...
Ok, I found what casue this but I can't solve it. I have a menu like this one: https://help.codesys.com/webapp/_visu_client_animation_example;product=core_visualization;version=3.5.14.0 Even tough the menu is in the close position, I can't scroll in the area where the menu lays. When I tried moving it to the other side, I confirmed what I thought. Any ideas?
Ok. I will try to ungroup the elements and test.
No, only lables. But the labels are in a group with buttons, is it possible that it affects the labels?
My labels doesn't have any input action. Just plain text...
BTW, Is it possible to make scroll when touching other elements in the frame? I have many labels but when I try touching those when trying to scroll it doesn't work, only when I touch an empty spot on the frame.
I unchecked the "Scroll elements with scrollbar" and it seems to be working now (altough not smooth like other websites). Thanks!
No output that relates to this. I see error messages because I updated the compiled softwre so the local WebVisu is trying to reconnect.
I do have scrollbars actually. But I enabled touch events in the browser and it does work with other websites, only in the WebVisu it doesn't.
Thank you dkugler, but I couldn't get the exmaple to work. It says "No module named cv2" I followed the instructions but still get the error. When I run the script outside of Codesys it runs without the error. UPDATE: I just found out that Codesys is running Python 2.7.7 Not sure why the example docs says to install 3.4 and higher...
Thank you dkugler, but I couldn't get the exmaple to work. It says "No module named cv2" I followed the instructions but still get the error. When I run the script outside of Codesys it runs without the error.
Thank you dkugler, but I couldn't get the exmaple to work. It says "No module named cv2" I followed the instructions but still get the error.
Thank you dkugler, but I couldn't get the exmaple to work. It says "No module named cv2" I followed the instructions but still get the error.
Hi! I managed to install the OpenCV package with the help of this guide: https://forge.codesys.com/hax/blog/2018/05/codesys-raspberry-pi---opencv-on-current-raspbian/ But now when I try to run the example CameraStreamOpenCVExample.project the download of the CmpOpenCV library failed. How can I get that library? Thanks!
Hi, I'm using Codesys v3.5 SP17. I have a project with Web Visualization and it works OK on Chromium with kiosk mode. The problem is that I can't scroll a frame with the touch screen, I can only click on the position of the scroll bar and it changes but not scrolling as it should on touch. I do have all the Chormium flags and it seems to work on any other website (tried google search results and more) only on the WebVisu it doesn't so it leads me to believe that the issue is with Codesys and not...