主要内容

Local IP port number

IP port number of server device(s) connected on TCP/IP network

Model Configuration Pane: Hardware Implementation / Hardware board settings / Target hardware resources / Groups / Modbus properties

Description

Use the Local IP port number parameter to enter the IP port number of the server device(s) connected on the TCP/IP network to successfully communicate between the client and server device(s). For example, if the client is connected to port number 502, the server device(s) must communicate only on this port with the client device for establishing a successful communication.

Note

Specify the same port number for the Remote Server IP port number and Local IP port number parameters for the client and server device(s) to communicate successfully.

Dependencies

To enable this parameter, set Mode to Server.

Settings

502 (default) | positive integer

For example, if the client is connected to port number 502, the server device(s) must communicate only on this port with the client device for establishing a successful communication.

Note

Specify the same port number for the Remote Server IP port number and Local IP port number parameters for the client and server device(s) to communicate successfully.

Recommended Settings

No recommendation.

Programmatic Use

No programmatic use is available.

Version History

Introduced in R2021a