• Recent
    • Tags
    • Popular
    • Register
    • Login

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website

    Help needed - Configuring Modbus/RS485 Data Source

    User help
    5
    14
    9.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      craig
      last edited by

      what kind of meter is it? see if the manufacturer has software meant to work with the meter, and if you can get it to work then you know the comms are good, and then proceed to getting it to work with mango

      1 Reply Last reply Reply Quote 0
      • S
        SSA
        last edited by

        Hello,
        Joohan if you are able to see a Com port in Mango=> data sources => Modbus serial properties; it means 99% that mango is working properly .

        Are you sure you define correct serial parameters : baudrate,
        data bits ... on both side ( RS232 and RS485)
        ?

        For me it 's not possible to use only a cable between RS232 and RS485>>
        you need a converter like : http://www.moxa.com/product/Transio_A5253.htm
        or others

        SSA

        1 Reply Last reply Reply Quote 0
        • J
          joohwan
          last edited by

          @craig said:

          what kind of meter is it? see if the manufacturer has software meant to work with the meter, and if you can get it to work then you know the comms are good, and then proceed to getting it to work with mango

          It's one from DENT and I do not have their software to test the configuration and connection. (It's 250$).

          1 Reply Last reply Reply Quote 0
          • J
            joohwan
            last edited by

            @SSA said:

            Hello,
            Joohan if you are able to see a Com port in Mango=> data sources => Modbus serial properties; it means 99% that mango is working properly .

            Are you sure you define correct serial parameters : baudrate,
            data bits ... on both side ( RS232 and RS485)
            ?

            For me it 's not possible to use only a cable between RS232 and RS485>>
            you need a converter like : http://www.moxa.com/product/Transio_A5253.htm
            or others

            SSA

            I made sure and double checked many times that we have all the serial parameters configured correctly - both Mango and the Meter :-<.

            Yes, I've done some googling and read up on the RS485 and am considering purchasing a converter you mentioned.

            Thanks.

            Joohwan.

            1 Reply Last reply Reply Quote 0
            • J
              joohwan
              last edited by

              Hello all,

              Thanks and I got my power meter configured and working properly with a RS485 to RS232 converter in the middle and creating Modbus Serial data source.

              While troubling shooting my Mango configuration, I came across several posts that recommended using Serial device servers such as http://www.moxa.com/product/NPort_5200A.htm.

              Has anyone successfully configured Modbus devices using the above-mentioned converters/gateways?
              What type of Mango data source is used - Modbus IP or Modbus Serial?

              TIA,

              Joohwan

              1 Reply Last reply Reply Quote 0
              • O
                oja
                last edited by

                When you are using some ethernet/gprs to RS232/RS485 converter, you have to use ModbusIP datasource with "Encapsulated" checkbox .

                This functionality provides encapsulating ModBus RTU to TCP/IP packets.
                We are using it with this converters
                http://www.m2marchitect.com/latest/gprs-rs232-communicator-2.0.html

                1 Reply Last reply Reply Quote 0
                • J
                  joohwan
                  last edited by

                  Thanks oja.
                  I will give it another shot at my configuration....

                  joohwan

                  1 Reply Last reply Reply Quote 0
                  • J
                    joohwan
                    last edited by

                    Hello oja,

                    @oja said:

                    When you are using some ethernet/gprs to RS232/RS485 converter, you have to use ModbusIP datasource with "Encapsulated" checkbox .

                    This functionality provides encapsulating ModBus RTU to TCP/IP packets.
                    We are using it with this converters
                    http://www.m2marchitect.com/latest/gprs-rs232-communicator-2.0.html

                    A quick quetion for you;

                    My Moxa serial to TCP gateway has several "operation mode" i.e. RealCOM, TCP Server/Client, UDP Server.
                    Which operation mode would be appropriate for the ModbusIP?
                    I figured it would be TCP Server and I can't get any data from the gateway?

                    TIA

                    joohwan,

                    1 Reply Last reply Reply Quote 0
                    • O
                      oja
                      last edited by

                      Hello,

                      I think, that you have to use RealComm mode.
                      I found this link
                      http://resourcecenter.controlmicrosystems.com/pages/releaseview.action;jsessionid=C3C07218259AE57F33419908D366D07C?pageId=2491074

                      1 Reply Last reply Reply Quote 0
                      • J
                        joohwan
                        last edited by

                        Hello oja,

                        Again thanks!!

                        1 Reply Last reply Reply Quote 0
                        • J
                          joohwan
                          last edited by

                          Hello all,

                          I am most pleased to share my successful connection of the RS485 power meter to Mango; Big thanks to those who posted answers/guides to my request for help.

                          I used MOXA Nport 5230 Serial device server for physical connection and created Modbus IP data source with "encapsulated" checkbox checked.

                          In my configuration, it was wiring issues from the power meter to NPort; 2 wire RS485 connection.

                          FYI, configure the COM port you are interested in to be TCP Server mode.

                          Best,

                          joohwan

                          1 Reply Last reply Reply Quote 0
                          • Q
                            qbek157
                            last edited by

                            here you have same modbus rs485 units
                            if you have problems with conection you cen contact us at http://www.a2s.pl/en/kontakt.php and we'll help you

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post