st-one-io / node-red-contrib-s7

A Node-RED node to interact with Siemens S7 PLCs
GNU General Public License v3.0
111 stars 58 forks source link

Improvement: Ethernet devices #14

Closed icarogregorio closed 6 years ago

icarogregorio commented 7 years ago

Hi,

I have a suggestion to improve the node configuration. I need to include the select of ethernet device because there SBC with two or more interfaces!

Thanks a lot!

gfcittolin commented 7 years ago

Hi @icarogregorio,

The node plays the role of TCP/IP Client here, without opening server sockets. Therefore, it doesn't make much sense to specify the ethernet interface, as the choice of the interface will be done by the OS based on the IP to connect to and the OS's routing table.

AFAIK there isn't even a way to specify this for client sockets on Node.JS. Could you please explain better your issue with the interfaces? Maybe the solution for it is at OS level

gfcittolin commented 6 years ago

I'm closing this issue, as there's nothing much we can do here. Feel free to reopen it if needed.