FieldTalk Modbus Master Library for .NET
FieldTalk Modbus Master Library for .NET
Namespaces
FieldTalk.Modbus.Master
MbusSerialClientBase Class
MbusSerialClientBase Properties
baudRate Property
dataBits Property
parity Property
stopBits Property

# MbusSerialClientBase dataBits Property

Data bits property

Namespace: FieldTalk.Modbus.Master
Assembly: FieldTalk.Modbus.Master (in FieldTalk.Modbus.Master.dll) Version: 2.15.2-eval+3d8362b4bb861c05760d48b11d303e954bb8597c
Syntax
C#
VB
C++
Copy

    public int dataBits { get; set; }

    Public Property dataBits As Integer
    	Get
    	Set

    public:
    property int dataBits {
    	int get ();
    	void set (int value);
    }

#### Property Value

Type: Int32
SER_DATABITS_7 as 7 data bits (ASCII protocol only), SER_DATABITS_8 as data bits
Remarks

Note
A protocol must be closed in order to configure it.

See Also

#### Reference

MbusSerialClientBase Class
FieldTalk.Modbus.Master Namespace
FieldTalk Modbus Master Library for .NET
Library version 2.15.2