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

UpdateCommunicationSettings

UDINT

Input

ipAddress

ARRAY [0..3] OF BYTE

uiPort

UINT