ModbusTCPRequestServer.UpdateMaxClientConnections (METH)ΒΆ

METHOD UpdateMaxClientConnections : BOOL

The maximum number of client connections can only be updated if the server is not enabled. The xEnable input is used to stop and start the server. Returns FALSE if the provided value is not in valid range(1 to 63)

InOut:

Scope

Name

Type

Initial

Comment

Return

UpdateMaxClientConnections

BOOL

Input

MaxClientConnections

DINT

GVL.MODBUS_TCP_MAXCLIENTS

Maximum number of client connections. Can take values from 1 to 63. Defaults to 63 if an invalid value or no value is provided.