Documentation
FieldTalk Modbus Slave Library for .NET
MbusDataTableInterfacereportSlaveId Method |
Override this method to implement a function which
reports the Slave ID.
Namespace: FieldTalk.Modbus.Slave
Assembly: FieldTalk.Modbus.Slave (in FieldTalk.Modbus.Slave.dll) Version: 2.11.0-eval+eb1ecbe71c969eff5d7c05d58da16dade0474678
Return Value
Type: StringA string with the slave ID
This is called when function code 17 (11 hex) Report Slave ID
is sent by a master.
The Slave ID is a device-specific ASCII string.
Required: No
Default Implementation: Returns null which sends a slave failure exception reply
Note: The Slave ID is not to be mistaken for the Modbus Slave Address. The Slave ID is a string vs the Slave Address is a numeric value and the latter is used by a master device to address a specific device.