Host Engineering Forum
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 21, 2012, 08:15:44 pm


Login with username, password and session length


Pages: [1]
  Print  
Author Topic: resolve hostnames : ds5 connections over ecom  (Read 1622 times)
keith
Jr. Member
**
Posts: 18


« on: May 23, 2007, 12:33:49 pm »

It would be nice if you had an option to enter a hostname
in the link setup when using a ecom.  There is no way
to use DNS to establish a connection.  (I.E. sorter.myname.com
instead of 192.168.1.4)
Logged
BobO
Host Moderator
*****
Posts: 1149


Yes Pinky, we *are* going to control the world!


« Reply #1 on: May 23, 2007, 03:11:05 pm »

Yeah, that's one of those things we kick around from time to time. There are a couple of reasons we haven't pursued such things, but none of them are real killers. In general, we are not fond of using dynamic anything in a control environment; there are so many ways that can go wrong.

The original ECOMs didn't generate any traffic by themselves, so other than a TCP/IP address, there really wasn't much to configure or go wrong. With the addition of the report-by-exception feature, email, and the Modbus/TCP mastering, we had to add new configuration options. We tossed in DHCP about the same time. Of course all of these represent new and innovative ways to mess things up.  Grin

That said, that is a great idea and something we'll definitely add to the wish list.

Thanks for the feedback.
Logged

BobO

The Constitution does not guarantee us freedom from being offended...but we can choose not to be, and life gets so much easier.
MikeS
Host Moderator
*****
Posts: 176



WWW
« Reply #2 on: May 23, 2007, 03:41:19 pm »

what behavior would you expect from the ECOM100 if it couldn't find it's DNS server? specifically, what impact should it have on the PLC system operation? none? some? user-defined?
Logged

Good design costs a lot. Bad design costs even more.
keith
Jr. Member
**
Posts: 18


« Reply #3 on: May 23, 2007, 08:26:57 pm »

My application does not require the ECOM to find the DNS server.  Only the
DS32 software has to find the DNS server.

I don't realy plan to use DHCP.  My control network is fixed and static.

The place I would like to use the dynamic IPs is with remote access to
the system.  Our Cisco firewall forwards a public IP to the local IP's using
NAT.

Our real issue is that the public IPs change from time to time.
(particularly when our customers switch internet service providers).

Another usefull application is with a simple LINKSYS DSL router.  The newer
routers have TZO support, so even with a dynamic IP from your ISP, you can
get a hostname such as myname.tzo.com mapped to it. Then, you set the linksys
router to use NAT to map UDP port 28784 to your PLC's local IP address.  As far as the
ECOM is concerned, the IP is 192.168.1.1.  But to access it remotely, you use
myname.tzo.com in the DS5 software.

All these applications require changes to the DS5 alone.  The
H2ECOM can be left alone, as is (with static IP allocation).
I would do this as a first step.

Later, you could extend it even further by addressing the dynamic
DHCP issues, and the what-if issues of the server being down.

Keith
« Last Edit: May 23, 2007, 08:45:41 pm by keith » Logged
BobO
Host Moderator
*****
Posts: 1149


Yes Pinky, we *are* going to control the world!


« Reply #4 on: May 23, 2007, 10:40:23 pm »

Ahh...my bad...

I looked right over the DS5 reference and got stuck on the ECOM part. It would be easy to add that to DS5...or DS6 perhaps.

Might still be cool to have the ECOM itself be able to resolve addresses, for many good reasons. But as Mike was alluding to, that also complicates error handling.

Again, thanks for the input.

Logged

BobO

The Constitution does not guarantee us freedom from being offended...but we can choose not to be, and life gets so much easier.
marksji
Hero Member
*****
Posts: 175


WWW
« Reply #5 on: June 07, 2007, 02:58:37 pm »

I'll second this motion.  DS5 should resolve host names.  It really isn't a big deal, but I can map IPs in the DNS server and get guys to remember host names a lot easier than I get them to remember IP addresses.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM