Exploring wRTOS E-CAT Configuration Tool User Interface

This section provides information about the E-CAT Configuration Tool user interface.

Instance ID

You must create at least one E-CAT MainDevice instance before using the wRTOS E-CAT Configuration tool. To create an E-CAT MainDevice instance, see E-CAT Settings in wRTOS Settings.

If you select an E-CAT MainDevice instance ID when connecting to the E-CAT MainDevice, the ID is displayed. See Step 3 in Using wRTOS E-CAT Configuration Tool.

Project Name

When you create a new project, its name is displayed. See Step 4 in Using wRTOS E-CAT Configuration Tool. If you load a project file, its name and path are displayed.

Sidebar

Function icons on the Sidebar:

Icon Name Action

Project Configuration

Select this icon to display the Project Configuration Pane. Within this pane, you can configure the MainDevice connection or device settings. See Project Configuration Pane for more details.

Open (Startup Page)

Select this icon to display the Startup page to create or open a project file.

Save

Select this icon to save the current settings to a folder.

Save as

Select this icon to save the current settings to a new folder.

About

Select this icon to display the tool information.

Help

Select this icon to display the tool's offline Help.

MainDevice

Select this icon to connect to or disconnect from the E-CAT MainDevice.

Icon Status:

  • Green: When the icon turns green, the connection is established.
  • Yellow: When the icon turns yellow, the connection is disconnected.
EtherCAT

Select this icon to connect to or disconnect from the EtherCAT devices. Use it only when the MainDevice connection is established.

Icon Status:

  • Green: When the icon turns green, it indicates that the connection is established within this tool or started by other applications.
  • Purple: When the icon turns purple, it indicates that the MainDevice's EtherCAT state is in the Init, PreOP, or SafeOP state rather than the OP state.
  • Yellow: When the icon turns yellow, the connection is disconnected.

Startup Page

You can create or open a project file by selecting New project or Open project in the Start field. To create a new project, see Step 4 in Using wRTOS E-CAT Configuration Tool. The Recent field displays recently opened files. You can select a specific topic of this tool in the Discover field to access offline help.

Project Configuration Pane

The Project Configuration Pane lists all project settings, including connection, axis, and I/O device settings. It allows you to perform several functions. Click the Pin button in the upper-right corner to pin or unpin this pane.

Device Icon Status

The device icons indicate the device's EtherCAT state.

Context Menu Functions

Right-click a device to open its context menu. The available functions depend on the device's EtherCAT state.

The left image shows the context menu for an axis, while the right image shows the context menu for an I/O.

Tooltip

You can move your mouse pointer over a device to show its basic information.

Note: If the device is not scanned from the EtherCAT connection or added from database, the Station alias and Explicit ID will display as 0 (zero).

Note: The default value of Simulated is False when devices are added manually. Once connected to a simulated device, the value changes to True.

Adding Devices

To add an axis or I/O device:

  1. Right-click Axes or IO to display the context menu:
    • Add Axis/IO: Select this option to manually add an axis or I/O.
    • Add axis/IO from database: Select this option to add an axis or I/O from the database. In this example, we add an axis from the database:
      1. Select a device in the Select Axis From Database dialog.
      2. Note: For multi-channel drives, the Axis count field shows the number of axes, and the Axis names field automatically lists them in the format Drive name + Axis number.

      3. Click OK to add the axis to the list.
      4. Note: For multi-channel drives, this adds all its axes.

  2. Modify the connection parameters:
    1. Go to the Connection Settings page and select the Disconnect button to disconnect the EtherCAT connection.
    2. In the Devices Settings field, enter the required axis/IO count. If you want to add simulated devices, enter a device value in this section. For example, if you already have one physical axis and three physical I/Os and want to add one simulated axis, enter 2 for the axis count.
    3. Select the Connection button. One simulated axis is created. Simulated hardware names are prefixed with Simulated.

Settings Pane

After selecting Connection Settings or a device from the Devices list in the Project Configuration Pane, its data will be displayed in this pane.

Connection Settings

The Connection Settings page appears when you select Connection Settings in the Project Configuration Pane. This page contains the basic EtherCAT and device settings you must configure before connecting to the E-CAT MainDevice.

Connect Button

You can select this icon to connect to or disconnect from the EtherCAT devices. This button functions like the EtherCAT icon in the bottom-left corner of the Sidebar. Since these devices are connected to the E-CAT MainDevice, use this button only when the MainDevice connection is established.

Icon Status:

Note: All settings are preserved if the tool is not closed, even if you select the Disconnect button.

Note: When an EtherCAT connection is established, the tool checks whether the connected devices match those from the selected project. If they do not match, the tool initiates the Device Matching process.

EtherCAT Settings

You can configure EtherCAT connection properties in this section.

Note: The cycle time must be a multiple of the wRTOS HAL Timer Period. If it's not, an error message will be displayed, and the MainDevice will not start. To set up the HAL timer period, see HAL Timer Period in wRTOS Settings.

Axis Settings

You can configure data transfer between the E-CAT MainDevice and axes (SubDevices). Note that if a SubDevice does not support the selected data transmission, the transmission will not occur. You can use E-CAT ESI Import Tool to check the device's ESI data.

Devices Settings

You can configure the number of devices to use. If physical devices are connected, you can leave this value as zero. If no physical devices are available, enter values in the Required axes and Required IOs fields to create simulated devices. See Adding Devices for more details.

Device Settings

The Device Settings page appears when you select a device from the Project Configuration Pane. The IO page allows you to read devices' I/O data or write data to the device output. The SDO page provides access to the devices' Service Data Object (SDO).

Note: If other applications establish the EtherCAT connection instead of this tool, you can use the tool to observe and manipulate real-time I/O signals and parameters for debugging and troubleshooting. After running your application, open E-CAT Configuration Tool to view these signals.

IO Page: Axis device

Choose an axis device and select the IO tab to access this page. This page allows you to read device input and output data or write data to the device output. Gray squares indicate a FALSE input/output, while blue squares indicate TRUE. To change an output value, click a square in the Output field to toggle between TRUE and FALSE.

Note: This page appears only when the selected device's EtherCAT state is in the Op state.

IO Page: I/O device

Choose an I/O device and select the IO tab to access this page. This page displays the device's Process Data Object (PDO) variable list, which may include inputs, outputs, or both, depending on the device's capabilities. The variable definitions are retrieved from the ESI file.

The above image illustrates the IO page when the selected I/O device supports only input.

The above image illustrates the IO page when the selected I/O device supports only output.

SDO Page

Choose an axis or I/O device and select the SDO tab to access this page. This page provides access to the devices' Service Data Object (SDO). You can configure object values or add objects to the Device Initialization Commands field for execution when the EtherCAT connection is established. The settings on this page are the same for axis and I/O devices.

Device Initialization Commands

The initial SDO commands run every time the hardware connects to the MainDevice. You can add SDO objects to this area.

Note: EtherCAT states may change due to different connection methods. Here are two major scenarios:

Scenario A: If you use the wRTOS E-CAT Configuration Tool to establish an EtherCAT connection by clicking the Connect button on the Connection Settings page, all devices will transition to the OP state. Subsequently, if the tool detects discrepancies between the connected devices and those listed in the project file, the Device Matching process will be initiated. After completing the Device Matching process, the tool will revert the state of the devices to PreOP or SafeOP to send any necessary initialization commands. Once the commands are sent, all devices will transition back to the OP state.

Scenario B: If you use the E-CAT APIs to establish an EtherCAT connection with a Configuration Tool project file, the MainDevice will directly transition the devices from the Init state to the OP state and send the initialization commands during this transition. The Device Matching process will be omitted in this case.

SDO Access

You can read and write the SDO objects not listed in the object dictionary. The firmware may contain these objects, which you can access here. This field is only available when the device is in the OP/Safe-Op/Pre-Op state. All columns are editable. Double-click the columns to edit the values.

Object Dictionary

The object dictionary retrieved from an ESI file.

Related topics: