• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Remote programming, port forwarding

    Mervis
    3
    11
    3966
    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.
    • T
      tomas_hora administrators @Iogo last edited by tomas_hora

      @Iogo You could use the Mervis proxy for remote app deployment without the need of having any port opened. Check chapter 4.6 of the step by step. The only limitation is that you cannot change some parameters (IP address, proxy settings and some others) so you do not cut the connection to the PLC.

      1 Reply Last reply Reply Quote 0
      • I
        Iogo last edited by

        Well..the problem is that the proxy is disabled. The controller is 200km away, running just fine. Now I just would need to change some things in the program, without having to drive to the site.

        And the instructions about the whole proxy thing give me cold sweat.

        Whats this: Proxy ID - a unique ID string (Proxy ID)
        And where do I get it?

        Can I upload the configuration remotely if it says I am partially connected:
        Upload the configuration to UniPi and perform a device reboot

        What If I want to use TCP without proxy to upload new program?

        T 2 Replies Last reply Reply Quote 0
        • T
          tomas_hora administrators @Iogo last edited by

          @Iogo That's exactly what the proxy is designed for. You have to test if you can upload the configuration (not by the broadcast, but by connection parameters) containing the proxy configuration.

          You either got a Mervis licence request or the licence itself. If you got the Licence request card, there is a guide how to obtain the licence from our web. The licence is set of proxy_id, db_username and db_password generated for you.

          1 Reply Last reply Reply Quote 0
          • T
            tomas_hora administrators @Iogo last edited by

            @Iogo A little update. To make it work properly, you have to do a full attachment. To do this - select attach PLC, choose Use deploy parameters (expect that the fields are filled in correctly) then it should work ok.

            1 Reply Last reply Reply Quote 0
            • I
              Iogo last edited by

              Deploy parameters are correct, ip address, port, serial and controller type. Still complains about partial connection..but anyhow, if I want to use the proxy, which is it?

              Manual says on page 44: http://proxy.unipi.technology:6677

              And the default in mervis is: http://proxy.mervis.info:6677/

              Which is it? And if it is the http://proxy.unipi.technology:6677 it should be corrected in the mervis also to be default.

              Thanks.

              T 1 Reply Last reply Reply Quote 0
              • T
                tomas_hora administrators @Iogo last edited by

                @Iogo And the attach process went well?

                Both proxy.unipi and proxy.mervis should work, but stick with the proxy.unipi which is in the manual.

                1 Reply Last reply Reply Quote 0
                • I
                  Iogo last edited by

                  Nothing went well.

                  I have the proxy ID set, and I can debug the controller, so it means that I am connected but when I try to upload the changed parameters in proxy parameters it says:

                  Controller is only partial attached, please attach against real controller.

                  Host: IP-address of the controller
                  Port: The port where the controller resides.
                  Serial number: all zeros
                  Device: Neuron S103.whatever

                  Result: No go.

                  So to speak, this is really starting to piss me off

                  1 Reply Last reply Reply Quote 0
                  • I
                    Iogo last edited by

                    Well, thanks to Tomas, got it working :) Thanks and sorry about the previous ranting :)

                    Martin Kudláček 1 Reply Last reply Reply Quote 0
                    • Martin Kudláček
                      Martin Kudláček @Iogo last edited by

                      @Iogo Would you mind sharing with us what exactly helped you? Was it the proxy settings Tomas mentioned?

                      @tomas_hora Tomas, can you please explain, why the access to some public IP with forwarded port doesn't work? I'm experiencing similar problem - controller not fully attached - yet I am able to telnet to the IP and port from my computer.

                      T 1 Reply Last reply Reply Quote 0
                      • T
                        tomas_hora administrators @Martin Kudláček last edited by

                        @Martin-Kudláček it works, but you have to attach using the "Use deploy parameters" as described a few posts above

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