virtuelle Ausgabe UDP Nachricht bricht.

Einklappen
X
 
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge
  • Gast

    #1

    virtuelle Ausgabe UDP Nachricht bricht.

    Hallo.
    Über die UDP-Kommunikation wird das RS485-Slave-Gerät gesteuert. Das Gerät ist rs485 to wifi (elfin11).

    Verbindungsdiagramm:


    rs485 slave ------> rs485 to wifi (UDP socket) ------------>>
    (IP 192.168.219.104/80)

    --------> loxone miniserver
    (IP192.168.219.102/8899)


    Wenn ich den Befehl direkt vom rs485Slave-Gerät aus gebe, kann ich es mit dem Luxone virtuellen Input bestätigen.

    Ich habe es mit einer anderen seriellen Kommunikationssoftware getestet und die Übertragung von Befehlen ist auch sehr gut.

    Es gibt jedoch Probleme, wenn man einen Befehl mit der virtuellen Ausgabe von Luxone ausgibt.

    Ich habe den Wert von Luxone Virtual Input kopiert und ihn an die Luxone Virtual Output geklebt. Es wird bestimmt weitergegeben.

    Aber es funktioniert nicht richtig. Wenn man es mit dem Monitor überprüft, bricht das gesendete Zeichen.
    Wie soll man das lösen? Danke im Voraus.
  • Christian Fenzl
    Lebende Foren Legende
    • 31.08.2015
    • 11234

    #2
    Hi,

    if you prefer you may write in English - this might things make more clear than Google Translate 😉

    In your first screenshot, you've noted "Data from virtual input", but the background shows a virtual output - for me, this gives some uncertainty what you mean.

    If you try to paste the content of an input into an output, try to not open the edit window, but directy paste the content to "Command for ON" right beneath the label.

    If it still mixes up your text, try to enter it directly (without copy/paste).

    Best regards
    Christian
    ​​​​​​
    Hilfe für die Menschen der Ukraine: https://www.loxforum.com/forum/proje...Cr-die-ukraine

    Kommentar

    • Gast

      #3

      thanks,




      Klicke auf die Grafik für eine vergrößerte Ansicht  Name: 없음2.png Ansichten: 0 Größe: 435,8 KB ID: 289803








      Sie können mit anderen seriellen Kommunikationssoftware interagieren. Der Befehl lautet wie folgt:

      F70B 011802 461204 00 B7 EE = off


      F70B 011802 461201000 B2 EE = on


      (In Luxone wird Folgendes eingefügt:

      \xF7\x0B\x01\x18\x02\x46\x12\x04\x00\xB7\xEE)


      Aber nichts passiert. Der Brief wird immer noch zerbrochen geliefert.

      Dieser Artikel wurde auf Deutsch auf Englisch geschrieben.

      Ich habe es auf Englisch übersetzt.
      Sagen Sie mir, was gut ist.







      i can cross check with other serial communications software. The command is:

      F7 0B 01 18 02 46 12 04 00 B7 EE = off


      F7 0B 01 18 02 46 12 01 00 B2 EE = on




      (In Luxone wird Folgendes eingefügt:

      \xF7\x0B\x01\x18\x02\x46\x12\x04\x00\xB7\xEE)




      But nothing happens. Letters are still delivered broken.







      This article is written in German via English.

      and English directy.

      Please tell me which one is good.
      Zuletzt geändert von Gast; 04.02.2021, 14:46.

      Kommentar

      • Christian Fenzl
        Lebende Foren Legende
        • 31.08.2015
        • 11234

        #4
        I don't see any broken package.
        Have you tried to add a carriage return (\n)?
        Do you have a link to the spec?
        Hilfe für die Menschen der Ukraine: https://www.loxforum.com/forum/proje...Cr-die-ukraine

        Kommentar

        • Gast

          #5
          The LOXONE UDP monitor was able to verify that characters that cross-checked with other serial communication software are still being outputting broken characters.

          Other serial communication software: UDP communication from my laptop. You can read and send packets just like LOXONE's monitor. This will also respond to the mini-server and the original device. This confirms that other settings are good. For example, PUTTY.

          The current UDP master part is the LOXONE mini-server.

          rs485 to wifi (elfin11) and laptop are slave.





          Der LOXONE UDP-Monitor konnte überprüfen, ob die überprüften Buchstaben noch beschädigte Zeichen mit anderen Serialkommunikationssoftware ausgeben.

          Andere serielle Kommunikationssoftware: UDP-Kommunikation auf meinem Laptop. Sie können Pakete lesen und senden, wie ein Monitor in LOXONE. Es reagiert auch auf Miniserver und das ursprüngliche Gerät. Wenn Sie dies tun, überprüfen Sie, ob die anderen Einstellungen in Ordnung sind. Zum Beispiel PUTTY.

          Der aktuelle UDP-Masterteil ist ein LOXONE-Miniserver.

          rs485 to wifi (elfin11) und Notebook sind Slave.





          I think I need to find out more about Carriage Return.
          Angehängte Dateien
          Zuletzt geändert von Gast; 04.02.2021, 15:34.

          Kommentar

          • Christian Fenzl
            Lebende Foren Legende
            • 31.08.2015
            • 11234

            #6
            I'm sorry, I cannot follow you.

            ​​​​​I cannot catch up what sending from the Miniserver to a device has to do with receiving data from a pc program, or in what relation the shown switch from the UI is.

            It is a bit confusing, as I even haven't got, what is sending or receiving from where.

            Possibly you start over with
            UDP Miniserver to Elfin WORKS
            UDP PC to Elfin WORKS
            and so on.

            As we both (?) aren't English native speakers, you possibly add more tech and less text 😉
            Zuletzt geändert von Christian Fenzl; 04.02.2021, 19:18.
            Hilfe für die Menschen der Ukraine: https://www.loxforum.com/forum/proje...Cr-die-ukraine

            Kommentar


            • Christian Fenzl
              Christian Fenzl kommentierte
              Kommentar bearbeiten
              BTW your UDP Monitor is in Learning not in Monitoring mode.
          • Gast

            #7
            One discovery:

            A kind of 'trash value' is sent even though nothing is connected when i switch ON/OFF ...

            Do you have an opinion here?


            thanks.

            Kommentar

            • Christian Fenzl
              Lebende Foren Legende
              • 31.08.2015
              • 11234

              #8
              Look at the "UDP" window, there are two buttons "Monitor" and "Learn". You are in Learning mode. UDP Monitor shows incoming UDP traffic, not outgoing.
              Hilfe für die Menschen der Ukraine: https://www.loxforum.com/forum/proje...Cr-die-ukraine

              Kommentar

              • Gast

                #9
                Danke für Ihren Rat.

                Das Paket wurde durch 'Wire Shark' überprüft.
                Mit 'MS' kann ich das UDP Packet auch auf meinem Computer und überall hingehen. Außer dem UDP-Modul, das ich verbinden möchte. Es sieht so aus, als ob nur der Port blockiert ist. Bald wird der entsprechende Beitrag wieder gestartet.
                Zuletzt geändert von Gast; 05.02.2021, 09:53.

                Kommentar

                Lädt...