ModbusTCPSlave.UpdateCommunicationSettings (METH)¶
METHOD UpdateCommunicationSettings : UDINT
Change IP Address and Port. Fails (return value != 0) if a TCP Connection is currently established (–> use Enable Property to connect/abort). Will also fail if the Fallback IP setting (= redundant connection) is enabled.
- InOut:
Scope
Name
Type
Return
UpdateCommunicationSettingsUDINTInput
ipAddressARRAY [0..3] OF BYTE
uiPortUINT