主要内容

Local IP port number

IP port number of Modbus server devices on TCP/IP network

Since R2022a

Model Configuration Pane: Hardware Implementation

Description

Add-On Required: This feature requires the MATLAB Coder Support Package for NVIDIA Jetson and NVIDIA DRIVE Platforms add-on.

The Local IP port number parameter specifies the IP port number of the Modbus® server devices connected on the TCP/IP network to communicate between the client and server devices. For example, if the client is connected to port number 502, the server devices must communicate only on this port with the client device for establishing a successful communication.

Note

Specify the same port number for the Local IP port number and Remote Server IP port number parameters for the client and server devices to communicate successfully.

Dependencies

To enable this parameter, set Mode to Server.

Settings

502 (default) | positive integer

The server devices use the specified port number.

Programmatic Use

You cannot set this parameter from the MATLAB® command line.

Version History

Introduced in R2022a