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). Can NOT be used when the slave is configured to use redundancy!
- InOut:
Scope
Name
Type
Return
UpdateCommunicationSettingsUDINTInput
ipAddressARRAY [0..3] OF BYTE
uiPortUINT