ModbusTCPSlave.UpdateCommunicationSettings (METH)

METHOD UpdateCommunicationSettings : UDINT

Change IP Adress and Port. Fails (return value != 0) if a TCP Connection is currently established. (–> use Enable Property top connect/abort)

InOut:

Scope

Name

Type

Return

UpdateCommunicationSettings

UDINT

Input

ipAddress

ARRAY [0..3] OF BYTE

uiPort

UINT