beautypg.com
Application Note EL9800
I-3
FIGURES
Figure 1: EL9800_4A EtherCAT Evaluation board ................................................................................. 7
Figure 2: EL9800_2 EtherCAT Evaluation board ................................................................................... 7
Figure 3: TwinCAT installation level ........................................................................................................ 8
Figure 4: Start TwinCAT System Manager ............................................................................................. 9
Figure 5: Real time driver ........................................................................................................................ 9
Figure 6: Real time driver installation menu ............................................................................................ 9
Figure 7: Perform device scan .............................................................................................................. 11
Figure 8: Successful device scan ......................................................................................................... 11
Figure 9: EtherCAT Slave Advanced Settings ...................................................................................... 12
Figure 10: Program EEPROM............................................................................................................... 12
Figure 11: Master startup behaviour ..................................................................................................... 13
Figure 12: Append task ......................................................................................................................... 13
Figure 13: Insert variable ...................................................................................................................... 14
Figure 14: Variable type ........................................................................................................................ 14
Figure 15: Link new variable ................................................................................................................. 14
Figure 16: Enable Auto start ................................................................................................................. 15
Figure 17: Reload Devices .................................................................................................................... 15
Figure 18: 16Bit Digital I/O Device Description ..................................................................................... 16
Figure 19: EL9800 | 8Bit Digital I/O, 16Bit Analog Input_VXiXX Device Description ........................... 17
Figure 20: Execute Installation file ........................................................................................................ 19
Figure 21: Select setup type ................................................................................................................. 19
Figure 22: Compiler installation............................................................................................................. 19
Figure 23: Installation type .................................................................................................................... 20
Figure 24: Activation successful ........................................................................................................... 20
Figure 25: Additional software............................................................................................................... 20
Figure 26: Driver installation ................................................................................................................. 21
Figure 27: Create a new Project ........................................................................................................... 22
Figure 28: Project Details ...................................................................................................................... 22
Figure 29: Activate Project Manager ..................................................................................................... 22
Figure 30: Add source files ................................................................................................................... 23
Figure 31: Select source files ................................................................................................................ 23
Figure 32: Select tools .......................................................................................................................... 24
Figure 33: Microchip XC16 Toolsuite .................................................................................................... 24
Figure 34: Selection of the controller .................................................................................................... 25
Figure 35: Heap setting for Microchip XC16 compiler .......................................................................... 25
Figure 36: Compiler Settings................................................................................................................. 26
Figure 37: PIC define ............................................................................................................................ 26
Figure 38: Rebuild Project..................................................................................................................... 27
Figure 39: Build succeed output ........................................................................................................... 27
Figure 40: Select "MPLAB ICD 2" ......................................................................................................... 28
Figure 41: ICD 2 setup wizard............................................................................................................... 28
Figure 42: Communication interface selection ...................................................................................... 28
Figure 43: Power supply selection ........................................................................................................ 29
Figure 44: Auto connect ........................................................................................................................ 29
Figure 45: Download OS ....................................................................................................................... 29
Figure 46: Connect to debugger ........................................................................................................... 30
Figure 47: Download warning ............................................................................................................... 30
Figure 48: Output window: connection successful ................................................................................ 30
Figure 49: Program PIC memory .......................................................................................................... 31
Figure 50: Output window: Programming successful ........................................................................... 31
Figure 51: Run binary ............................................................................................................................ 32