Introduction

Note: In the following, a "central control architecture" is assumed: a central controller (PLC) serves topologically subordinate stations via 1..n fieldbuses: I/O terminals/couplers, drives, cameras, sensors, …

In a machine control system with distributed components (I/O, drives, possibly several masters/controllers), it may be necessary for the components to work in more or less close temporal relation to each other.

Introduction 1:

Time dimension, application requirements

In view of the requirements, the terms "close temporal relationship" or "simultaneous" must be expressed in tangible figures:

  • a serial communication structure and NTP synchronization may be sufficient for "simultaneity" in the two-digit millisecond range,
  • if, on the other hand, a few nanoseconds are required, high-performance synchronization technologies such as EtherCAT distributed clocks must be selected

The components must therefore have a “time”, to which the component (e.g. an I/O terminal or a drive) has access at all times. Such requirements may include:

Requirement 1

Both requirements mean that there is a “local” synchronization mechanism between the clocks of the subordinate stations of a control system.

The solution: the central controller (preferably TwinCAT 3) synchronizes all subordinate EtherCAT devices via EtherCAT distributed clocks -> "local synchronization"

Requirement 2

The solution: Beckhoff TwinCAT can not only be a clock source for other controllers, but is also set up to receive external timing signals and can thus align its own operating clock accordingly: TwinCAT can therefore synchronize itself to other clock sources ("external synchronization")

In order to cover requirements 1 + 2, the following must be resolved in this example

Introduction 2:Fig.12: Simple I/O topology

(consisting of the EtherCAT master, part of the TwinCAT controller, various I/O and an axis):

These topics are discussed in the following sections.