Exploring wRTOS E-CAT ESI Import Tool User Interface

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

Menu Bar

You can use the functions in the Menu Bar to process ESI data. There are three menus: File, Edit, and Help.

Menu name Description

File Menu

This tool provides three methods to open a database:

  • Open Default Devices Database: Select to open the MaxRTDevices database. This default database contains the ESI data for all supported EtherCAT devices. After installing the wRTOS Runtime, the MaxRTDevices database is automatically created under C:\Program Files\IntervalZero\MaxRT\wRTOS\bin\ESI Database\MaxRTDevices.

Note: Modification in the Default Devices Database is not allowed. If you want to modify the device's ESI data in the default database, import the data to User Devices Database and modify it from there.

Note: You can use the default database to view device details of all supported EtherCAT devices or use it as a base to edit or add the desired devices. Remember to save the modified database to a different location by choosing File > Save As. You can open this edited database later using Open ESI Database.

  • Open User Devices Database: Select to open the UserDevices database. This database is used to store ESI data that users have added or modified. If you haven't created a user database, the E-CAT ESI Import Tool will prompt you to create one. Select OK, the UserDevices database will be created automatically under C:\Program Files\IntervalZero\MaxRT\wRTOS\bin\ESI Database\UserDevices.

After creating the database, you can add ESI files to the database. To add one or more ESI files to this database, choose File > Add Devices from ESI to ESI files in .xml format provided by the hardware manufacturers, or choose File > Add Devices from Database to add files from existing database. Finally, select the icon to save changes to the database.

Note: The User Devices Database has the highest priority. If both the Default Devices Database and User Devices Database contain data for the same device, the tool will use settings from the User Devices Database.

Note: To improve the E-CAT connection loading speed, you can store the ESI data for all devices connected to the E-CAT component in the User Devices Database. Once the E-CAT component finds the ESI data of all devices in the User Devices Database, it will skip reading the same ESI data from the Default Devices Database.

  • Open ESI Database: You can use this option to open any database. This option will direct you to the ESI Database folder located at C:\Program Files\IntervalZero\MaxRT\wRTOS\bin\ESI Database. You can find and open the Database.esidb file in the MaxRTDevices or UserDevices folders, or any Database.esidb file stored elsewhere.

After opening a database, you can use these methods to add more devices to the database:

  • Add Devices from ESI: Select this option to add one or more ESI files in .xml format to the current database.
  • Add Devices from Database: Select this option to add ESI data from an existing ESI database to the current database.

After making changes to the database, you can use these functions to save or close the database.

  • Save: Select to save the current database.
  • Save As: Select to save the current database to a different location.
  • Close Database: Select to close the current database.
  • Exit: Select to exit the E-CAT ESI Import Tool. You can also select the X icon on the window's upper-right corner to exit.

Edit Menu

You can use these functions to edit devices/modules in the SubDevice List.

  • Rename: Select a device/module in the SubDevice List, then choose Rename to rename it.
  • Remove: Select a device/module in the SubDevice List, then choose Remove to remove it from the list.
  • Clone: This function is only available for devices, not modules. Select a device in the SubDevice List, then choose Clone to clone it to the list. The default values for vendor, product, revision (Device_ID), and serial are copied to the duplicate device, except that the revision number is automatically incremented by 1.

The Clone function is only valid if:

  1. The vendor ID exists in the current database.
  2. No devices with the same vendor, product, and revision exist in the current database.

Note: You can also perform these functions by right-clicking a device/module in the SubDevice List. See SubDevice List.

Help Menu

  • View Help: Select to display the E-CAT ESI Import Tool online Help.
  • About: Select to view the E-CAT ESI Import Tool information.

Toolbar

Function icons on the Toolbar:

Icon Name Action

Remove selected device or module

Select a device/module in the SubDevice List, then choose this icon to remove it from the list.

Save changes to the database

After editing a database, choose this icon to save changes to the current database.

View documentation

Choose this icon to display the E-CAT ESI Import Tool online Help.

Search Box

The Search Box can find devices/modules in the SubDevice List. To do this, enter a device/module property in the Search Box, such as a vendor name, device/module name, or revision number, and then press Enter. The list will filter and display devices/modules matching the criteria. To display the entire list, clear the Search Box and press Enter.

SubDevice List

Once a database is selected, its devices/modules are shown in the SubDevice List.

The devices/modules are sorted by company name. You can expand a company to view its devices/modules or expand a device/module to see its revision number.

Select a device/module, its profile is displayed in the SubDevice Profile Tabs in the right pane.

You can right-click a device/module to perform the Rename, Remove, Clone, or show Details functions. See Edit Menu for more details.

SubDevice Profile Tabs

Select a device/module from the SubDevice List to view its profile in the Properties, CoE, and Process Data tabs.

Properties

Select a device/module from the SubDevice List, then select the Properties tab. You can view device profile read from the ESI file.

Note: The content in Properties varies depending on the selected SubDevice type, e.g. drive, I/O, or module.

Custom E-CAT Settings

This field contains essential device information for the E-CAT component, though it's not included in the ESI file. When importing an ESI file, the tool provides default values for these settings, which you should adjust to match your specific SubDevice.

Note: The content varies depending on the selected SubDevice type, e.g. drive, I/O, or module.

Basic Settings

These settings are only available for devices (drives and I/Os).

Advanced Settings

Configure the advanced settings for a drive or module.

Sync Manager

This field is only available to devices (drives and I/Os). The Sync Manager ensures that the EtherCAT MainDevice and SubDevice's access to the data in Dual-Port RAM (DPRAM) is synchronized. You can adjust the synchronization settings in the corresponding fields.

Fieldbus Memory Management Unit (FMMU)

This field is only available for devices (drives and I/Os).

CoE

Select a device/module from the SubDevice List, and then select the CoE tab. You can modify CANopen over EtherCAT (CoE) properties and the SDO objects in the Custom Initialization Commands table.

  1. The following settings will be disabled.
  2. The PDO configuration and PDO assignment options in the Process Data tab will be unchecked and disabled.
  3. Data in the Custom Initialization Commands field will be cleared and disabled.

Process Data

Select a device/module from the SubDevice List, and then select the Process Data tab. The Process Data Object (PDO) is a type of periodic data object that can be used to exchange data between an EtherCAT MainDevice (the E-CAT Component) and EtherCAT SubDevices (drives or I/Os) during each EtherCAT communication cycle, typically every 1 millisecond. The MainDevice can monitor and control the SubDevices through process data exchange.

Note: The content varies depending on the selected SubDevice type, e.g. device (drive and I/O), or module.

If a module is selected:

If a device (drive or I/O) is selected:

Descriptions of the variables supported by E-CAT component for process data exchange

The E-CAT ESI Import Tool can automatically detect a device's supported PDOs and the corresponding variables (PDO entries), and display variables in the Input Data and Output Data fields.

Dependency table between functions/APIs and variables

The table below shows the variables that the functions or APIs will rely on.

Functions / APIs Required process data variables

Direct Position control mode,

Master Interpolation Position control mode,

RtecatWriteAxisTargetPosition

Target position

Direct Velocity control mode,

PID Velocity control mode,

Master Interpolation Velocity control mode,

RtecatSetAxisVelocity,

RtecatWriteAxisTargetVelocity

Target velocity

Direct Torque control mode,

PID Torque control mode,

Master Interpolation Torque control mode,

RtecatSetAxisTorque,

RtecatGetAxisTorque,

RtecatWriteAxisTargetTorque

Target torque

Actual torque

Control mode switching while powered on,

RtecatReadAxisMopDisplay,

RtecatWriteAxisMop

MOP display

Modes of operation

Touch probe,

RtecatReadAxisTouchProbeStatus,

RtecatWriteAxisTouchProbeControl

Touch probe (input: status)

Touch probe (output: control)

Probe positive edge

Probe negative edge

RtecatReadAxisDigitalInputs,

RtecatGetAxisDigitalInput

Drive digital inputs

RtecatReadAxisDigitalOutputs,

RtecatWriteAxisDigitalOutputs,

RtecatGetAxisDigitalOutput,

RtecatSetAxisDigitalOutput

Drive digital outputs

RtecatReadAxisActualCurrent

Actual current

RtecatReadAxisActualTorque

Actual torque

RtecatReadAxisActualVelocity

Actual velocity

RtecatReadAxisSecondEncoder,

RtecatSetAxisEncoder

Second encoder

RtecatReadAxisFollowingError

Following error

RtecatWriteAxisTorqueOffset,

RtecatGetAxisTorqueOffset,

RtecatSetAxisTorqueOffset

Torque offset

RtecatWriteAxisMaxTorque

Maximum torque

RtecatWriteAxisMaxCurrent

Maximum current

RtecatWriteAxisProfileVelocity

Profile velocity

RtecatWriteAxisProfileAcceleration

Profile acceleration

RtecatWriteAxisProfileDeceleration

Profile deceleration

Related topics: