Jump to content

Recommended Posts

What Logic is necessary for you to establish communication with Samba SM70-J via a standard Router + DDNS to remote operator?

What is the "Socket" ?......Is it the physical port on the HMI or a virtual one, and how do you activate one?(if necessary)

I've programmed the PLC at the workshop and it was working from outside the country...but since its been on sight it stopped working.

Screenshot (29).png

Screenshot (30).png

Share this post


Link to post
Share on other sites

I recommend you search the internet to learn about this. A socket is a standard networking term for an endpoint for sending or receiving data. Your Samba has 4 sockets available for ethernet communications. Each socket has a default configuration, or you may configure manually via the Socket Init function block. The default for PC-PLC communications is TCP protocol via Port 20256. Socket 1 defaults to this configuration. It looks to me like your setup visible in the screenshots is correct, assuming you have the ethernet addressing right.

I recommend you read the Help entries relating to ethernet communications and also review the example programs that came with your VisiLogic installation. Both are very good. There are also many YouTube videos produced by Unitronics that are very helpful.

One other thing - you should probably perform your Power-Ups first before running your subroutines (reverse rungs 1 & 2).

Share this post


Link to post
Share on other sites

Do what Flex is suggesting, but also......

13 hours ago, Ace_Systeco said:

I've programmed the PLC at the workshop and it was working from outside the country...but since its been on sight it stopped working.

To me this sounds like you need to have modem/router work done at the remote site.  If you are saying it was all working fine, including Remote Operator, in the workshop before shipping, then it is a site issue.  It is far preferable if the remote site has a static DNS rather than Dynamic.  It can save you a lot of headaches.  But if it can only be Dynamic, the very first thing needed is to get the modem/router telling the world what it's current address is.  Most reasonable modem/routers have this facility built in.  After that is happening the router then needs to have instructions given to direct the external requests correctly.

For years I tried all sorts of free DNS providers that were decidedly haphazard in their effectiveness.  In the end I stuck with paying a tiny amount of $s to dyndns.org which has always been rock solid performance. 

cheers, Aus

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...