4. Configuration Mode

4.1. Overview

At startup of EC-Inspector, the user will see this page:
../_images/start-screen.png

4.2. Device Settings

4.2.1. General

In this tab, the user can configure the cycle time. If he wants to connect to a control system, this can also be configured. After one of these modes is selected, the ENI file will be imported to show the configuration:
../_images/general.png
General
TAP Type:

Select the type of TAP adapter which is used. Generic is for a standard switch. Supported is also the ET2000. More will be supported in the future.

ENI File:

Path to the ENI which is used in the network that should be monitored. The ENI file can be exported in EC-Inspector. More Infos about the ENI file from Third Party MainDevices can be found here Operating with Third Party EtherCAT Controller

Mode 1: Online analysis via TAP connected to local system
LinkLayer:

Select the Link-Layer which should be used.

Network Adapter:

Network adapter which is connected to TAP or the switch.

../_images/architecture1.png
Mode 2: Offline analysis of EtherCAT frames captured by Wireshark
Capture File:

Path to the capture file pcap

Read multiple files:

Select if wireshark is captured in more files

For more information about the capture files, see Wireshark File

Mode 3: Load EC-Inspector snapshot
Capture File:

Path to the capture file, which contains one or more snapshots ecd

For more information about the snapshots and capture files, see Capture File

4.2.2. Process Data Image

In this tab, the user can see all variables of the process data image. It can also be exported.
../_images/process-data-image.png
If the variables should be exported, the following dialog appears:
../_images/export.png
Export Formats:
  • CSV File (Semicolon separated text file)

  • CSV PLC File (Semicolon separated text file, where offsets are in PLC format)

  • PD Layout File (C-Header file which can be used from EC-Master-Demo application)

  • XML File (Like ProcessImage in ENI)

The variables can also be added to the watchlist, to have a better overview in diagnosis mode.

4.2.3. Watchlist

In this tab, the user can see all variables which were added to the watchlist in config mode:
../_images/watchlist.png

The variables can be edited and removed from the watchlist.

4.2.4. Data Acquisition

In this tab, the user can configure our Data Acquisition (DAQ) library. This library can be used from EC-Master to record process data in realtime.

After adding a new recorder, the user can select the variables which should be recorded and specify some triggers:
../_images/master-daq.png
Variables:
Add/Remove:

Used for adding or removing the selected variable to the recording.

Triggers:
New/Edit/Delete:

Used for changing the trigger list.

If user wants to edit a recorder, he will see the following dialog:
../_images/master-daq_2.png
Name:

Name of the recorder

File:

Absolute path of the recorder file on the MainDevice system

Format:
Format of the recorder file, e.g.
  • MDF (Measurement Data Format)

  • CSV (Comma Separated Values)

Sample Rate:

Sample rate of the recorded data e.g. every cycle or every second cycle, …

Real time stamp:

Adds a real time stamp to the recorded data

Cycle counter:

Adds a cycle counter to the recorded data

If user wants to edit a trigger, he will see the following dialog:
../_images/master-daq_3.png
General
Left variable:

Name of the left variable

Operator:

Operator of the trigger (e.g. =, >, >=, <, <=, !=)

Right value:

Value of the right operand to compare the left variable against a static value e.g. trigger, if variable is greater than 5

Right variable:

Name of the right variable to compare the left variable against the value of another variable e.g. trigger, if variable 1 is smaller than variable 2

Enable:

Enabled or disabled trigger (can be enabled from application later)

Start:

Start or stop trigger

Optional
Duration:

Duration in ms (0 = infinite) e.g. trigger should start recording for 500 ms

Count:

Trigger count (0 = infinite) e.g. trigger should hit only for 5 times

For more information please refer the manual of the EC-Master-Data-Acquisition-Library.

4.2.5. Trigger

In this tab, the user can create, edit und delete trigger. When a trigger is hit, the monitor will stop and show the actual state. Trigger can be created for process data and notifications. To switch to the notification trigger select the tab in top right corner. This tab is also shown in the diagnosis mode to enable and disable trigger while in diagnosis mode.
../_images/monitor-trigger.png
Trigger:

List of trigger.

Edit Trigger:
New: When new is clicked the following dialog pops up:
../_images/monitor-new-trigger.png

The user can select variable which should be compared and the select if he wants to compare with a value or another variable. With enable the trigger can be enababled and disabled.

The following dialog pops up on the notification trigger tab:
../_images/monitor-new-trigger-notify.png

The user can select which notification should be triggered. He can also select for which SubDevice the notification should be triggered. Default is “All SubDevices”. It is also possible to trigger all notifications for all SubDevices.

Edit: Edit the selected trigger

Delete: Remove the selected trigger from project

If the EC-Inspector stops because of a trigger it can be restarted with Run. It is also possible to pause the EC-Inspector without a trigger:
../_images/run-pause.png

4.3. SubDevice Settings

4.3.1. General (SubDevice)

In this tab, the user can see general SubDevice settings like station address or the name of the SubDevice. Also the connected ports can be seen.
../_images/slave-general.png
Address
Station Address:

Station address of the SubDevice. By default, the first station address is 1001.

Information
Name:

Name of the SubDevice. By default the following format is used “SubDevice_N [TYPE]”

Description:

Description of the SubDevice (Read from ESI file)

Vendor:

Name of the vendor the SubDevice

Product Code:

Product Code of the SubDevice

Revision Number:

Revision Number of the SubDevice

ESI File:

Name of the ESI `file where the description of the SubDevice is stored. :file:`ESI files can be managed by using the ESI-Manager

Identification Value:

Identification Value of the SubDevice

Ports
Connected Devices:

List of connected devices

4.3.2. Variables

In this tab, the user can see the variables of the SubDevice.
../_images/slave-variables.png
Lists of Variables

Variables comes from the import of the ENI file.

Buttons
Add to watchlist:

Adds the variable into the watchlist