FieldTalk Modbus Master Library for .NET
FieldTalk Modbus Master Library for .NET
Namespaces
FieldTalk.Modbus.Master
MbusRtuOverTcpMasterProtocol Class
MbusRtuOverTcpMasterProtocol Properties
port Property

# MbusRtuOverTcpMasterProtocol port Property

TCP port 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 override short port { get; set; }

    Public Overrides Property port As Short
    	Get
    	Set

    public:
    virtual property short port {
    	short get () override;
    	void set (short value) override;
    }

#### Property Value

Type: Int16
TCP Port number of slave device. Default value is 1100.
Remarks
Defaults to 1100. Must be set before opening the connection with openProtocol().

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

See Also

#### Reference

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