R
I am working on modbus TCP to RTU gateway project. I have four RTU network on the single machine and on other side, I have TCP connection listening on port 502.
The problem is, many TCP clients doesn't have flexibility to change there TCP port number and I want single TCP client can connect to all my four modbus RTU networks.
I am planning to use 16-bit address where upper byte is for identifying channel Number (or RTU network number) and lower byte for identify slave within RTU network.
Does anybody have better idea/ solution?
The problem is, many TCP clients doesn't have flexibility to change there TCP port number and I want single TCP client can connect to all my four modbus RTU networks.
I am planning to use 16-bit address where upper byte is for identifying channel Number (or RTU network number) and lower byte for identify slave within RTU network.
Does anybody have better idea/ solution?