Ankündigung

Einklappen
Keine Ankündigung bisher.

Gira X1 und Modbus TCP mit Logikbaustein

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

    #46
    Zitat von Esteban Beitrag anzeigen
    I have tried with radzio modbus master and the result is the same.
    your screenshot states an error while connecting to the IP adress of the X1. what means, the program tries to connect to a modbus server on the X1. but there is no one.

    if you have the same problem (same error), that you did the same: you tried to connect to an non existing modbus server.


    Zitat von Esteban Beitrag anzeigen
    Have you used a basic sofware tool to simulate the comunication. Can you tell me with one?
    i have never used a simulator but only real devices.

    i suggest to open another thread, where you explain your detailed setup and what you want to try to reach. your problem seems not really related to this modbus node, that is being discussed here.

    Alram


    Kommentar


      #47
      Dear Alram,

      I have know communication. Hexadecimal at Raw output and decimal at register output.
      But how do you manage this data? At homeserver there are more advanced modules to do it. But at X1 how do you do it?

      Thank you in advanced.

      Esteban

      Kommentar


        #48
        Hi Esteban,

        Zitat von Esteban Beitrag anzeigen
        But how do you manage this data? At homeserver there are more advanced modules to do it. But at X1 how do you do it?
        don't understand your problem. the "RAW / Error" output is just for debugging purposes. not indeded for use as part of any logic.
        But the output ("Register Wert") should provide simply the value from the modbus register. What to do with that is up to you or what you want to reach.

        Alram

        Kommentar


          #49
          Dear Alram,

          I have the modul working fine.

          But I have to read negative values.

          The module has any way to process negative values?

          Thank you

          Kommentar


            #50
            Hi Esteban,

            just checked: INT datatype uses BitConverter.ToInt32 (https://github.com/rossmann-engineer...Client.cs#L281) regarding to MSDN doc (https://docs.microsoft.com/en-us/dot..._System_Int32_) this is already treated as signed value. so negative value should already work (with the latest version).

            BR
            Alram

            Kommentar


              #51
              Estimado Alram,

              estoy usando la última versión (V0.0.3). Creo.

              Te adjunto la imagen con los datos reales (software qmodmaster) y los datos del módulo.

              Los datos positivos funcionan perfectamente.



              Esteban​​

              Angehängte Dateien
              You do not have permission to view this gallery.
              This gallery has 1 photos.

              Kommentar


                #52
                Hi Esteban,

                sry - but i don't speak/understand spanish. latest version is 0.0.12 (https://knx-user-forum.de/forum/%C3%...32#post1657832).

                Alram

                Kommentar


                  #53
                  Hi Alram,

                  I'm sorry , my last chat was translated automatically to spannish languaje.

                  I attach you the screen shot of a free software reading the modbus negative data and the X1 module with the 0.0.12 version.
                  The data is 16bits and it doesn't understand negative values.

                  Thank you.

                  You do not have permission to view this gallery.
                  This gallery has 1 photos.

                  Kommentar


                    #54
                    try this version and the new data type "16 bit signed". pls provide feedback - thanks!

                    HTH Alram
                    Angehängte Dateien

                    Kommentar


                      #55
                      Dear Alram,

                      Thanks a lot for your answer.
                      I have checked the 0.0.13 version but I have not found the 16 bits integer signed option.
                      With 16 bits integer doesn't works with negative values.

                      Thanks
                      Angehängte Dateien

                      Kommentar


                        #56
                        strange - i have the new datatype. can you try to create new project in GPA and insert new query modbus node there?

                        Kommentar


                          #57
                          Alram,

                          You were right. I have solved restarting the GPA software. Creating a new project the problem was the same.

                          Now it works perfectly!!!

                          Thanks a lot

                          Kommentar


                            #58
                            Hallo Zusammen,

                            der Post ist ja schon was älter.
                            Wo finde ich denn dieses Modbus Logik Modul in der Gira GPA.
                            Bei mir ist das garnicht vorhanden.

                            Schöne Grüße,
                            Thomas

                            Kommentar


                              #59
                              Lesen hilft, oder mag hier jeder eine persönliche Antwort?

                              Kommentar


                                #60
                                habe mir den Gesamten Verlauf mehrmals durchgelesen, aber leider keine Lösung für mein Problem herauslesen können.

                                Ich finde in der GPA / Logikmodul keine Modbus Grundfunktion. Damit hat der Ersteller des Beitrages ja angefangen.

                                Kommentar

                                Lädt...
                                X