cmseaton42 / node-ethernet-ip

A Lightweight Ethernet/IP API written to interface with Rockwell ControlLogix/CompactLogix Controllers.
MIT License
265 stars 106 forks source link

Allow use of Fully-Qualified Domain Name instead of IP Address #11

Closed patrickjmcd closed 6 years ago

patrickjmcd commented 6 years ago

Instead of only allowing an IP address, allow the use of a FQDN for retrieving data.

Current Behavior

Allows more options for PLC addresses.

Expected Behavior

use PLC.connect("1.location.address.plc.com", 0)... as well as PLC.connect("192.168.1.10", 0)