문제

I have two questions:

  1. Why does Modbus allow only 247 slaves to be connected to the same network?

  2. How it this limitation overcome by Modbus TCP/IP?

도움이 되었습니까?

해결책

1) The address field in the Modbus-defined frame is only 8 bits wide. This would provide for 256 possible slave addresses. Address 0 is reserved as a "broadcast" address.

I can't find a specific reason, but there are presumably eight other "reserved" addresses that are not valid for a slave. 256 - 9 = 247.

2) Modbus TCP/IP is implemented atop standard IPv4 addressing, which is limited only to the size of the local subnet (e.g. 10.10.0.0). Each "gateway" on the network will have its own IP address, so there can be many more than 247 gateways.

In addition, each gateway can have multiple Modbus devices behind it. The number of devices behind such a gateway is limited by the same 8-bit address field, here called the "Unit Identifier".

Reference:

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top