主要内容

Remote Server IP port number

IP port number of Modbus client device 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 Remote Server IP port number parameter specifies the IP port number of the Modbus® client device connected on the TCP/IP network to communicate between the client and server devices. For example, if the remote server device(s) are connected to port number 502, the client device must communicate only on this port with the server device(s) 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 Client.

Settings

502 (default) | positive integer

Enter the IP port number of the client device connected on the TCP/IP network to communicate between the client and server devices.

Programmatic Use

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

Version History

Introduced in R2022a