MbusRtuSlaveProtocol Class |
Namespace: FieldTalk.Modbus.Slave
The MbusRtuSlaveProtocol type exposes the following members.
Name | Description | |
---|---|---|
MbusRtuSlaveProtocol | Instantiates a Modbus RTU protocol server object. |
Name | Description | |
---|---|---|
baudRate | Baud rate property in bps (Inherited from MbusSerialServerBase.) | |
dataBits | Data bits property (Inherited from MbusSerialServerBase.) | |
parity | Parity property (Inherited from MbusSerialServerBase.) | |
portName | Serial port identifier property (Inherited from MbusSerialServerBase.) | |
stopBits | Stop bits property (Inherited from MbusSerialServerBase.) | |
timeout | Time-out port property (Inherited from MbusSlaveServer.) |
Name | Description | |
---|---|---|
addDataTable | Associates a protocol object with a Data Provider and a
Modbus slave ID. (Inherited from MbusSlaveServer.) | |
Dispose | Implement IDisposable. (Inherited from MbusSlaveServer.) | |
enableRs485Mode | Enables RS485 mode. (Inherited from MbusSerialServerBase.) | |
Finalize | Destructor. (Inherited from MbusSlaveServer.) | |
getConnectionStatus | Checks if a Modbus master is polling periodically. (Inherited from MbusSlaveServer.) | |
getSuccessCounter | Returns how often a message transfer was successful. (Inherited from MbusSlaveServer.) | |
getTimeout | Returns the currently set master time-out supervision value. (Inherited from MbusSlaveServer.) | |
getTotalCounter | Returns how often a message transfer has been executed. (Inherited from MbusSlaveServer.) | |
isStarted | Returns whether server has been started up. (Inherited from MbusSlaveServer.) | |
resetSuccessCounter | Resets successful message transfer counter. (Inherited from MbusSlaveServer.) | |
resetTotalCounter | Resets total message transfer counter. (Inherited from MbusSlaveServer.) | |
serverLoop | Modbus slave server loop (Inherited from MbusSlaveServer.) | |
setFrameTolerance | Configures the tolerance the RTU protocol engine
* should apply for the detection of inter-frame gaps.
* | |
setTimeout | Configures master transmit time-out supervision. (Inherited from MbusSlaveServer.) | |
shutdownServer | Shuts down the Modbus Server. (Inherited from MbusSlaveServer.) | |
startupServer | Opens a serial Modbus protocol and the associated serial
port with the port parameters configured via properties (Inherited from MbusSerialServerBase.) | |
startupServer(String, Int32, Int32, Int32, Int32) | Opens a serial Modbus protocol and the associated serial port
with the port parameters configured via properties (Inherited from MbusSerialServerBase.) |
For a more detailed description which Modbus data and control functions have been implemented in the server engine see section Server Functions common to all Protocol Flavours.
It is possible to instantiate multiple instances for establishing multiple connections on different serial ports, however they must be executed in separate threads.