Activity for dkugler

  • dkugler dkugler modified a comment on discussion Visualization 🇬🇧

    little trick with scaling problems at auto detected screen sizes: Place a small object, a line or circle or bitmap with only 1 or 2 pixel hight/length in the lower right corner of the visualizations, which will be shown in the web browser element. I remember a similar problem in my beginnings with Codesys visu 6 years ago. So till that time, I always place a quit or home button in the lower right corner in my visualizations :-) Second hint: right click the visualization an enter properties/Visualization...

  • dkugler dkugler posted a comment on discussion Visualization 🇬🇧

    little trick with scaling problems: Place a small object, a line or circle or bitmap with only 1 or 2 pixel hight/length in the lower right corner of the visualizations, which will be shown in the web browser element. I remember a similar problem in my beginnings with Codesys visu 6 years ago. So till that time, I always place a quit or home button in the lower right corner in my visualizations :-) good luck!

  • dkugler dkugler modified a comment on discussion Visualization 🇬🇧

    maybe you can use the Visu Element "Web Browser" and switch the URL to the selected Pi. Declare a string variable and write the ULRs in this string, depending of the pressed tab switch: https://help.codesys.com/webapp/_visu_elem_webbrowser;product=core_visualization;version=3.5.16.0

  • dkugler dkugler posted a comment on discussion Visualization 🇬🇧

    maybe you can use the Visu Element "Web Browser" and switch the URL. Declare a string variable and write the ULRs in this string, depending of the pressed tab switch: https://help.codesys.com/webapp/_visu_elem_webbrowser;product=core_visualization;version=3.5.16.0

  • dkugler dkugler posted a comment on discussion Deutsch 🇩🇪

    schon mal bei Google "Codesys Visu" eingegeben und dann den Reiter Videos gedrückt? Ergibt schon mal 1300 Ergebnisse. Das könnte doch schon mal weiterhelfen, um in das Thema Visualisierung mit Codesys einzusteigen?

  • dkugler dkugler posted a comment on discussion Runtime 🇬🇧

    👍👍

  • dkugler dkugler posted a comment on discussion Runtime 🇬🇧

    which version of codesys you are using? You have SysSem 3.5.12.0 and 3.5.16.0 at the same time in you project. Cleaning up your project settings and update all devices etc. to the same runtime version may help

  • dkugler dkugler posted a comment on discussion Visualization 🇬🇧

    Maybe insert a blank if empty? Then the variable has something to display, but no visible character will be there..

  • dkugler dkugler posted a comment on discussion Visualization 🇬🇧

    have a look at this project: https://forge.codesys.com/forge/talk/Runtime/thread/04361f89ec/#1099 was helpful in my cases!

  • dkugler dkugler posted a comment on discussion Deutsch 🇩🇪

    meins Wissens lässt sich die Zeit nicht zurücksetzen. Die Zeitachse läuft immer seit Start der Steuerung. Ich würde es auch sehr begrüßen, wenn der Trace die Zeit ab Reset oder Start der Aufzeichnung anzeigen würde. Ich kenne bisher nur den Weg, mit der Hand am Arm, die Aufzeichnung in ein Array selber zu programmieren und dann das XY-Chart Element zur Anzeige verwenden. Der Vorteil ist, man hat den Speicherverbrauch selber in der Hand und kann die Aufzeichnungszeit und -zyklus flexibel zur Laufzeit...

  • dkugler dkugler posted a comment on discussion Engineering 🇬🇧

    5 seconds searching with go...le 🙈 https://infosys.beckhoff.com/english.php?content=../content/1033/ethercatsystem/1037001483.html&id=

  • dkugler dkugler posted a comment on discussion Engineering 🇬🇧

    which fieldbus you are talking about? Think that's necessary to get help.

  • dkugler dkugler posted a comment on discussion Engineering 🇬🇧

    easiest and fastest solution is to wrap the data in a structure and write/read this struct data as bin file: fbFileWrite_Inst( sNetId:= '', hFile:= Filehandle, pWriteBuff:= ADR(ProduktDaten), cbWriteLen:= SIZEOF(ProduktDaten), bExecute:= TRUE, tTimeout:= T#5s, bBusy=> , bError=> , nErrId=> udiFileWriteErrorId, cbWrite=> udicbWrite);

  • dkugler dkugler posted a comment on discussion Deutsch

    Auf diese Funktion warte ich auch schon seit vielen Codesys-Versionen, dass eine Benutzergruppe nur gruppengleiche oder in der Hirarchie niedere Benutzer erstellen und ändern darf! Vielleicht ist es ja mittlerweile möglich? Es ist leider nicht praktikabel, dass mein Kunde, der Benutzer verwalten können möchte, auch Benutzer mit Hersteller-Rechten anlegen kann. Den einzigsten Workaround den ich programmiert hatte, war ein modifzierter eigener Verwaltungsgialog, der programmatisch bestimmte Dinge im...

  • dkugler dkugler posted a comment on discussion Deutsch

    dann solltest du mal mit einem Oszilloskop generell dein Encodersignal anschauen, um "sehr kurz" definieren zu können. Die Pulsdauer darf deine Zykluszeit nicht unterschreiten und der Eingang muss das Signal auch schnell genug erfassen. Was die Steuerungshardware nicht erkennt, kannst über Software nicht reparieren.. Was für eine Steuerung verwendet ihr denn und was sagt das Datenblatt über min. zu erfassende Pulse, bzw. max. Frequenzen? Wenn die Standard Eingänge es nicht hergeben, einen Encodereingang...

  • dkugler dkugler posted a comment on discussion Deutsch

    Du erzeugst mit dem Signal von Spur A einen Puls bei steigender Flanke (Standard.R_TRIG). In dem Moment schaust Du ob die B-Spur auf low ist, dann Zähler +1, ist sie auf high Zähler -1; dasselbe für die fallende Flanke (Standard.F_TRIF) der A-Spur, nur invertiert: fallende Flanke auf Spur A und B ist auf high, dann Zähler +1, bei low -1. Das ganze Spiel kannst jetzt noch für die Flanken der B-Spur machen und jeweils auf den Zustand der A-Spur schauen, dann hast sogar eine Vervierfachung der Puls...

  • dkugler dkugler posted a comment on discussion Deutsch

    Als Hilfestellung: Du könntest Dir nochmal Gedanken zu Deinem eingestellten base directory und dessen Zugriffsberechtigungen abhängig vom Betriebssystem machen. Die Auswirkungen hast Du ja selber schon entdeckt.

  • dkugler dkugler modified a comment on discussion Visualization

    have a look at this example: https://forge.codesys.com/forge/talk/Deutsch/thread/91a22bbea1/ It is possible to login from IEC Code. The customer then doesn't recognize, there is a usermgmnt in the background.

  • dkugler dkugler posted a comment on discussion Visualization

    have a look at this example. It is possible to login from IEC Code. The customer then doesn't recognize, there is a usermgmnt in the background.

  • dkugler dkugler posted a comment on discussion Deutsch

    das Projekt war ja noch für Codesys V3.5 SP6 Habe das Projekt mal auf aktuellen Stand gebracht, Fehler entfernt durch ergänzen von : ACCESS_MODE.AM_APPEND_PLUS Bei mir funktioniert jetzt alles.

  • dkugler dkugler posted a comment on discussion Deutsch

    das Projekt war ja noch für Codesys V3.5 SP6 Habe das Projekt mal auf aktuellen Stand gebracht, Fehler entfernt durch ergänzen von : ACCESS_MODE.AM_APPEND_PLUS Bei mir funktioniert jetzt alles.

  • dkugler dkugler posted a comment on discussion Visualization

    is it possible for you or the promotion people to make youtube videos, explaining how the visualization is working in the background and how you as experts use it? That will be great! And I haven't seen a offer for a training about creating good visualizations with Codesys?

  • dkugler dkugler posted a comment on discussion Visualization

    once more a little unimpressive checkbox with unsuspected effects 😎 now it works.. Thank you Edwin 👍

  • dkugler dkugler modified a comment on discussion Visualization

    the reason are the group boxes! After 1hour thinkering i got it. I changed the project to Codesys Control Win and deleted all wago things. After download to the Control Win and opening 127.0.0.1:8080/webvisu.htm I got the same effect like you. I placed one groubox at the mainmenue and the white background appears there too! So the PFC ins't the problem! Send the project to codesys support --> Meine Frage

  • dkugler dkugler posted a comment on discussion Visualization

    the reason are the group boxes! After 1hour thinkering i got it. I changed the project to Codesys Control Win and deleted all wago things. After download to the Control Win and opening 127.0.0.1:8080/webvisu.htm I got the same effect like you. I placed one groubox at the mainmenue and the white background appears there too! So the PFC ins't the problem! Send the project to codesys support --> Meine Frage

  • dkugler dkugler posted a comment on discussion Visualization

    Programming System is updated every 200ms only, so probably you can't See the white screen there. Browser normally update faster, depents to the settings of webvisu and tasks. Do you have a big picture as Background, that has to be downloaded from the Webserver, which is different from shutter to shutter? Whats your plc? A Raspberry Pi?

  • dkugler dkugler posted a comment on discussion Visualization

    what do you mean with runtime? switch from the visu client in the yprogramming system at the PC or change the variable by IEC code at your plc?

  • dkugler dkugler posted a comment on discussion Engineering

    EtherCAT Slave requires a special ASIC or controller like the Infineon XMC4300/XMC4800. If your plc's are both only equipped with regular Ethernet-Ports and EtherCAT Masters, the only way to connect them is via a gateway. You can have a look at Hilscher, Beckhoff, Anybus X-Gateway, KEB MFI https://www.keb.de/fileadmin/media/Manuals/ca/ma_ca_c6-io-ethercat-slave-20184882_mu_00.pdf etc... You will get the XML of the slave from the manufacturer.

  • dkugler dkugler posted a comment on discussion Deutsch

    wie i-campell geschrieben hat, CurrentVisu-Variable verwenden, der musst du aber den Visu Namen als String übergeben. Alternativ das Element Frame in deine Hauptvisu reinziehen und dort die "Unter-Visu's" referenzieren(konfigurieren), als Umschaltvariable die angeben, die durch deine Combobox geändert wird:

  • dkugler dkugler posted a comment on discussion Deutsch

    Übung macht den Meister! Ist noch keiner vom Himmel gefallen und beim 2. Mal geht's schon mindestens doppelt so schnell!😄

  • dkugler dkugler modified a comment on discussion Deutsch

    hier noch das Beispielprojekt zum Abkupfern:

  • dkugler dkugler posted a comment on discussion Deutsch

    hier noch das Beispielprojekt zum Abkupfer:

  • dkugler dkugler modified a comment on discussion Deutsch

    Habe mal mit ein paar Linien und Rechtecken einen Rolladen gepinselt 😎 Durch "relative Bewegung" unter den Elementeigenschaften kann man ganz fix Rechtecke dehnen oder stauchen. Man muss eben die Variable mit dem Wert an der richtigen Stelle eintragen. Die Pixelwerte beginnen ja links oben mit X0 Y0. Geht der Rolladen in die falsche Richtung, dann drehe ich das direkt im Variablenfeld und füge den notwendigen Faktor hinzu, dass das Ergebnis die notwendige Anzahl Pixel ergibt, um die die Ecke verschoben...

  • dkugler dkugler modified a comment on discussion Deutsch

    Habe mal mit ein paar Linien und Rechtecken einen Rolladen gepinselt 😎 Durch "relative Bewegung" unter den Elementeigenschaften kann man ganz fix Rechtecke dehnen oder stauchen. Man muss eben die Variable mit dem Wert an der richtigen Stelle eintragen. Die Pixelwerte beginnen ja links oben mit X0 Y0. Geht der Rolladen in die falsche Richtung, dann drehe ich das direkt im Variablenfeld und füge den notwendigen Faktor hinzu, dass das Ergebnis die notwendige Anzahl Pixel ergibt, um die die Ecke verschoben...

  • dkugler dkugler posted a comment on discussion Deutsch

    Habe mal mit ein paar Linien und Rechtecken einen Rolladen gepinselt 😎 Durch "relative Bewegung" unter den Elementeigenschaften kann man ganz fix Rechtecke dehnen oder stauchen. Man muss eben die Variable mit dem Wert an der richtigen Stelle eintragen. Die Pixelwerte beginnen ja links oben mit X0 Y0. Geht der Rolladen in die falsche Richtung, dann drehe ich das direkt im Variablenfeld und füge den notwendigen Faktor hinzu, dass das Ergebnis die notwendige Anzahl Pixel ergibt, um die die Ecke verschoben...

  • dkugler dkugler posted a comment on discussion Visualization

    @sedoerr why increment and decrement? Marcel increments only..?

  • dkugler dkugler posted a comment on discussion Visualization

    have a look: https://forge.codesys.com/forge/talk/Visualization/thread/3ae1b55e7e/#9225

  • dkugler dkugler posted a comment on discussion Visualization

    sorry, I'm not familiar with html and java!

  • dkugler dkugler posted a comment on discussion Visualization

    I've searched for this too and wasn't able to find a usable value or bit. The only thing i can imagine is, that 3S has to enhance the webserver with such a function, because there are possibilities in HMTL and java to detect if the browser application with webvisu is in focus or not.

  • dkugler dkugler posted a comment on discussion Runtime

    because I used the winplc I had to switch off the firewall of Windows10 to get the UDP pakets sent and recieved.

  • dkugler dkugler posted a comment on discussion Engineering

    I often use export/import mappings to/from CSV and edit the files with Excel. For me it's more comfortable to have automated numbering, find-replace etc. You can find the export function after right click of the I/O-module in the device tree.

  • dkugler dkugler posted a comment on discussion Visualization

    because of little bit confusing discussions in this thread, if hints needed for the workarounds, let me know.

  • dkugler dkugler posted a comment on discussion Visualization

    in this post https://forge.codesys.com/forge/talk/Deutsch/thread/91a22bbea1/#8506 you can find a project to login from IEC code. After creating two user groups in the usermanagement, maybe this is a other simple way to allow or disable user inputs on specific clients and visu objects. I can't use the currentvisuvariable in my project, so I login or out the right user during the iteration for synchronisation or check if the right user is logged in, as Chris.O described.

  • dkugler dkugler modified a comment on discussion Visualization

    i use this solution only for not safety relevant functions! generally the hardwired estop is necessary! In my case the only client which is allowed to start/stop is a web panel from Berghof Automation with known ip. The browser app is the only active application and focus is fixed there, so i never had the problems like you. Only thing was, if network connection got lost. For checking and synchronising several modes, user login etc, i use a array of struct for each client and manage there the actual...

  • dkugler dkugler posted a comment on discussion Visualization

    i use this solution only for not seafty relevant functions! generally the hardwired estop is necessary! In my case the only client which is allowed to start/stop is a web panel from Berghof Automation with known ip. The browser app is the only active application and focus is fixed there, so i never had the problems like you. Only thing was, if network connection got lost. For checking and synchronising several modes, user login etc, i use a array of struct for each client and manage there the actual...

  • dkugler dkugler posted a comment on discussion Visualization

    for security i check the ip adress of the webvisu clients and only the known client is allowed to start special action and if this one get's lost, the process is stopped!

  • dkugler dkugler modified a comment on discussion Visualization

    i added the following lines to the while loop of the iteration, like you posted above: IF pClientData^.GlobalData.ClientType=Visu_Clienttype.WebVisualization THEN timLastWebVisuUsage:=pClientData^.GlobalData.LastUsage; END_IF and out of the while this code: xRemotePanelUsage:= timLastWebVisuUsage>timLastWebVisuUsageOld; timLastWebVisuUsageOld:=timLastWebVisuUsage; tofRemotePanelUsage(IN:= xRemotePanelUsage, PT:=T#300MS); That's my solution, I don't know how to do it with the methods.

  • dkugler dkugler posted a comment on discussion Visualization

    i added the following lines to the while loop of the iteration, like you posted above: IF pClientData^.GlobalData.ClientType=Visu_Clienttype.WebVisualization THEN timLastWebVisuUsage:=pClientData^.GlobalData.LastUsage; END_IF and out of the while this code: xRemotePanelUsage:= timRemotePanelLastUsage>timRemotePanelLastUsageOld; timRemotePanelLastUsageOld:=timRemotePanelLastUsage; tofRemotePanelUsage(IN:= xRemotePanelUsage, PT:=T#300MS); That's my solution, I don't know how to do it with the meth...

  • dkugler dkugler posted a comment on discussion Runtime

    I found a project from some years ago. Is in a very raw state, but worked well for some tests/events with this ArtNet-DMX-Gateway: https://shop.ulrichradig.de/Module/Light-Control-DMX/ART-NET-QUAD.html Disabling the firewall was necessary to get the UDP pakets out. Maybe you can have a look at this.

  • dkugler dkugler posted a comment on discussion Visualization

    try another page than google.com for testing the webBrowser Element. I run into the same issue and figured out, that it looks like google doesn't allow opening the webpage in a frame :-)

  • dkugler dkugler modified a comment on discussion Visualization

    LastUsage exists, but is not shown after typing "." (autofill) I think because you only can get it by a pointer to the visuVisuStructClientData. Set a breakpoint in your while of the iteration an if a visuclient is active have a look at the pclient variable: in my case now I have only the visu of the programming system active:

  • dkugler dkugler modified a comment on discussion Visualization

    LastUsage exists, but it's not shown after typing "." (autofill)

  • dkugler dkugler modified a comment on discussion Visualization

    LastUsage exists, but it's not shown after typing "." (autofill)

  • dkugler dkugler posted a comment on discussion Visualization

  • dkugler dkugler modified a comment on discussion Visualization

    With visustructclientdata.GlobalData.LastUsage you can detect, if the webvisu connection is active: //RemotePanel letzter Zugriff ermitteln IF pClientDataRemotePanel<>0 THEN timRemotePanelLastUsage:= pClientDataRemotePanel^.GlobalData.LastUsage; END_IF //Neuer RemotePanelZugriff? xRemotePanelUsage:= timRemotePanelLastUsage>timRemotePanelLastUsageOld; timRemotePanelLastUsageOld:=timRemotePanelLastUsage; //Timeout überschritten? tofRemotePanelUsage(IN:= xRemotePanelUsage, PT:=T#300MS); heaviest thing...

  • dkugler dkugler posted a comment on discussion Visualization

    With visustructclientdata.GlobalData.LastUsage you can detect, if the webvisu connection is active: //RemotePanel letzter Zugriff ermitteln IF pClientDataRemotePanel<>0 THEN timRemotePanelLastUsage:= pClientDataRemotePanel^.GlobalData.LastUsage; END_IF //Neuer RemotePanelZugriff? xRemotePanelUsage:= timRemotePanelLastUsage>timRemotePanelLastUsageOld; timRemotePanelLastUsageOld:=timRemotePanelLastUsage; //Timeout überschritten? tofRemotePanelUsage(IN:= xRemotePanelUsage, PT:=T#300MS); heaviest thing...

  • dkugler dkugler posted a comment on discussion Engineering

    You have installed the 32 or 64Bit development system and which device you are programming?

<< < 1 2