MbusUdpMasterProtocolport Property |
TCP port property
Namespace:
FieldTalk.Modbus.Master
Assembly:
FieldTalk.Modbus.Master (in FieldTalk.Modbus.Master.dll) Version: 2.15.2-eval+3d8362b4bb861c05760d48b11d303e954bb8597c
Syntaxpublic 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 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 |
|---|
| A protocol must be closed in order to configure it. |
See Also