C# (CSharp) ModbusLib Master - 4 exemples trouvés. Ce sont les exemples réels les mieux notés de ModbusLib.Master extraits de projets open source. Vous pouvez noter les exemples pour nous aider à en améliorer la qualité.
Associées
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.