C
Hello all,
I am curious what the ModbusTCP standard is when dealing with multiple masters polling one device.
What I have is a device that allows me to create multiple ModbusTCP servers (slaves), for each server (slave) I configure I have to also configure the IP address of the client (master) that will be polling the server (slave). This way each client (master) sees a slightly different ModbusTCP server (slave).
For example, for each ModbusTCP server I create a map of points and configure the IP address of its client. I can do this for as many servers as I want to create and all of this is supposed to happen through port 502.
I am running into some issues where the data destined for one server end up getting passed to the wrong server. I can remedy this by configuring the first server for port 502 and then the rest of the subsequent servers for port 1024, 1025, etc.
Is the ModbusTCP standard designed such that I should be able to have all of the data filtered by IP address through port 502 or is it common practice to use a different port for each ModbusTCP server?
Thank you for the help.
I am curious what the ModbusTCP standard is when dealing with multiple masters polling one device.
What I have is a device that allows me to create multiple ModbusTCP servers (slaves), for each server (slave) I configure I have to also configure the IP address of the client (master) that will be polling the server (slave). This way each client (master) sees a slightly different ModbusTCP server (slave).
For example, for each ModbusTCP server I create a map of points and configure the IP address of its client. I can do this for as many servers as I want to create and all of this is supposed to happen through port 502.
I am running into some issues where the data destined for one server end up getting passed to the wrong server. I can remedy this by configuring the first server for port 502 and then the rest of the subsequent servers for port 1024, 1025, etc.
Is the ModbusTCP standard designed such that I should be able to have all of the data filtered by IP address through port 502 or is it common practice to use a different port for each ModbusTCP server?
Thank you for the help.
