New Communication Device

NI Vision Builder

New Communication Device

Use this dialog box to configure a new communication device.

How to Use

  1. Enter a name for the new device.
  2. Select the communication Protocol. Vision Builder AI currently supports the Modbus Serial, Modbus TCP, and Ethernet protocols.
  3. Select whether the new device is the master or slave device. Currently, Vision Builder AI supports Modbus master devices only and both master and slave Ethernet devices.

Control Descriptions

The following controls are available on the New Communication Device dialog box.

Control Name Description
Device Name Name that identifies the communication device.
Device Type Whether the device you are adding is a master or slave device. Currently, Vision Builder AI supports only Modbus master devices and both master and slave Ethernet devices.
Protocol Type of communication protocol to use. The following options are available:
  • Modbus Serial
  • Modbus TCP
  • TCP/IP
Note  When you specify Modbus TCP as the physical layer for communication, Vision Builder AI listens to Modbus TCP commands on port 502.

Parameters

Note Note  The available parameters vary according to the selected Device Type and Protocol.

Modbus Serial

Control Name Description
COM Port Serial communication port used for communication with the Modbus device.
Mode Specifies the mode used to transmit Modbus serial commands. The following options are available:
  • RTU—Transmits data using the Modbus RTU compact binary format.
  • ASCII—Transmits data using a human-readable ASCII format
Timeout (ms) Specifies the period of time Vision Builder AI waits to receive a Modbus command before timing out.

Modbus TCP

Control Name Description
Timeout (ms) Specifies the period of time Vision Builder AI waits to receive a Modbus command before timing out.

TCP/IP Master

Control Name Description
Port Specifies the port number to listen for a connection.

TCP/IP Slave

Control Name Description
IP Address Specifies the IP address of the device with which you want to establish a connection.
Timeout (ms) Specifies the period of time Vision Builder AI waits to receive an Ethernet command before timing out.
Port Specifies the port number to listen for a connection.