Beckhoff EL9800 User Manual

Browse online or download User Manual for Equipment Beckhoff EL9800. BECKHOFF EL9800 User Manual

  • Download
  • Add to my manuals
  • Print

Summary of Contents

Page 1 - Date: 2014-11-18

Version 1.4 Date: 2014-11-18 Application Note EL9800

Page 2 - LEGAL NOTICE

I-8 Application Note EL9800 3 TwinCAT Setup This chapter describes how to install and use TwinCAT for EtherCAT networks. 3.1 Install the soft

Page 3

Application Note EL9800 I-9 3.2 Install the Ethernet real-time driver a. Start TwinCAT System Manager Figure 4: Start TwinCAT System Manager

Page 4

I-10 Application Note EL9800 NOTE: “Installed and ready to use devices” NICs for which the “TwinCAT RT-Ethernet intermediate driver”* or the “B

Page 5

Application Note EL9800 I-11 3.3 Additional Basics For a step-by-step instruction of a slave configuration proceed with chapter 4. The follow

Page 6

I-12 Application Note EL9800 Figure 9: EtherCAT Slave Advanced Settings f. Select the node “ESC Access” -> “E2PROM” -> “Smart view” g.

Page 7

Application Note EL9800 I-13 3.3.3 Distributed Clocks If the slave supports DC the master requires a “sync task” to trigger cyclic events. Thi

Page 8 - 1 GENERAL NOTES

I-14 Application Note EL9800 Figure 13: Insert variable c. Select variable a type, e.g. “BIT”, and click [OK] Figure 14: Variable type d. C

Page 9 - 2 EL9800 revisions

Application Note EL9800 I-15 Figure 16: Enable Auto start f. Reload device to apply changes: [Actions]  [Reload Devices] Figure 17: Reload

Page 10 - 3 TwinCAT Setup

I-16 Application Note EL9800 4 Slave Configuration This chapter describes how to create an EtherCAT slave configuration using TwinCAT and the

Page 11 - Figure 5: Real time driver

Application Note EL9800 I-17 4.2 Standard Slave The standard EtherCAT slave includes an uController connected to the ESC which handles the Eth

Page 12

I-II Application Note EL9800 LEGAL NOTICETrademarks Beckhoff®, TwinCAT®, EtherCAT®, Safety over EtherCAT®, TwinSAFE® and XFC® are registered t

Page 13

I-18 Application Note EL9800 p. Select ICD2 Programmer o “Programmer” -> “Select Programmer” -> “MPLAB ICD2” o Select the following op

Page 14 - Figure 10: Program EEPROM

Application Note EL9800 I-19 5 Slave Stack Code IDE Software This chapter contains the installation instructions of the MPLAB IDE which is use

Page 15 - Figure 12: Append task

I-20 Application Note EL9800 5.2 HI-TECH PICC-18 STD compiler This step is only required if the revision EL9800_2 is used. Otherwise go to cha

Page 16 - Figure 15: Link new variable

Application Note EL9800 I-21 5.3 HI-TECH Universal Toolsuite plugin for MPLAB (optional) The Toolsuite is recommended if the MPLAB IDE is used

Page 17 - Figure 17: Reload Devices

I-22 Application Note EL9800 6 Slave Stack Code Project This chapter introduces how to create, download and run a local slave application usin

Page 18 - 4 Slave Configuration

Application Note EL9800 I-23 e. To add the SSC source files select [Project]  [Add Files to Project…] in menu bar. Figure 30: Add source fil

Page 19

I-24 Application Note EL9800 6.2 Project settings a. To select the compiler, linker and assembler choose [Project]  [Select Language Toolsui

Page 20

Application Note EL9800 I-25 Figure 34: Selection of the controller 6.2.1 Compiler/PIC specific settings  Microchip XC16 compiler (PIC24):

Page 21 - Figure 21: Select setup type

I-26 Application Note EL9800  HI-TECH PICC-18 STD compiler (PIC18): Increment the “identifier length” > 60 and disable code optimization (

Page 22 - Figure 23: Installation type

Application Note EL9800 I-27 b. To compile the SSC select [Project]  [Rebuild] in menu bar. (Since MPLAB version 8.46 “Rebuild” is renamed to

Page 23

Application Note EL9800 I-1 DOCUMENT HISTORY Version Comment 0.1 Documentation based on EL9800_2 (PIC18) 0.2 Add EtherCAT piggyback notes Addit

Page 24 - 6 Slave Stack Code Project

I-28 Application Note EL9800 The following instructions refer to the fixed connected onboard ICD 2 debugger. a. Enable the on board debugger i

Page 25 - Figure 30: Add source files

Application Note EL9800 I-29 Figure 43: Power supply selection f. Don’t check automatic connection Figure 44: Auto connect g. Check automat

Page 26 - Figure 32: Select tools

I-30 Application Note EL9800 h. Connect to debugger Figure 46: Connect to debugger i. Acknowledge the download warning with [OK] Figure 47:

Page 27

Application Note EL9800 I-31 k. Download the binary file Figure 49: Program PIC memory Output if programming succeeds Figure 50: Output win

Page 28 - Figure 37: PIC define

I-32 Application Note EL9800 l. Select [Debugger]  [Run] Figure 51: Run binary

Page 29 - Figure 38: Rebuild Project

Application Note EL9800 I-33 7 Known issues Issue Possible workaround Software / Platform Compiler / Code Editor Compiler warning: “… redefini

Page 30

I-34 Application Note EL9800 Appendix Support and Service Beckhoff and their partners around the world offer comprehensive support and service,

Page 31 - Figure 45: Download OS

I-2 Application Note EL9800 CONTENTS 1 GENERAL NOTES 6 2 EL9800 revisions 7 3 TwinCAT Setup 8 3.1 Install the software 8 3.2 Install t

Page 32 - Figure 47: Download warning

Application Note EL9800 I-3 FIGURES Figure 1: EL9800_4A EtherCAT Evaluation board ...

Page 33

I-4 Application Note EL9800 Table Table 1: Used Software ...

Page 34 - Figure 51: Run binary

Application Note EL9800 I-5 ABBREVIATIONS DC Distributed Clocks EEPROM Electrically Erasable Programmable Read Only Memory I/O Input/Output

Page 35 - 7 Known issues

I-6 Application Note EL9800 1 GENERAL NOTES This document is a guideline to start working with the EL9800 EtherCAT Evaluation board. Workshops

Page 36 - Appendix

Application Note EL9800 I-7 2 EL9800 revisions The actual revision EL9800_4A is available (Figure 1: EL9800_4A EtherCAT Evaluation board). The

Comments to this Manuals

No comments