STOBER Table of contents
07/2023 | ID 443077.02
3
5.2 TwinCAT 3: Putting the EtherCAT system into operation...................................................................................... 35
5.2.1 Creating and exporting an ESI file......................................................................................................... 35
5.2.2 Activating the EtherCAT master ........................................................................................................... 36
5.2.3 Scanning the hardware environment ................................................................................................... 37
5.2.4 Expanding the startup list..................................................................................................................... 38
5.2.5 Configuring synchronization using distributed clocks .......................................................................... 40
5.2.6 Configuring synchronization via SyncManager event........................................................................... 41
5.2.7 Controller-based axis control ............................................................................................................... 42
5.2.8 Drive-based axis control ....................................................................................................................... 44
5.2.9 Configuring EoE communication .......................................................................................................... 45
5.2.10 Configuring a Station Alias.................................................................................................................... 46
5.2.11 Transmitting the configuration............................................................................................................. 46
5.2.12 Checking the functionality of the axes ................................................................................................. 47
5.3 CODESYS V3: Putting the EtherCAT system into operation................................................................................... 48
5.3.1 Creating a standard project .................................................................................................................. 48
5.3.2 Adding a drive controller ...................................................................................................................... 48
5.3.3 Configuring synchronization using distributed clocks .......................................................................... 49
5.3.4 Controller-based axis control ............................................................................................................... 50
5.3.5 Drive-based axis control ....................................................................................................................... 52
5.3.6 Configuring EoE communication .......................................................................................................... 53
5.3.7 Transmitting the configuration............................................................................................................. 53
5.3.8 Checking the functionality of the axes ................................................................................................. 53
5.3.9 Special case: Adding to the PDO transmission ..................................................................................... 53
6 More about CiA 402?................................................................................................................................................55
6.1 CiA 402 – Concept ................................................................................................................................................. 55
6.1.1 Activation.............................................................................................................................................. 56
6.1.2 Operating modes .................................................................................................................................. 56
6.1.3 Source for digital signals....................................................................................................................... 56
6.1.4 User-defined status word ..................................................................................................................... 56
6.1.5 Additional functions ............................................................................................................................. 56
6.1.6 Control panels....................................................................................................................................... 57
6.1.7 Motion core .......................................................................................................................................... 57
6.2 Axis model ............................................................................................................................................................. 57
6.3 Limit switches ........................................................................................................................................................ 60
6.3.1 Real axes ............................................................................................................................................... 60
6.3.2 Special cases ......................................................................................................................................... 64
6.4 Referencing............................................................................................................................................................ 65
6.4.1 Referencing methods............................................................................................................................ 65
6.4.2 Reference position................................................................................................................................ 91
6.4.3 Reference retaining .............................................................................................................................. 91
6.5 CiA 402 device control........................................................................................................................................... 92
6.5.1 CiA 402 device state machine............................................................................................................... 92
6.5.2 Commands, states and transitions ....................................................................................................... 93