Documentation
FieldTalk Modbus Slave Library for .NET
MbusRtuOverTcpSlaveProtocol Class |
This class realises the Encapsulated Modbus RTU slave protocol.
SystemObject
FieldTalk.Modbus.SlaveMbusSlaveServer
FieldTalk.Modbus.SlaveMbusIpServerBase
FieldTalk.Modbus.SlaveMbusTcpSlaveProtocol
FieldTalk.Modbus.SlaveMbusRtuOverTcpSlaveProtocol
FieldTalk.Modbus.SlaveMbusSlaveServer
FieldTalk.Modbus.SlaveMbusIpServerBase
FieldTalk.Modbus.SlaveMbusTcpSlaveProtocol
FieldTalk.Modbus.SlaveMbusRtuOverTcpSlaveProtocol
Namespace: FieldTalk.Modbus.Slave
Assembly: FieldTalk.Modbus.Slave (in FieldTalk.Modbus.Slave.dll) Version: 2.11.0-eval+eb1ecbe71c969eff5d7c05d58da16dade0474678
The MbusRtuOverTcpSlaveProtocol type exposes the following members.
| Name | Description | |
|---|---|---|
| MbusRtuOverTcpSlaveProtocol | Instantiates an Encapsulated Modbus RTU server object. |
| Name | Description | |
|---|---|---|
| hostName | Host name of server interface (Inherited from MbusIpServerBase.) | |
| port | Port number to be used by the protocol (Inherited from MbusIpServerBase.) | |
| 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.) | |
| Finalize | Destructor. (Inherited from MbusSlaveServer.) | |
| getConnectionStatus | Checks if a Modbus master is polling periodically. (Inherited from MbusSlaveServer.) | |
| getConnectionTimeOut | Returns the connection time-out setting. (Inherited from MbusTcpSlaveProtocol.) | |
| getPort | Returns the TCP port number used by the protocol. (Inherited from MbusIpServerBase.) | |
| 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.) | |
| setConnectionTimeOut | Configures connection time-out. (Inherited from MbusTcpSlaveProtocol.) | |
| setPort | Sets the TCP port number to be used by the protocol. (Inherited from MbusIpServerBase.) | |
| setTimeout | Configures master transmit time-out supervision. (Inherited from MbusSlaveServer.) | |
| shutdownServer | Shuts down the Modbus Server. (Inherited from MbusSlaveServer.) | |
| startupServer | Puts the Modbus server into operation. (Inherited from MbusIpServerBase.) | |
| startupServer(String) | Puts the Modbus server into operation. (Inherited from MbusIpServerBase.) |
| Name | Description | |
|---|---|---|
| connectEvent | Connection event (Inherited from MbusTcpSlaveProtocol.) | |
| disconnectEvent | Disconnection event (Inherited from MbusTcpSlaveProtocol.) | |
| pollEvent | Poll event (Inherited from MbusIpServerBase.) |
It provides functions to start-up and to execute the server engine.
This server engine can handle multiple master connections and is
implemented as a single threaded TCP server.
Upon receipt of a valid master query the server engine calls
Data Provider methods to exchange data with the user application.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.