Introduction
Configure parameters for devices in the
on these tabs:Modbus devices only)
(
View the Configuration Tabs
Navigate to the
configuration tabsStep |
Action |
---|---|
1 |
In the DTM that corresponds to the CPU. ( ), double-click the |
2 |
In the navigation pane, expand (+) the Device List to see the associated Modbus TCP and EtherNet/IP devices. |
3 |
Select a device from the to view the , , and tabs tabs.NOTE: These tabs are described in detail below.
|
Properties Tab
Configure the
tab to perform these tasks:Add the device to the configuration.
Remove the device from the configuration.
Edit the base name for variables and data structures used by the device.
Indicate how input and output items are created and edited.
Configure the
tab:Field |
Parameter |
Description |
---|---|---|
|
|
The relative position of the device in the list. |
|
Control Expert project configuration. Add this device to the |
|
Control Expert project configuration. Remove this device from the |
||
|
|
Control Expert automatically assigns a structure name based on the variable name. |
|
: An auto-generated variable name is based on the alias name. |
|
|
Press this button to restore the default variable and structure names. |
|
|
|
: I/O items are manually added in the . The I/O items list is not affected by changes to the device DTM. |
: 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 . |
||
|
Press this buttom to import the I/O items list from the device DTM, overwriting any manual I/O item edits. Enabled only when is set to . |
Click
to save your edits and leave the window open for further edits.Address Setting Tab
Configure the
page to perform these tasks:Configure the IP address for a device.
Enable or disable DHCP client software for a device.
In the
page, edit these parameters to conform to your application’s design and functionality:Field |
Parameter |
Description |
---|---|---|
|
|
By default:
In our continuing example, type in the address 192.168.1.17. |
|
The device subnet mask. NOTE: For this example, accept the default value (255.255.255.0).
|
|
|
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 CPU. NOTE: For this example, accept the default value.
|
|
|
|
: Activate the DHCP client in this device. The device obtains its IP address from the DHCP service provided by the CPU appears on the auto-generated DHCP client list. |
: Deactivates the DHCP client in this device. (default) |
||
NOTE: For this example,
select .
|
||
|
If is , it indicates the device identifier type:NOTE: For this example, select .
|
|
|
If DHCP for this Device is Enabled, the specific device MAC Address or Name value. NOTE: For this example, accept the default setting of (based on the ).
|
Click
to save your edits, and leave the window open for further edits.Request Setting Tab
Configure the Modbus requests for the Modbus device. Each request represents a separate link between the CPU and the Modbus device.
tab to add, configure, and removeCreate a request:
Step |
Action |
---|---|
1 |
Press the button to see a new request in the table.Press the button:
NOTE: The function is enabled only when on the tab is set to .
|
2 |
Configure the request settings according to the table below. |
3 |
Repeat these steps to create additional requests. |
4 |
Press the to save the request. |
This table describes the Modbus devices:
parameters forSetting |
Description |
---|---|
|
This bit indicates the read-only offset for the health bit for this connection. Offset values (starting at 0) are auto-generated by the Control Expert DTM based on the connection type. |
|
The Unit ID is the number used to identify the target of the connection. NOTE: Consult
the manufacturer’s user manual for the specific target device
to find its Unit ID.
|
|
This value represents the maximum allowed interval between device responses before a time out is detected:
|
|
This value represents the data scan rate in intervals of 5 ms. (The valid range is 0...60000 ms. The default is 60 ms.) |
|
This is the address of the input data image in the Modbus device. |
|
This value represents the number of words (0...125) in the Modbus device that the CPU reads. |
|
This value represents the behavior of input data in the application if communications are lost:
|
|
This is the address of the output data image in the Modbus device. |
|
This value represents the number of words (0...120) in the Modbus device to which the CPU writes. |
Remove a request:
Step |
Action |
---|---|
1 |
Click a row in the table. |
2 |
Press the button to remove the request.NOTE: The corresponding request items disappear from
the .
|
3 |
Press the to save the configuration. |
The next step is to connect the Control Expert project to the Modbus device.