background image

TwinCAT configuration

FC1028

19

Version: 1.0

4.4

Enabling Distributed Clocks

Distributed clocks are a common part of EtherCAT communication. They enable local, absolute system
synchronization for CPU, I/O and drive units. This enables time-based and simultaneous data processing of
all distributed clocks capable EtherCAT devices.

Principle of operation

Without distributed clocks the devices would no longer work simultaneously in extended EtherCAT networks,
because EtherCAT works on the pass-through principle. In the pass-through principle, the first devices
receive the EtherCAT frame first and those behind significantly later. This would mean, for example, that not
all inputs could be read at the same time or all outputs could be set at the same time.

Fig. 8: Example structure of an EtherCAT communication with distributed clocks.

For this purpose a distributed clock is integrated in some specially designed EtherCAT devices. This
distributed clock is an electronic mechanism that runs in this device and is synchronized with other
participants with distributed clocks. Hierarchically, the structure looks like this: there is a master clock or a
reference clock and all other devices with distributed clocks support are then the slave clocks. The EtherCAT
master sends a special telegram in each I/O cycle through the EtherCAT network, which distributes the time
from the master clock to all following slave clocks. For this reason, the master clock must also be at the
beginning before all other slave clocks. By default TwinCAT therefore selects the first distributed clocks-
capable device as reference clock.

Fig. 9: Distributed clocks functionality of an EtherCAT slave.

Not all EtherCAT slaves support the distributed clocks method. An EtherCAT slave shows in TwinCAT its
distributed clocks functionality by having the 

DC

 tab.

Example structure with FC1028

The activation of the distributed clocks is shown on a small example structure, with an FC1028 as EtherCAT
master and an EK1100 EtherCAT coupler connected to it with EtherCAT Terminals, including two terminals
with distributed clocks functionality.

Activate the distributed clocks as follows:

Summary of Contents for FC1028

Page 1: ...Manual EN FC1028 PCIe EtherCAT Master Card 5 9 2022 Version 1 0...

Page 2: ......

Page 3: ...g 10 3 1 Assembly 10 3 2 Wiring 10 3 3 Driver note 11 3 4 BIOS settings 11 4 TwinCAT configuration 13 4 1 Scan card in TwinCAT 13 4 2 Insert EtherCAT master manually 14 4 3 Use cable redundancy 16 4 4...

Page 4: ...Table of contents FC1028 4 Version 1 0...

Page 5: ...have already been supplied may be made on the basis of the data diagrams and descriptions in this documentation Trademarks Beckhoff TwinCAT TwinCAT BSD TC BSD EtherCAT EtherCAT G EtherCAT G10 EtherCA...

Page 6: ...y WARNING Hazard with medium risk of death or serious injury CAUTION There is a low risk hazard that can result in minor injury Warnings relating to damage to property or the environment NOTE There is...

Page 7: ...Notes on the documentation FC1028 7 Version 1 0 1 2 Documentation issue status Version Comment 1 0 First version...

Page 8: ...function is particularly interesting for XTS systems that require synchronously running EtherCAT masters The FC1028 EtherCAT card can additionally be used to realize an EtherCAT redundancy 2 1 Struct...

Page 9: ...scription 1 white orange Pair 1 2 orange 3 not connected Pair 2 4 white blue Pair 3 5 blue 6 white green Pair 4 7 green 8 not connected Pair 2 9 white brown Pair 5 10 brown C9900 K921 connection cable...

Page 10: ...eeting the power requirement of the EtherCAT cards particularly if several EtherCAT cards are installed Proceed as follows 1 Before installing the EtherCAT card switch off the Industrial PC and any ex...

Page 11: ...e connected to the eight interfaces Fig 6 Connection example with two adapter cables of type C9900 K921 3 3 Driver note No drivers have to be installed for the operation of the FC1028 EtherCAT card Th...

Page 12: ...CAT Adjust BIOS settings 1 Restart your Industrial PC and press Del to start the BIOS setup 2 If the Del key does not work another key is displayed on the screen in any case which can be used to acces...

Page 13: ...ully and all EtherCAT masters and the EtherCAT slaves connected to them are created in TwinCAT Proceed as follows 1 Start TwinCAT and open an empty project 2 In the tree view on the left right click o...

Page 14: ...TwinCAT see Scan card in TwinCAT 13 Proceed as follows 1 Start TwinCAT and open an empty project 2 In the tree view on the left right click on I O Devices 3 Click Add New Item and select EtherCAT mas...

Page 15: ...project planning at this point As soon as the complete hardware configuration is available you can scan each EtherCAT master and thus start the search for the EtherCAT slaves connected to it The Ethe...

Page 16: ...escription FC1028 Is the EtherCAT master in the example C9900 K921 Adapter cable for FC1028 Breakout cable with one ix Industrial type A plug to 2 x Cat 6 RJ45 socket With the help of the adapter cabl...

Page 17: ...ancy 2 Click on the EtherCAT tab then Advanced Settings 3 Click on Redundancy in the tree structure on the left 4 Click on the Adapter Reference option and then select a second EtherCAT master from th...

Page 18: ...s interrupted their state changes The message LINK_MIS C and LINK_MIS A then appears in the State column Although the connection between the EtherCAT couplers is interrupted the EtherCAT Terminals con...

Page 19: ...nism that runs in this device and is synchronized with other participants with distributed clocks Hierarchically the structure looks like this there is a master clock or a reference clock and all othe...

Page 20: ...n DC Synchron under Operation Mode Since it is the first EtherCAT device with distributed clocks support in this example this EtherCAT device is used as reference clock for all subsequent EtherCAT dev...

Page 21: ...iguration FC1028 21 Version 1 0 5 The EL4032 EtherCAT Terminal is automatically adopted by TwinCAT as master clock or reference clock This means that the distributed clocks functionality is active in...

Page 22: ...ettings for EtherCAT master in master or slave mode The other EtherCAT masters are synchronized with the first master and are switched to slave mode for this These EtherCAT masters still keep their lo...

Page 23: ...e EtherCAT masters 3 Click at the first EtherCAT master on the left side in the tree view on the EtherCAT master and then under the EtherCAT tab on the button Advanced Settings 4 Deactivate the Automa...

Page 24: ...DC in use in Distributed Clocks and then the option DC Time controlled by CCAT Time Slave Mode 7 Repeat this setting for all further EtherCAT masters Synchronization is successful when the distribute...

Page 25: ...to X8 Fig 12 Diagnostic LEDs P01 to P16 FC1028 EtherCAT card An LED LINK ACT lights up green when there is a connection to a network The LED flashes when data transfer on the interface is in progress...

Page 26: ...rate 10 100 Mbit s Design PCIe Interface to the PC PCIe x4 PCIe 2 0 Control software TwinCAT 3 Runtime XAR from 3 1 4022 24 Max power consumption 7 W Dimensions W x H x D 116 mm x 98 mm x 22 mm Opera...

Page 27: ...Version 1 0 7 Appendix 7 1 Accessories Table 7 Connection cable Ordering information Description C9900 K921 Connection cable ix Industrial type A 10 pin plug to 2 x Cat 6 RJ45 socket 1 m Cat 6 cable s...

Page 28: ...here Beckhoff Support Support offers you comprehensive technical assistance helping you not only with the application of individual Beckhoff products but also with other wide ranging services support...

Page 29: ...imensions 11 Fig 6 Connection example with two adapter cables of type C9900 K921 11 Fig 7 Example configuration of a FC1028 with EtherCAT cable redundancy 16 Fig 8 Example structure of an EtherCAT com...

Page 30: ...rCAT card 8 Table 2 EtherCAT interfaces X1 to X8 PIN assignment 9 Table 3 Accessories connection cable ordering information 11 Table 4 Cable redundancy hardware for sample configuration 16 Table 5 Pos...

Page 31: ......

Page 32: ...Beckhoff Automation GmbH Co KG H lshorstweg 20 33415 Verl Germany Phone 49 5246 9630 info beckhoff com www beckhoff com More Information www beckhoff com FC1028...

Reviews: