MbusSerialServerBase Class |
Namespace: FieldTalk.Modbus.Slave
The MbusSerialServerBase type exposes the following members.
| Name | Description | |
|---|---|---|
| MbusSerialServerBase | Creates new instance |
| Name | Description | |
|---|---|---|
| baudRate | Baud rate property in bps | |
| dataBits | Data bits property | |
| parity | Parity property | |
| portName | Serial port identifier property | |
| stopBits | Stop bits property | |
| 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. | |
| 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.) | |
| 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 | |
| startupServer(String, Int32, Int32, Int32, Int32) | Opens a serial Modbus protocol and the associated serial port
with the port parameters configured via properties |
| Name | Description | |
|---|---|---|
| SER_DATABITS_7 | 7 data bits | |
| SER_DATABITS_8 | 8 data bits | |
| SER_PARITY_EVEN | Even parity | |
| SER_PARITY_NONE | No parity | |
| SER_PARITY_ODD | Odd parity | |
| SER_STOPBITS_1 | 1 stop bit | |
| SER_STOPBITS_2 | 2 stop bits |