Documentation

MbusTcpMasterProtocolport Property

TCP port property

Namespace:  FieldTalk.Modbus.Master
Assembly:  FieldTalk.Modbus.Master (in FieldTalk.Modbus.Master.dll) Version: 2.15.2-eval+3d8362b4bb861c05760d48b11d303e954bb8597c
Syntax
public override short port { get; set; }

Property Value

Type: Int16
TCP Port number of slave device. Default value is 502.
Remarks
Usually the port number remains unchanged and defaults to 502. However if the port number has to be different from 502 this property must be set before opening the connection with openProtocol().
Note Note
A protocol must be closed in order to configure it.
See Also