Show / Hide Table of Contents

Interface IModbusSerialMaster

Modbus Serial Master device.

Inherited Members
IModbusMaster.ReadCoils(Byte, UInt16, UInt16)
IModbusMaster.ReadCoilsAsync(Byte, UInt16, UInt16)
IModbusMaster.ReadInputs(Byte, UInt16, UInt16)
IModbusMaster.ReadInputsAsync(Byte, UInt16, UInt16)
IModbusMaster.ReadHoldingRegisters(Byte, UInt16, UInt16)
IModbusMaster.ReadHoldingRegistersAsync(Byte, UInt16, UInt16)
IModbusMaster.ReadInputRegisters(Byte, UInt16, UInt16)
IModbusMaster.ReadInputRegistersAsync(Byte, UInt16, UInt16)
IModbusMaster.WriteSingleCoil(Byte, UInt16, Boolean)
IModbusMaster.WriteSingleCoilAsync(Byte, UInt16, Boolean)
IModbusMaster.WriteSingleRegister(Byte, UInt16, UInt16)
IModbusMaster.WriteSingleRegisterAsync(Byte, UInt16, UInt16)
IModbusMaster.WriteMultipleRegisters(Byte, UInt16, UInt16[])
IModbusMaster.WriteMultipleRegistersAsync(Byte, UInt16, UInt16[])
IModbusMaster.WriteMultipleCoils(Byte, UInt16, Boolean[])
IModbusMaster.WriteMultipleCoilsAsync(Byte, UInt16, Boolean[])
IModbusMaster.ReadWriteMultipleRegisters(Byte, UInt16, UInt16, UInt16, UInt16[])
IModbusMaster.ReadWriteMultipleRegistersAsync(Byte, UInt16, UInt16, UInt16, UInt16[])
IModbusMaster.ExecuteCustomMessage<TResponse>(IModbusMessage)
System.IDisposable.Dispose()
Namespace: NModbus
Assembly: NModbus.dll
Syntax
public interface IModbusSerialMaster : IModbusMaster, IDisposable

Properties

| Improve this Doc View Source

Transport

Transport for used by this master.

Declaration
IModbusSerialTransport Transport { get; }
Property Value
Type Description
IModbusSerialTransport

Methods

| Improve this Doc View Source

ReturnQueryData(Byte, UInt16)

Serial Line only. Diagnostic function which loops back the original data. NModbus only supports looping back one ushort value, this is a limitation of the "Best Effort" implementation of the RTU protocol.

Declaration
bool ReturnQueryData(byte slaveAddress, ushort data)
Parameters
Type Name Description
System.Byte slaveAddress

Address of device to test.

System.UInt16 data

Data to return.

Returns
Type Description
System.Boolean

Return true if slave device echoed data.

Extension Methods

EnronModbus.ReadHoldingRegisters32(IModbusMaster, Byte, UInt16, UInt16)
EnronModbus.ReadInputRegisters32(IModbusMaster, Byte, UInt16, UInt16)
EnronModbus.WriteSingleRegister32(IModbusMaster, Byte, UInt16, UInt32)
EnronModbus.WriteMultipleRegisters32(IModbusMaster, Byte, UInt16, UInt32[])
  • Improve this Doc
  • View Source
Back to top Copyright © 2015-2017 Microsoft
Generated by DocFX