question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add support for specifying non standard EtherNet/IP port number

See original GitHub issue

Add support for being able to add port number to IP address in Controller connect method.

Current Behavior

Port number is set to 44818 and cannot be changed.

Expected Behavior

Optionally specify port after IP address in connect method. e.g. plc.connect('192.168.1.100:5000');

Possible Solution (Optional)

Parse connect IP address string and check for port number. Use port number passed for eip connect. Default to 44818 if no port provided (no change to current operation).

Context

Mapping different ports on a WAN to different PLCs on a LAN.

Steps to Reproduce (for bugs only)

Your Environment

  • Package version (Use npm list - e.g. 1.0.6):
  • Node Version (Use node --version - e.g. 9.8.0):
  • Operating System and version:
  • Controller Type (eg 1756-L83E/B):
  • Controller Firmware (eg 30.11):

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
jhenson29commented, Oct 2, 2018

They believe correctly.

0reactions
nikmartincommented, May 7, 2019

just FYI there’s many other PLCs with Ethernet/IP support that allow changing the port. Version 2.4 (April 2019) of Koyo Click PLCs now support Ethernet/IP and support changing the port.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What are port numbers and how do they work?
A port number is a way to identify a specific process to which an internet or other network message is to be forwarded...
Read more >
Configure IP Address and Network Settings
Add or edit IP addresses for your B Series Appliance. ... Using multiple ports can enhance security or enable connections over non-standard networks....
Read more >
EtherNet/IP Quick Start for Vendors Handbook
IEC 61800-7: Specifies profiles for power drive systems and their mapping to existing communication systems by use of a generic interface.
Read more >
What is an EtherNet/IP Port Number?
What's an EtherNet/IP Port Number? It's a 16-bit number that identifies a specific application in the receiving device. RTA's Blog Real Time ...
Read more >
EtherNet/IP Scanner Configuration
To add new EDS files, see the EtherNet/IP EDS file import help topic. ... Targeted device is not listening on the specified TCP...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found