Configuring STB NIC 2212 Properties
(Original Document)
Overview
Use the pages of the Device Editor to view and edit settings for a remote device. Before you can edit the device settings, disconnect the DTM from the remote device.
To display the DTM settings for a remote device, select the device name, which is found under the Device List node in the left pane of the Device Editor.
For the purposes of this example, which configures an STB NIC 2212 network interface module, select the node named NIC2212 01. The Device Editor displays the following pages:
NOTE: Refer to the topic Configuring Properties in the Device Editor for instructions on how to edit properties.
Configuring the Properties Page
The Properties page for an STB NIC 2212 network interface module looks like this:
The following settings are used in this sample configuration. Use settings that are appropriate for your actual application:
Step
Action
1
In the Properties section of the page, edit the following:
Number
The relative position of the device in the list, from 0 to 127.
For this example, accept the default of 003.
Active Configuration
  • Enabled: adds this device to the Control Expert project configuration
  • Disabled: removes this device from the Control Expert project configuration
Accept the default setting of Enabled.
2
In the IO Structure Name section of the page, edit the following:
Input area:
Structure Name
(Read-only) Control Expert automatically assigns a structure name based on the variable name, in this case T_NIC2212_01_IN.
Variable Name
Accept the auto-generated input variable name (based on the alias name): NIC2212_01_IN.
Output area:
Structure Name
(Read-only) Control Expert automatically assigns a structure name based on the variable name, in this case T_NIC2212_01_OUT.
Variable Name
Accept the auto-generated output variable name (based on the alias name): NIC2212_01_OUT.
Default Name button
Restores the default variable and structure names. For this example, custom names are used instead of the default names.
3
In the Items Management section of the page, edit the following:
Import mode
  • Automatic: Select this if I/O items are pre-defined for the device in its DTM, and will not subsequently be edited. These items are automatically created and added to the configuration, and later updated if the items list if the device DTM changes. These auto-created items cannot be edited in the Device Editor.
  • Manual: Select this if I/O items will be manually created or edited. If the device DTM pre-defines I/O items, those pre-defined I/O items are automatically created and added to the configuration, and can later be manually edited in the Device Editor. The I/O items list is not affected by changes to the device DTM.
NOTE:
  • Because the STB NIC 2212 DTM does not contain pre-configured input and output items, select Manual.
  • To view I/O items, navigate to and select the Items node in the left pane of the Device Editor, as follows:
Reimport Items
Imports the I/O items list from the device DTM, overwriting any manual I/O item edits. Enabled only when Import mode is set to Manual.
4
Click Apply to save your edits, and leave the window open for further edits.
Configuring the Address Setting Page
Use the Address Setting page to enable the DHCP client in the STB NIC 2212 network interface module. When the DHCP client is enabled in the remote device, it will obtain its IP address from the DHCP server in the Ethernet communication module. The Address Setting page looks like this:
The following settings are used in this sample configuration. Use settings that are appropriate for your actual application:
Step
Action
1
In the Address Settings page, edit the following:
IP Address
By default:
  • the first three octet values equal the first three octet values of the Ethernet communication module, and
  • the fourth octet value equals this device Number setting—in this case, the default value would be 004.
In our continuing example, type in the address 192.168.1.6.
DHCP for this Device
  • Enabled activates the DHCP client in this device. The device obtains its IP address from the DHCP service provided by the Ethernet communication module and appears on the auto-generated DHCP client list.
  • Disabled (the default) de-activates the DHCP client in this device.
Select Enabled.
Identified by
If DHCP for this Device is Enabled, this indicates the device identifier type:
  • MAC Address, or
  • Device Name
Select Device Name.
Identifier
If DHCP for this Device is Enabled, the specific device MAC Address or Name value.
Accept the default setting of NIC2212_01 (based on the Alias name).
Mask
The device subnet mask. The default = 255.255.255.0.
Accept the default value.
Gateway
The gateway address used to reach this device. The default of 0.0.0.0 indicates this device is located on the same subnet as the Ethernet communication module.
Accept the default value.
2
Click OK to save your edits.
The next step is to configure the connection between the communication module and the remote device.