瀏覽代碼

Add information about not compliant devices (closes #219)

Stéphane Raimbault 9 年之前
父節點
當前提交
1e62dd098d
共有 1 個文件被更改,包括 7 次插入4 次删除
  1. 7 4
      doc/modbus_set_slave.txt

+ 7 - 4
doc/modbus_set_slave.txt

@@ -22,12 +22,15 @@ The behavior depends of network and the role of the device:
 *RTU*::
 *RTU*::
 Define the slave ID of the remote device to talk in master mode or set the
 Define the slave ID of the remote device to talk in master mode or set the
 internal slave ID in slave mode. According to the protocol, a Modbus device must
 internal slave ID in slave mode. According to the protocol, a Modbus device must
-only accept message holing its slave number or the special broadcast number.
+only accept message holding its slave number or the special broadcast number.
 
 
 *TCP*::
 *TCP*::
-The slave number is only required in TCP if the message must reach a device
-on a serial network. The special value `MODBUS_TCP_SLAVE` (0xFF) can be used in TCP mode to restore
-the default value.
+The slave number is only required in TCP if the message must reach a device on a
+serial network. Some not compliant devices or software (such as modpoll) uses
+the slave ID as unit identifier, that's incorrect (cf page 23 of Modbus
+Messaging Implementation Guide v1.0b) but without the slave value, the faulty
+remote device or software drops the requests! The special value
+`MODBUS_TCP_SLAVE` (0xFF) can be used in TCP mode to restore the default value.
 
 
 The broadcast address is `MODBUS_BROADCAST_ADDRESS`. This special value must be
 The broadcast address is `MODBUS_BROADCAST_ADDRESS`. This special value must be
 use when you want all Modbus devices of the network receive the request.
 use when you want all Modbus devices of the network receive the request.