Distributed Clocks Diagnosis

Target/actual comparison of arrival times

This dialog lists the results of a target/actual comparison. It indicates the quality of the EtherCAT DC deviation. Within EtherCAT frames, data is sent at a certain time and then expected at a certain time. Deviations that correlate with an expected arrival time of the data and an actual arrival time of the data are displayed here. The smaller these deviations are, the better the quality of the DC communication.

DC quality in Run mode

In Run mode TwinCAT offers the opportunity to derive preliminary information about the actual DC quality. When a task is called, it calculates the expected time of its next call based on the current time and its own cycle time. It compares this expected time of its next call with the actual time at which this task is called for the next cycle. This dialog shows the DC quality in Run mode.

EtherCAT DC deviation

Distributed Clocks Diagnosis

Distributed Clocks Diagnosis 1:

Deviation (µs)

The "Deviation (µs)" column shows steps of deviations between the actual time of the next task call and the expected time of the next task call. In the first table row, cycles are counted in which this deviation amounts to less than one microsecond. In the second table row, cycles are counted in which the deviation lies in the interval [1µs, 2µs[. In the third line of the table, the deviation is in the interval [2µs, 5µs[, and so on.

Count(neg)

The "Count(neg)" column counts negative deviations between the actual time of the next task call and the expected time of the next task call.

Percent(neg)

The "Percent(neg)" column contains the value from "Count(neg)" column as a percentage of the total number of counted cycles.

Percent(pos)

The "Percent(pos)" column contains the value from "Count(pos)" column as a percentage of the total number of counted cycles.

Count(pos)

The "Count(pos)" column counts positive deviations between the actual time of the next task call and the expected time of the next task call.

Asymmetry

An asymmetry of positive and negative deviations between the actual time of the next synchronizing task call and the expected time of the next synchronizing task call is required. It maps the drift ratio between the master clock in the master device and the reference clock in the EtherCAT ring. At a ratio of 0:100 or 100:0 the distributed clock system is out of service.

Distribution of the deviation

The counter values should mainly be in low deviation steps. If only values ">=500µs" occur, the distributed clock system is out of service.