03-10-2022 06:40 AM
I have one free ethernet adapter available on a PC. I need an application to use both, DataSocket (read and write) and OPC UA (probably server). Is that possible over the one ethernet connection set to a static IP?
I am posting this because I need the answer before I get the oportunity to test it.
Thanks.
mirola
03-10-2022 07:12 AM
Yes, of course. You can run many applications using Ethernet as long as they don't use the same TCP/UDP ports. As any OS already does.
03-10-2022 07:31 AM
Thanks, Paolo.
Question:
The program/application already uses DataSocket. There, no port number is defined. I cannot see that you can do that.
With OPC UA I don't know (can't remember, nor check right now) whether you select the port number. I am referring to the NI OPC UA toolkit.
So, how can I take care about what you say?
The OPC UA (server) shall be added to the same application. The partners for the DataSocket comunication are several additional PCs. The OPC UA client will be aother unit. All just connected to a hub.
03-10-2022 07:45 AM
A port clash between widespread applications is very unlikely. Personally, I don't bother about this until I find troubles (never, so far). Usually there is a way to redefine ports, in any case.