Socket Ports

Socket Ports

Users can now configure the Modbus TCP/IP protocol to use a configurable socket port instead of the default port 502. Note that all devices using the CIMPLICITY port will use the same socket port.

There are now two global parameters available that enable a system manager to specify the Modbus TCP/IP port number.

MBETH_SOCKET_PORT

For Project
Purpose To reset the default socket port for Modbus TCP/IP from 502 to the designated value.
Comment PORT_SOCKET_PORT takes precedence over MBETH_SOCKET_PORT.
Value Port number that should be the new default
Default Value 502

<PORT>_SOCKET_PORT

For Project
Purpose To reset the default socket port for Modbus TCP/IP from 502 to the designated value.
Comment PORT_SOCKET_PORT takes precedence over MBETH_SOCKET_PORT.
Value Port number that should be the new default
Default Value 502