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