Author Topic: advance HMI and remote connection  (Read 2491 times)

oqapsking

  • Full Member
  • ***
  • Posts: 178
    • View Profile
advance HMI and remote connection
« on: October 11, 2016, 01:03:49 PM »
hello

i wanna know does (ModbusTCPCom) support remote connection?
meaning access it throw the internet not the local network
if it does
please tell me how to do it

note:
am using delta dvpES12
the local ip is 192.168.0.5
port : 502

i have opened Virtual Server in the router
as in the attachment

when i am connected to the same network
it works fine

but when am on a def rent network ( another internet connection )
it fails to connect

any one can help?
with thanks

Godra

  • Hero Member
  • *****
  • Posts: 1438
    • View Profile
Re: advance HMI and remote connection
« Reply #1 on: October 11, 2016, 03:30:09 PM »
Wild guesses:

When accessing from another internet connection then you should try using public IP of your network (which may or may not work).

I am not sure if setting port forwarding on the router would be any different than the Virtual Server setup that you created and allow the remote access.
« Last Edit: October 11, 2016, 07:06:11 PM by Godra »

oqapsking

  • Full Member
  • ***
  • Posts: 178
    • View Profile
Re: advance HMI and remote connection
« Reply #2 on: October 12, 2016, 05:05:21 AM »
So u mean it cant be done?

Godra

  • Hero Member
  • *****
  • Posts: 1438
    • View Profile
Re: advance HMI and remote connection
« Reply #3 on: October 12, 2016, 10:15:21 AM »
As stated in my post, those are "Wild guesses".

If I would suggest anything it would be: "It can't be easily done".

Since you are looking to access your network over the Internet, any user would generally be required to log in to the network first.
« Last Edit: October 12, 2016, 05:05:42 PM by Godra »

oqapsking

  • Full Member
  • ***
  • Posts: 178
    • View Profile
Re: advance HMI and remote connection
« Reply #4 on: October 12, 2016, 12:56:40 PM »
the way i see it like the DVR (Digital video recorder) for surveillance camera systems
for example
i have a dvr connected to my router
the dvr ip is 192.168.0.5 the port 502 and the internet connection ip is 10.20.30.50


what i have to do is foreword its ip and port through the router like the photo in my post
then i download the client on my phone or pc
and i right the ip address for the internet the dvr on and the port used by the dvr
so in the client i write 10.20.30.50\502
and it should show the dvr easily

Godra

  • Hero Member
  • *****
  • Posts: 1438
    • View Profile
Re: advance HMI and remote connection
« Reply #5 on: October 12, 2016, 04:54:41 PM »
With a setup like that, should I be able to connect to your dvr from my computer?

oqapsking

  • Full Member
  • ***
  • Posts: 178
    • View Profile
Re: advance HMI and remote connection
« Reply #6 on: October 13, 2016, 05:40:39 AM »
yes but first it is not the real ip and second in the dvr there is a username and password u have to name them

but if i gave u the real ip and port u will access the login screen

Godra

  • Hero Member
  • *****
  • Posts: 1438
    • View Profile
Re: advance HMI and remote connection
« Reply #7 on: October 13, 2016, 09:21:01 AM »
Theoretically speaking, it should work the same with your PLC.

I am not sure why it doesn't work.

kk6mrp

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: advance HMI and remote connection
« Reply #8 on: October 14, 2016, 05:24:13 PM »
I would make sure you are properly port forwarding through your router, check your firewalls and check to see if you have conflicting IP addresses / ports, also with the correct protocol selected in your router options, TCP and not UDP. In the past, I have seen that one has to add a port forwarder for both protocols, and selecting the wrong one would cause it not to work.

If none of that helps, try assigning your device a static IP address through your router and then repeat the steps over again.

oqapsking

  • Full Member
  • ***
  • Posts: 178
    • View Profile
Re: advance HMI and remote connection
« Reply #9 on: October 16, 2016, 10:03:25 AM »
thanks guys
sorry i didnt replay sooner

i have got it work
it seems there was something wrong with the router
i tried it on another one and it worked great
thanks guys :)