Table of contents STOBER
4
07/2022 | ID 442516.10
10 Looking for more information about EtherCAT? .......................................................................................................61
10.1 EtherCAT................................................................................................................................................................ 61
10.2 Communication protocols ..................................................................................................................................... 62
10.2.1 CoE: CANopen over EtherCAT............................................................................................................... 62
10.2.2 EoE: Ethernet over EtherCAT................................................................................................................ 62
10.2.3 EoE: Application cases with STOBER devices........................................................................................ 63
10.3 Communication objects......................................................................................................................................... 66
10.3.1 Process data objects – PDO .................................................................................................................. 66
10.3.2 Service data objects – SDO ................................................................................................................... 66
10.3.3 Emergency objects – EMCY .................................................................................................................. 68
10.4 EtherCAT state machine ........................................................................................................................................ 69
10.5 Synchronization ..................................................................................................................................................... 71
10.5.1 SM-Sync: Synchronization using SyncManager event .......................................................................... 72
10.5.2 DC-Sync: Synchronization using distributed clocks............................................................................... 73
10.6 Modular ESI files.................................................................................................................................................... 82
10.6.1 Adding to a modular ESI file ................................................................................................................. 82
10.6.2 Deleting a module from the ESI file...................................................................................................... 83
10.7 Cycle times............................................................................................................................................................. 83
10.8 Fieldbus scaling...................................................................................................................................................... 84
10.9 SDO Info service .................................................................................................................................................... 85
10.9.1 Setting SDO Info service ....................................................................................................................... 85
10.9.2 Access to objects .................................................................................................................................. 85
10.10 Diagnosis History ................................................................................................................................................... 86
10.10.1 Reading out the Diagnosis History in TwinCAT 3.................................................................................. 86
10.10.2 Determination of the system time ....................................................................................................... 87
10.11 Function blocks for TwinCAT 3 .............................................................................................................................. 88
10.11.1 Installing a library and adding to a project ........................................................................................... 88
10.11.2 STOBER_BoxName................................................................................................................................ 89
10.11.3 STOBER_Backup_Restore ..................................................................................................................... 91
10.11.4 STOBER_MC_HOME ............................................................................................................................. 98
11 Appendix................................................................................................................................................................101
11.1 Supported communication objects ..................................................................................................................... 101
11.1.1 ETG.1000.6 EtherCAT specification: 1000 hex – 1FFF hex.................................................................. 101
11.1.2 ETG.1020 EtherCAT protocol enhancements ..................................................................................... 103
11.1.3 Manufacturer-specific parameters: 2000 hex – 53FF hex .................................................................. 104
11.1.4 CiA 402 Drives and motion control: 6000 hex – 65FF hex .................................................................. 106
11.1.5 ETG.5000.1 Modular Device Profile: F000 hex – FFFF hex.................................................................. 108
11.2 SDO transmission: Error codes ............................................................................................................................ 109
11.3 EMCY message: Incorrect state transition error codes ....................................................................................... 110
11.4 EMCY message: Device fault error codes ............................................................................................................ 111
11.5 Detailed information ........................................................................................................................................... 113
11.6 Abbreviations ...................................................................................................................................................... 114