Creates a new Modbus, ModbusSlave, or OPC I/O server and adds the I/O server to the Shared Variable Engine.
You also can use this Express VI to configure or replace an existing I/O server.
| Dialog Box Options |
| Block Diagram Inputs |
| Block Diagram Outputs |
| Parameter | Description |
|---|---|
| I/O Server Type | Specifies the type of I/O server you want to configure or create. |
| Set Attributes | Displays the Configure Modbus Instance, Configure Modbus Slave Instance, or Configure OPC Client Instance dialog box, depending on the I/O Server Type that you specify. |
| Common Parameters | Specifies general information about the process and the I/O server you want to configure or create.
|
| Tips | Specifies tips for configuring or creating the I/O server. |
| Parameter | Description |
|---|---|
| Process name | Specifies the name of the process to which this VI belongs. |
| I/O server name | Specifies the name of the I/O server you want to configure or create. |
| Overwrite | Specifies whether to replace an existing I/O server with the I/O server you want to create if the two I/O servers have the same name. |
| Address | Specifies the address of this instance of the I/O server. This option appears if you select Modbus or ModbusSlave from the I/O Server Type pull-down menu on the configuration dialog box of this Express VI. |
| Baud Rate | Specifies the baud rate of this instance of the I/O server. You can select a value from 2400 to 115200. This option appears if you select Modbus Serial from the Model pull-down menu of the Configure Modbus Instance or Configure Modbus Slave Instance dialog box. |
| error in (no error) | Describes error conditions that occur before this VI or function runs. |
| Refresh Rate | Specifies how often this instance of the I/O server refreshes the device, in seconds. This option appears if you select Modbus from the I/O Server Type pull-down menu on the configuration dialog box of this Express VI. |
| Serial Port | Specifies the serial port this instance of the I/O server uses to communicate with the device. You can select a serial port in the range from COM1 to COM32. This option appears if you select Modbus Serial from the Model pull-down menu of the Configure Modbus Instance or Configure Modbus Slave Instance dialog box. |
| IP Address | Specifies the IP address of the device with which the Modbus I/O server communicates. This option appears if you select Modbus Ethernet from the Model pull-down menu of the Configure Modbus Instance dialog box. |
| DeadBand | Sets the percent change within a range that a value from the OPC server must change before the OPC server communicates the value to the Shared Variable Engine. This option appears if you select OPC from the I/O Server Type pull-down menu on the configuration dialog box of this Express VI. |
| Machine | Specifies the name of the computer from which you can select an OPC server. This option appears if you select OPC from the I/O Server Type pull-down menu on the configuration dialog box of this Express VI. |
| Prog ID | Specifies the ID of the OPC server. This option appears if you select OPC from the I/O Server Type pull-down menu on the configuration dialog box of this Express VI. |
| Reconnect Poll Rate | Specifies how often, in seconds, the Shared Variable Engine attempts to connect to an OPC server after losing the connection to the server. Enter a value of 0 if you do not want the Shared Variable Engine to retry the connection.
This option appears if you select OPC from the I/O Server Type pull-down menu on the configuration dialog box of this Express VI. |
| Update Rate | Determines the amount of time that passes before the OPC server communicates updated values to the Shared Variable Engine. This value is a requested update rate for the OPC server. The actual update rate returned by the OPC server is greater than or equal to this value. Entering a value of 0 returns the fastest update rate possible from the OPC server.
This option appears if you select OPC from the I/O Server Type pull-down menu on the configuration dialog box of this Express VI. |
| Parameter | Description |
|---|---|
| I/O server url out | Returns the relative URL to the computer if the I/O server configuration is successful. Otherwise, I/O server url out returns an empty string. Wire I/O server url out to the I/O server url input of the Delete IO Server VI to remove the I/O server programmatically. |
| error out | Describes the error status that this VI or function produces. |