C# (CSharp) ModbusLib Master - 4 examples found. These are the top rated real world C# (CSharp) examples of ModbusLib.Master extracted from open source projects. You can rate examples to help us improve the quality of examples.
Related
Related in langs
Modbus TCP common driver class. This class implements a modbus TCP master driver. It supports the following commands: Read coils Read discrete inputs Write single coil Write multiple cooils Read holding register Read input register Write single register Write multiple register All commands can be sent in synchronous or asynchronous mode. If a value is accessed in synchronous mode the program will stop and wait for slave to response. If the slave didn't answer within a specified time a timeout exception is called. The class uses multi threading for both synchronous and asynchronous access. For the communication two lines are created. This is necessary because the synchronous thread has to wait for a previous command to finish.