Documentation
FieldTalk Modbus Slave Library for .NET
MbusUdpSlaveProtocol Class |
This class realises a Modbus server using MODBUS over UDP protocol variant.
SystemObject
FieldTalk.Modbus.SlaveMbusSlaveServer
FieldTalk.Modbus.SlaveMbusIpServerBase
FieldTalk.Modbus.SlaveMbusUdpSlaveProtocol
FieldTalk.Modbus.SlaveMbusSlaveServer
FieldTalk.Modbus.SlaveMbusIpServerBase
FieldTalk.Modbus.SlaveMbusUdpSlaveProtocol
Namespace: FieldTalk.Modbus.Slave
Assembly: FieldTalk.Modbus.Slave (in FieldTalk.Modbus.Slave.dll) Version: 2.11.0-eval+eb1ecbe71c969eff5d7c05d58da16dade0474678
The MbusUdpSlaveProtocol type exposes the following members.
| Name | Description | |
|---|---|---|
| MbusUdpSlaveProtocol | Instantiates a MODBUS/UDP protocol 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.) | |
| 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.) | |
| 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 | |
|---|---|---|
| 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.