kanber Posted May 24, 2019 Share Posted May 24, 2019 Hi On same project; Can I use daqfactory modbus tcp server on port 502 and for example on port 503 with configuration two different protocol? Same thing for rtu also; com1 modbus rtu master com2 modbus rtu slave Quote Link to comment Share on other sites More sharing options...
AzeoTech Posted May 24, 2019 Share Posted May 24, 2019 You are talking about Modbus Master? Then yes, it doesn't matter. The ports are handled by the remote device. 192.168.0.1 port 502 and 192.168.0.1 port 503 are two completely different connection points so are no different than 192.168.0.1 port 502 and 192.168.0.56 port 502. To connect to a device you need the IP and the port. Any changes in either of these are a different connection, even though a change of port is still the same device. I like to think of it like a telephone to an office building. The IP address gets you to the main office line, and the port # is the extension. So calling the telephone number (IP address) gets you to the right building (device), but you also need to know the extension (port) of the person (protocol) you want to talk to. If your device has both 502 and 503 open and available to receive calls (sockets), then DAQFactory can certainly connect to both simultaneously using two different DAQFactory "ports" and "devices". Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.