5. Diagnosis Mode
5.1. Overview
EC-EngineerWeb is also a diagnosis application specifically developed to analyze EtherCAT networks that are controlled by the EC-Master. Automated control systems usually require high availability of the whole system. Due to the rough industrial environment this is often hardly to achieve.
If high availability shall be guaranteed for an automated control system it is important to verify and maintain the field bus. Using EC-EngineerWeb it is possible to take a look into the “health” of the EtherCAT system. Detection of signs of system degradation prior to running into a system failure will be of great benefit. In that case it is possible to exchange the problematic components (cables, slave devices).
- Many aspects of diagnosis are covered by the EC- Engineer:
Useful for setting up the system
System analysis and maintenance
Error detection
Documentation
5.2. Master
This section shows the current “health” state of the master and helps the user to analyze master related problems.
5.2.1. General (Master)
- In this tab, the user can see and change the current state of the state machine of the master. He has also an overview over the current “health” state of his EtherCAT network.
- State Machine
- Current State:
Current state of the master
- Requested State:
Requested state of the master
- Change State:
Master can reach the states INIT, PRE-OP, SAFE-OP and OP.
- Information
- Number of found slaves:
Number of slaves, which were found from master on the network
- Number of slaves in configuration:
Number of slaves, which are configured in the
ENI
file- Number of DC slaves:
Number of slaves with DC support, which were found from master on the network
- DC in-sync:
Signals that all slaves with DC support are correctly synchronized or not. If not all slaves are correctly synchronized, please refer the “Message Window” for more information.
- Topology OK:
Signals that topology is “okay” or not. If topology is not “okay”, you have a mismatch between the configured bus and the currently connected bus. Please open the
to solve the problem.- Link Connected:
Signals the link is connected.
- Slaves in Master State:
Signals that all slaves are in master state.
- Frame Counter
- Sent frames:
Number of sent frames
- Lost frames:
Number of lost frames
- Cyclic frames:
Number of cyclic frames
- Acyclic frames:
Number of acyclic frames
5.2.2. Process Data Image
- In this tab, the user can see and change the values of the process variables. The variables will be forced to the value the user entered. The user can press release to release the variable. If he selects a process variable he will see a chart of the values. The chart will be updated every 250 milliseconds.
It is also possible to add the variables to a watch list (next chapter).
5.2.3. Watch list
- In this tab, the user can monitor selected variables. He can go through the slaves and add variables to the watch list to monitor them. The user can also export or import the watch list, so changes can be saved.
5.2.4. CoE Object-Dictionary (Expert)
- In this tab, the user can read and write the values of the object dictionary of the master.
- Lists of CoE Object-Dictionary entries
Entries are uploaded by the master from the slave
The
column tells the user if this entry is an PDO entry and if it can be edited - “AA BB (CC DD EE)” - AA = Mapping as RX PDO or not - BB = Mapping as TX PDO or not - CC = Access rights for PreOp (RO, WO, RW) - DD = Access rights for SafeOp (RO, WO, RW) - EE = Access rights for Op (RO, WO, RW)- Buttons
- Update:
Changes the selected entry
5.2.5. Performance
- In this tab, the user can see the busload per cycle and per second.
5.2.6. Master History (Expert)
- In this tab, the user can see and change the diagnosis history of the master (Supported from EC-Master V2.7 and above).
5.3. Slave
This section shows the current “health” state of the selected slave and helps the user to analyze slave related problems.
5.3.1. General
- In this tab, the user can see and change the current state of the state machine of the slave. He can see and clear also the current error state of the slave.
- State Machine
- Current State:
Current state of the selected slave
- Requested State:
Requested state of the selected slave
- Change State:
Slave can reach the states INIT, BOOTSTRAP, PRE-OP, SAFE-OP and OP. Note: The BOOTSTRAP mode can only be reached from the INIT state.
- Error State
- Current:
Slave error which occurred during state transition
5.3.2. Variables
In this tab, the user can see the values of the process variables. The variables will be forced to the value the user entered. The user can press release to release the variable.
- The chart will be updated every second. It is also possible to add variables to the watchlist.
5.3.3. ESC Register
- In this tab, the user can see and change the values of the registers. In the settings section he can set the offset and the length. If he activates the compact view, he will only see the registers which have a description.
5.3.4. EEPROM
- In this view, the user can see and change the values of the EEPROM. At the moment only the “Configured Stations Alias” is changeable.
5.3.5. Extended Diagnosis
- In this tab, the user can see the extended diagnosis information.
- Common Error Counter
- Processing Error Counter:
Indicates that slave received “not EtherCAT frames”, which are not allowed in the EtherCAT segment (of course acceptable in a test environment)
- PDI Error Counter:
Counts if a PDI access has an interface error (read from register: 0x30D)
- Port 0..3
Invalid Frame Counter of Port y (read from register: 0x0300+y*2)
RX Error Counter of Port y (read from register: 0x0300+y*2+8Bit)
Lost Link Counter of Port y (read from register: 0x0310+y)
Forwarded RX Error Counter of Port y (read from register: 0x0308+y)
5.3.6. DC Diagnosis
- In this tab, the user can see all DC related values of the slave.
Note
Option “Sync Window Monitoring” must be enabled.
5.3.7. CoE Object-Dictionary
- This tab consists of 3 modes:
- Description from
ESI
- In this tab, the user can see the description of the object dictionary from
ESI
and the values from the slave. He can also change the values.
- In this tab, the user can see the description of the object dictionary from
- Lists of CoE Object-Dictionary entries
Entries comes from
ESI
- The column tells the user if this entry is an PDO entry and if it can be edited
“AA BB (CC DD EE)”
AA = Mapping as RX PDO or not
BB = Mapping as TX PDO or not
CC = Access rights for PreOp (RO, WO, RW)
DD = Access rights for SafeOp (RO, WO, RW)
EE = Access rights for Op (RO, WO, RW)
- Buttons
- Write:
Writes the selected entry
- Description from Slave
- In this tab, the user can see the description of the object dictionary and the values from slave. He can also change the values and has the possiblillty to export the object dictionary.
- Lists of CoE Object-Dictionary entries
Entries are uploaded from the slave (if “SDO Information Service” is supported)
- The column tells the user if this entry is an PDO entry and if it can be edited
“AA BB (CC DD EE)”
AA = Mapping as RX PDO or not
BB = Mapping as TX PDO or not
CC = Access rights for PreOp (RO, WO, RW)
DD = Access rights for SafeOp (RO, WO, RW)
EE = Access rights for Op (RO, WO, RW)
- Buttons
- Write:
Writes the selected entry
- Single Object
- In this tab, the user can read and write the values of the object dictionary of the slave.
- Settings
- Index:
Index of the CoE value
- SubIndex:
SubIndex of the CoE value
- Size:
Size of the CoE value (only used for reading)
- Complete Access:
Activate, if complete access mode should be used for reading or writing the CoE value (can be used only if it is supported from slave)
- Operation
- Write:
Writes the value to the slave (Hex format, like: “00 11 22 33 …”)
- Read:
Reads the value from slave (Hex format, like: “00 11 22 33 …”)
- Description from
5.3.8. File over Ethernet (FoE)
- In this tab, the user has the possibility to download or upload a file to the slave.
- FoE Operations
- Local Filename:
Name of the file on the harddrive
- Slave Filename:
Name of the file on the slave
- Password:
Password on the slave as a hex-number
- Timeout:
Timeout for downloading or uploading the file in milliseconds
- Max File Size:
Maximal file size which should be uploaded from the slave in kilo bytes
5.3.9. History
- In this tab, the user can see and change the diagnosis history of the slave.