Configuring STB NIP 2212 Properties
(Original Document)
Overview
Use the pages of the Device Editor to view and edit settings for a remote device. To 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 NIP 2212 network interface module, select the node named NIP2212_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
Use the Properties page to:
The Properties page for an STB NIP 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...127.
For this example, accept the default of 004.
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_NIP2212_01_IN.
Variable Name
Accept the auto-generated variable name (based on the alias name): NIP2212_01_IN.
Output area:
Structure Name
(Read-only) Control Expert automatically assigns a structure name based on the variable name, in this case T_NIP2212_01_OUT.
Variable Name
Accept the auto-generated variable name (based on the alias name): NIP2212_01_OUT.
Default Name button
Restores the default variable and structure names. For this example, custom names are used.
3
In the Items Management section of the page, edit the following:
Import mode
  • Automatic: I/O items are taken from the device DTM and updated if the items list in the device DTM changes. Items cannot be edited in the Device Editor.
  • Manual: I/O items are manually added in the Device Editor. The I/O items list is not affected by changes to the device DTM.
In this example, select Manual.
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:
When the DHCP client software 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, 004.
In this example, the IP address is 192.169.1.7.
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.
Type in NIP2212_01.
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 Apply to save your edits, and leave the window open for further edits.
The next step is to configure the connection between the communication module and the remote device.
Configuring the Request Setting Page
Use the Request Setting page to add, configure, and remove Modbus requests for the remote device. Each request represents a separate link between the communication module and the remote device.
The Request Setting page for an STB NIP 2212 network interface module looks like this:
The Add Request function is enabled only when Import Mode is set to Manual.
The following settings are used in this sample configuration. Use settings that are appropriate for your actual application:
Step
Action
1
In the Request Settings page, edit the following:
Connection Bit
(Read-only) The offset for both the health bit and the control bit for this connection. Offset values are auto-generated by the Control Expert Ethernet Configuration Tool—starting at 0—based on the connection type, in the following order:
1. Modbus TCP connections
2. Local Slave connections
3. EtherNet/IP connections
NOTE: When this Modbus TCP connection is created, the offset values for the previously created local slave and EtherNet/IP connections are incremented by 1: the local slave connection bit is set to 1, and the EtherNet/IP connection bit value is set to 2.
Unit ID
The number of the device, or module, that is the target of the connection. A value of:
  • 255 (the default) used to access the Ethernet communication module itself
  • 254 causes no Modbus message to be sent; the module reports an event
  • 0...253 identifies the device number of the target device, behind a Modbus TCP to Modbus gateway
NOTE: When accessing data in the Ethernet communication module itself, use 255. When accessing data in the application running in the PLC, use a value from 0 to 254 (a value of 1 is recommended).
Because the remote device itself is the request target, accept the default value of 255.
Health Timeout
The maximum allowed period, in milliseconds, between device responses, from 0...120000 ms in increments of 5 ms. When this setting is exceeded, the health timeout bit is set to 1. The default = 1500 ms. Accept the default value of 1500.
Repetitive Rate
The data scan rate, from 0...60000 ms, in intervals of 5 ms. The default = 60 ms. Accept the default value of 60.
RD Address
Address in the remote device of the input data image. The input data image begins at word 45391. Because there is an offset of 40000 in the Premium platform, type in a value of 5391.
RD Length
The number of words in the remote device, from 0...125, that the communication module will read. Because the Modbus device will be configured for 18 words of input items, type in a value of 18.
Last Value
The behavior of inputs in the application in the event communication is lost:
  • Hold Value (the default)
  • Set To Zero
Accept the default.
WR Address
Address in the remote device of the output data image. The output data image begins at word 40000. Because there is an offset of 40000 in the Premium platform, type in a value of 0.
WR Length
The number of words in the remote device, from 0 to 120, to which the communication module will write. Because the Modbus device will be configured for 5 words of output items, type in a value of 5.
2
Click OK to save your edits, and close the window.
The next step is to connect the Control Expert project to the Advantys Island.