Hi, I have a Linux 64Bit system with a Codesys application running on it. It stops after 2hours and a few minutes, which makes me think something is wrong with the installed license. (in my last timing it stopped after 2h4min, on the codesys website it is stated that runtimes without a license stop after 2h) I installed the license via a USB license dongle that I activated on my workstation with the Codesys IDE a while ago. Now the system is shipped at not accessible physically, only remotely via...
Hi, thank you again for your input. I could not find any documentation on the Security Agent and the store seems to be unavailable now. For now it would be enough for me if I could access the web visu at all, so http would be fine.
Hi, thank you for the quick response. This is the exported log file:
Hello everyone, I have a Linux 64Bit soft PLC that is supposed to run a web visualization. I have a valid license for the runtime - the dongle is inserted to the device and is read successfully by Codesys. When I try to open the web visualization I see the red loading symbol that tells me that an error happened. I can log in to the project via the CodeSys IDE and live debug - the application works fine without exceptions. In the log under "Device" I can see these two messages: TlsCreateContext: Creating...
Hi dFx, thank you very much for your reply. Yes, in the end I solved it with the NBS library. Their UDP.Receiver has a structure that contains the remote IP and port - that way I could then establish a two way communication.
Hello everyone, so I am trying to implement a UDP server that will wait for a message from a client and then send data to that client. The problem is, I cannot find a way to get the port number of the UDP client that is sending a message to me. I have created the socket like this: thesocket :=SysSockCreate( iAddressFamily := SOCKET_AF_INET, diType := SOCKET_DGRAM, (* For UDP*) diProtocol := SOCKET_IPPROTO_UDP, //or SOCKET_IPPROTO_IP ? pResult := ADR(CreateErrorCode)); bound like this: m_bound :=...
@mg0815 Vielen Dank für deinen Post. Ich dachte immer die Transparanz von Histogrammen könnten nur in anderen CodeSys Versionen umgestellt werden; dabei liegt es tatsächlich an diesen dämlichen Visu Stilen. Die Doku schweigt sich beim Punkt Histogramm natürlich über diesen Punkt aus - nicht sonderlich hilfreich wenn man auf der Suche nach Hilfe ist...
I see what happened: m.prestel said: "Using these properties you can also change the width/height of the rectangle (not only the top left position)" and meant that you can use the "relative movement" properties to adjust the dimensions of the object. Try putting your variables there.
Yes that is true! I thought we were talking about the movement variables!
This is weird because the exact same setup works for me. I have one last idea: Try initializing the values with a non-zero value (it should be the starting coordinate of your edge on the visualization canvas). So for example iWidth : INT := 100; I hope this does the trick.
Looks like iHight is no variable of the INT data type. How have you declared iHight? And where have you declared it? Try this in a global variable list or in a Program: iHight : INT; and then access the variable in the visu page like this: MyVariableList.iHight If you have declared iHight within a program you will have to write the qualifier before the variable, so maybe that is your problem?
Which codesys version are you using? For me (3.5.7) I can put variables there without problems. What is your compiler error? My variables are of type INT, maybe you are trying something different?
I don't know - for my current scenario the 20 circles that I am moving are plenty. Will codesys restrict the number of moving elements at some point?
Hello @m.prestel, wow, thank you for your answer! This sheds some light onto the issue! Thank you and have a nice week! best regards
Hi, as i-campbell and m.prestel said, you can use the absolute movement property to move your elements on your visualization page. You can use the relative movement property to "move" only the right/bottom edge of your object, which makes it possible to change the size of your visualization elements. I am using this feature to "animate" some of my visualization pages and it works pretty good. I have tested it using up to 30 moved elements which did not slow my cycle time down (obviously this will...
Hi everyone! I have a host application that is using the visualization profile “CODESYS V3.5 SP10 PATCH 3”. I am creating a visualization library and want to use it in said application. In the library, I have also set the visu profile to “CODESYS V3.5 SP10 PATCH 3”. I have checked all libraries like “VisuElems, 3.5.10.30 (System)” to be of the same version in the library and in the application. Unfortunately, when I edit visu elements in the library, I get different editing options in the library...
Hi everyone! Basically my question is: Is it possible to have a trace element plot discrete changes in a variable (only one point per record)? I want to record and plot a variable that changes after a certain trigger event happens. So far I have tried setting up a trace element for this. Unfortunately, even if I configure the trigger (with a rising flank) and set the option "post trigger samples" to 1, still more then one data point is plotted on the visualization. The desired behavior would be,...