Documentation
FieldTalk Modbus Slave Library for .NET
MbusSlaveServerserverLoop Method |
Modbus slave server loop
Namespace: FieldTalk.Modbus.Slave
Assembly: FieldTalk.Modbus.Slave (in FieldTalk.Modbus.Slave.dll) Version: 2.11.0-eval+eb1ecbe71c969eff5d7c05d58da16dade0474678
Return Value
Type: Int32BusProtocolErrors.FTALK_SUCCESS on success or error code. See BusProtocolErrors for possible error codes.
This server loop must be called continuously. It must not be
blocked. The server has to be started before calling the serverLoop()
method.
In most cases the server loop is executed in an infinite loop in
its own thread: