Beckhoff EtherCAT Technology Section I Bedienungsanleitung

Stöbern Sie online oder laden Sie Bedienungsanleitung nach Ausrüstung Beckhoff EtherCAT Technology Section I herunter. BECKHOFF EtherCAT Technology Section I User Manual Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 116
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 0
Version 2.2
Date: 2014-07-07
Hardware Data Sheet Section I
Slave Controller
Section I Technology
EtherCAT Protocol, Physical Layer,
EtherCAT Processing Unit, FMMU,
SyncManager, SII EEPROM, Distributed
Clocks
Section II Register Description
(Online at http://www.beckhoff.com)
Section III Hardware Description
(Online at http://www.beckhoff.com)
Seitenansicht 0
1 2 3 4 5 6 ... 115 116

Inhaltsverzeichnis

Seite 1

Version 2.2 Date: 2014-07-07 Hardware Data Sheet Section I Slave Controller Section I – Technology EtherCAT Protocol, Physical L

Seite 2

TABLES I-X Slave Controller – Technology TABLES Table 1: ESC Main Features ...

Seite 3

SII EEPROM I-80 Slave Controller – Technology 11.3.3.2 Read Access An EEPROM read access reads 2 or 4 words (4 or 8 bytes, depending on device c

Seite 4

SII EEPROM Slave Controller – Technology I-81 R/W1 001EEPROM_CLKA18EEPROM_DATAtClkA16A17 Ack A15 A13A14 A12 A10A11 A9 AckA8Start Control Byte Hi

Seite 5 - DOCUMENT HISTORY

Interrupts I-82 Slave Controller – Technology 12 Interrupts ESCs support two types of interrupts: AL Event Requests targeted at a µController, a

Seite 6

Interrupts Slave Controller – Technology I-83 12.2 ECAT Event Request (ECAT Interrupt) ECAT event requests are used to inform the EtherCAT maste

Seite 7

Watchdogs I-84 Slave Controller – Technology 13 Watchdogs The ESCs support up to two internal watchdogs (WD), a Process Data watchdog used for m

Seite 8

Error Counters Slave Controller – Technology I-85 14 Error Counters The ESCs have numerous error counters which help in detecting and locating e

Seite 9

Error Counters I-86 Slave Controller – Technology 14.1 Frame error detection EtherCAT frame error detection takes place at three functional bloc

Seite 10

LED Signals (Indicators) Slave Controller – Technology I-87 15 LED Signals (Indicators) EtherCAT slave controllers support different LEDs regard

Seite 11 - TABLES

LED Signals (Indicators) I-88 Slave Controller – Technology 15.2 ERR LED The ERR LED indicates local errors and application errors. It is either

Seite 12

LED Signals (Indicators) Slave Controller – Technology I-89 15.3 STATE LED and STATE_RUN LED Signal The STATE LED is a bicolor-LED combining RUN

Seite 13

TABLES Slave Controller – Technology I-XI

Seite 14

LED Signals (Indicators) I-90 Slave Controller – Technology 15.5 Port Error LED (PERR) Some ESCs support port receive error indicators PERR(x),

Seite 15

Process Data Interface (PDI) Slave Controller – Technology I-91 16 Process Data Interface (PDI) The Process Data Interface (PDI) realizes the co

Seite 16

Process Data Interface (PDI) I-92 Slave Controller – Technology 16.2 PDI register function acknowledge by write Some ESC functions are triggered

Seite 17

Process Data Interface (PDI) Slave Controller – Technology I-93 16.3 General Purpose I/O Some ESCs support general purpose inputs, outputs, or b

Seite 18

Additional Information I-94 Slave Controller – Technology 17 Additional Information 17.1 ESC Clock Source The initial accuracy of the ESC clock

Seite 19

Additional Information Slave Controller – Technology I-95 17.3 Write Protection Some ESCs are capable of register write protection or entire ESC

Seite 20

Appendix I-96 Slave Controller – Technology 18 Appendix 18.1 Support and Service Beckhoff and their partners around the world offer comprehensi

Seite 21 - Table 1: ESC Main Features

FIGURES I-XII Slave Controller – Technology FIGURES Figure 1: EtherCAT Slave Controller Block Diagram ...

Seite 22

ABBREVIATIONS Slave Controller – Technology I-XIII ABBREVIATIONS µC Microcontroller ADR Address ADS Automation Device Specification (Beckhoff)

Seite 23

ABBREVIATIONS I-XIV Slave Controller – Technology Cut Through Procedure for cutting directly through an Ethernet frame by a switch before the comple

Seite 24 - 2 EtherCAT Protocol

ABBREVIATIONS Slave Controller – Technology I-XV EPU EtherCAT Processing Unit. The logic core of an ESC containing e.g. registers, memory, and pr

Seite 25 - Figure 3: EtherCAT Datagram

ABBREVIATIONS I-XVI Slave Controller – Technology ISO/OSI Model ISO Open Systems Interconnection Basic Reference Model (ISO 7498): describes the div

Seite 26 - Table 3: EtherCAT Datagram

ABBREVIATIONS Slave Controller – Technology I-XVII OPB On-Chip Peripheral Bus Optional Service Optional services can be fulfilled by a PROFINET

Seite 27

ABBREVIATIONS I-XVIII Slave Controller – Technology RJ45 FCC Registered Jack, standard Ethernet connector (8P8C) RMII Reduced Media Independent Int

Seite 28

ABBREVIATIONS Slave Controller – Technology I-XIX Subnet Mask Divides the IP address into two parts: a subnet address (in an area separated from

Seite 29 - 2.5 EtherCAT Command Types

DOCUMENT ORGANIZATION I-II Slave Controller – Technology DOCUMENT ORGANIZATION The Beckhoff EtherCAT Slave Controller (ESC) documentation covers

Seite 31

EtherCAT Slave Controller Overview Slave Controller – Technology I-1 1 EtherCAT Slave Controller Overview An EtherCAT Slave Controller (ESC) tak

Seite 32 - 3 Frame Processing

EtherCAT Slave Controller Overview I-2 Slave Controller – Technology 1.1 EtherCAT Slave Controller Function Blocks EtherCAT Interfaces (Ethernet

Seite 33

EtherCAT Slave Controller Overview Slave Controller – Technology I-3 Memory An EtherCAT slave can have an address space of up to 64Kbyte. The fir

Seite 34 - Slave Controller

EtherCAT Protocol I-4 Slave Controller – Technology 2 EtherCAT Protocol EtherCAT uses standard IEEE 802.3 Ethernet frames, thus a standard netwo

Seite 35 - Figure 6: Circulating Frames

EtherCAT Protocol Slave Controller – Technology I-5 2.2 EtherCAT Datagram Figure 3 shows the structure of an EtherCAT frame. Datagram HeaderFCSF

Seite 36

EtherCAT Protocol I-6 Slave Controller – Technology Table 3: EtherCAT Datagram Field Data Type Value/Description Cmd BYTE EtherCAT Command Type (

Seite 37

EtherCAT Protocol Slave Controller – Technology I-7 2.3.1 Device Addressing The device can be addressed via Device Position Address (Auto Increm

Seite 38

EtherCAT Protocol I-8 Slave Controller – Technology 2.4 Working Counter Every EtherCAT datagram ends with a 16 Bit Working Counter (WKC). The Wo

Seite 39

EtherCAT Protocol Slave Controller – Technology I-9 2.5 EtherCAT Command Types All supported EtherCAT Command types are listed in Table 6. For R

Seite 40 - 5 Ethernet Physical Layer

DOCUMENT HISTORY Slave Controller – Technology I-III DOCUMENT HISTORY Version Comment 1.0 Initial release 1.1  Chapter Interrupts – AL Event R

Seite 41

EtherCAT Protocol I-10 Slave Controller – Technology Table 6: EtherCAT Command Types CMD Abbr. Name Description 0 NOP No Operation Slave ignores

Seite 42

EtherCAT Protocol Slave Controller – Technology I-11 Table 7: EtherCAT Command Details CMD High Addr. In High Addr. Out Low Addr. Address Match D

Seite 43 - Configuration

Frame Processing I-12 Slave Controller – Technology 3 Frame Processing The ET1100, ET1200, IP Core, and ESC20 slave controllers only support Dir

Seite 44

Frame Processing Slave Controller – Technology I-13 Auto close (manual open) The port is closed depending on the link state, i.e., if the link is

Seite 45

Frame Processing I-14 Slave Controller – Technology 3.2 Frame Processing Order The frame processing order of EtherCAT Slave Controllers depends

Seite 46

Frame Processing Slave Controller – Technology I-15 Example Port Configuration with Ports 0, 1, and 2 If there are only ports 0, 1, and 2, a fram

Seite 47 - PHY address

Frame Processing I-16 Slave Controller – Technology 3.5.1 Unconnected Port 0 Port 0 must not be left intentionally unconnected (slave hardware o

Seite 48

Physical Layer Common Features Slave Controller – Technology I-17 4 Physical Layer Common Features EtherCAT supports two types of Physical Layer

Seite 49 - Figure 9: Read access

Physical Layer Common Features I-18 Slave Controller – Technology 4.2 Selecting Standard/Enhanced Link Detection Some ESCs distinguish between s

Seite 50 - Ethernet PHY

Physical Layer Common Features Slave Controller – Technology I-19 4.3 FIFO Size Reduction The ESCs incorporate a receive FIFO (RX FIFO) for deco

Seite 51 - PE and Virtual Ground

DOCUMENT HISTORY I-IV Slave Controller – Technology Version Comment 1.5  EEPROM Read/Write/Reload example: corrected register addresses  Updated

Seite 52 - Figure 12: RJ45 Connector

Ethernet Physical Layer I-20 Slave Controller – Technology 5 Ethernet Physical Layer ESCs with Ethernet Physical Layer support use the MII inter

Seite 53

Ethernet Physical Layer Slave Controller – Technology I-21 5.3 MII Interface Refer to Section III for ESC specific MII information. If an ESC MI

Seite 54 - MAC (µC/FPGA)

Ethernet Physical Layer I-22 Slave Controller – Technology 5.4 RMII Interface Refer to Section III for ESC specific RMII information. If an ESC

Seite 55 - 6 EBUS/LVDS Physical Layer

Ethernet Physical Layer Slave Controller – Technology I-23 5.6.2 MI Link Detection and Configuration The EtherCAT IP Core supports link detectio

Seite 56

Ethernet Physical Layer I-24 Slave Controller – Technology 5.8 EtherCAT over Optical Links (FX) EtherCAT communication over optical links using

Seite 57

Ethernet Physical Layer Slave Controller – Technology I-25 5.8.3 ESCs with native FX support ESCs with native FX support have individual PHY res

Seite 58

Ethernet Physical Layer I-26 Slave Controller – Technology 5.10 MII Management Interface (MI) Most EtherCAT slave controllers with MII/RMII/RGMI

Seite 59 - 7 FMMU

Ethernet Physical Layer Slave Controller – Technology I-27 Table 15: PHY Address configuration matches PHY address settings Logical Port Configur

Seite 60 - Physical Address Space

Ethernet Physical Layer I-28 Slave Controller – Technology 5.10.2 Logical Interface The MI of the ESC is typically controlled by EtherCAT via th

Seite 61 - 8 SyncManager

Ethernet Physical Layer Slave Controller – Technology I-29 5.10.3 MI Protocol Each MI access begins with a Preamble of “Ones“(32 without preambl

Seite 62

DOCUMENT HISTORY Slave Controller – Technology I-V

Seite 63

Ethernet Physical Layer I-30 Slave Controller – Technology 5.11 MII management example schematic The MII management interface is a shared bus fo

Seite 64 - Channel

Ethernet Physical Layer Slave Controller – Technology I-31 5.12 Ethernet Termination and Grounding Recommendation This termination and grounding

Seite 65

Ethernet Physical Layer I-32 Slave Controller – Technology 5.13 Ethernet Connector (RJ45 / M12) Fast Ethernet (100BASE-TX) uses two pairs/four p

Seite 66 - Master µController

Ethernet Physical Layer Slave Controller – Technology I-33 5.14 Back-to-Back MII Connection 5.14.1 ESC to ESC Connection Two EtherCAT slave con

Seite 67 - 9 Distributed Clocks

Ethernet Physical Layer I-34 Slave Controller – Technology 5.14.2 ESC to Standard Ethernet MAC If an ESC is to be connected directly to a standa

Seite 68

EBUS/LVDS Physical Layer Slave Controller – Technology I-35 6 EBUS/LVDS Physical Layer EBUS is an EtherCAT Physical Layer designed to reduce com

Seite 69 - Drift compensation

EBUS/LVDS Physical Layer I-36 Slave Controller – Technology 6.2 EBUS Protocol Ethernet/EtherCAT frames are Manchester encoded (Biphase L) and en

Seite 70

EBUS/LVDS Physical Layer Slave Controller – Technology I-37 6.4 Standard EBUS Link Detection Standard EBUS link detection is realized by countin

Seite 71

EBUS/LVDS Physical Layer I-38 Slave Controller – Technology Link disconnection is signaled to the link partner by stopping transmission for a cer

Seite 72 - Distributed Clocks

FMMU Slave Controller – Technology I-39 7 FMMU Fieldbus Memory Management Units (FMMU) convert logical addresses into physical addresses by the

Seite 73

CONTENTS I-VI Slave Controller – Technology CONTENTS 1 EtherCAT Slave Controller Overview 1 1.1 EtherCAT Slave Controller Function Blocks 2 1.2

Seite 74

FMMU I-40 Slave Controller – Technology 0 7654321 0 7654321 0 7654321 076Byte 0x00010011Logical Start Address10 7654321 0 7654321 0 7654321 076

Seite 75

SyncManager Slave Controller – Technology I-41 8 SyncManager The memory of an ESC can be used for exchanging data between the EtherCAT master an

Seite 76 - Received System Time

SyncManager I-42 Slave Controller – Technology 8.1 Buffered Mode The buffered mode allows writing and reading data simultaneously without interf

Seite 77 - 0x0920:0x0927

SyncManager Slave Controller – Technology I-43 The Status register of the SyncManager reflects the current state. The last written buffer is indi

Seite 78

SyncManager I-44 Slave Controller – Technology The content of an EtherCAT mailbox header is shown in Figure 25. Figure 25: EtherCAT Mailbox Head

Seite 79

SyncManager Slave Controller – Technology I-45 8.5 Single Byte Buffer Length / Watchdog Trigger for Digital Output PDI If a SyncManager is confi

Seite 80

SyncManager I-46 Slave Controller – Technology Master µControllerSlave writes data into mailboxMaster sends mailbox read command Mailbox readSlav

Seite 81 - SyncSignals

Distributed Clocks Slave Controller – Technology I-47 9 Distributed Clocks The Distributed Clocks (DC) unit of EtherCAT slave controllers suppor

Seite 82

Distributed Clocks I-48 Slave Controller – Technology Propagation Delay The propagation delay between Reference Clock and slave clock has to be t

Seite 83

Distributed Clocks Slave Controller – Technology I-49 9.1.1 Clock Synchronization Process The clock synchronization process consists of three st

Seite 84

CONTENTS Slave Controller – Technology I-VII 5.8.2 Far-End-Fault (FEF) 24 5.8.3 ESCs with native FX support 25 5.8.4 ESCs without native FX

Seite 85

Distributed Clocks I-50 Slave Controller – Technology 9.1.2 Propagation Delay Measurement Since each slave introduces a small processing/forward

Seite 86

Distributed Clocks Slave Controller – Technology I-51 9.1.2.2 Propagation Delay Measurement Example The propagation delay between the local devi

Seite 87 - Time register of ESC 2

Distributed Clocks I-52 Slave Controller – Technology Slave DSlave FSlave ASlave ESlave CSlave BEtherCAT Processing UnitMasterEtherCAT Processing

Seite 88

Distributed Clocks Slave Controller – Technology I-53 Parameters used for propagation delay calculation are listed in Table 26: Table 26: Paramet

Seite 89

Distributed Clocks I-54 Slave Controller – Technology And for the other direction: tCB = ((tB1 – tB0) – (tC1 – tC0) – tDiff) / 2 Propagation de

Seite 90 - 10 EtherCAT State Machine

Distributed Clocks Slave Controller – Technology I-55 Summary of Propagation Delay Calculation between Slaves tAB = ((tA1 – tA0) – (tB2 – tB0)

Seite 91

Distributed Clocks I-56 Slave Controller – Technology 9.1.4 Resetting the Time Control Loop Before starting drift compensation, the internal fil

Seite 92 - 11 SII EEPROM

Distributed Clocks Slave Controller – Technology I-57 The System Time Difference Filter Depth register (0x0934) and the Speed Counter Filter Dept

Seite 93

Distributed Clocks I-58 Slave Controller – Technology 9.1.6 Reference between DC Registers/Functions and Clocks Table 30: Reference between DC R

Seite 94 - 0x8:0x9

Distributed Clocks Slave Controller – Technology I-59 9.1.7 When is Synchronization established? There are two possibilities to detect if DC syn

Seite 95

CONTENTS I-VIII Slave Controller – Technology 9.1.6 Reference between DC Registers/Functions and Clocks 58 9.1.7 When is Synchronization establis

Seite 96

Distributed Clocks I-60 Slave Controller – Technology 9.2 SyncSignals and LatchSignals ESCs with Distributed Clocks support generation of SyncS

Seite 97

Distributed Clocks Slave Controller – Technology I-61 9.2.3 SyncSignal Generation The DC Cyclic Unit / Sync Unit supports the generation of a ba

Seite 98 - EEPROM_SIZE

Distributed Clocks I-62 Slave Controller – Technology The registers used for SyncSignal Generation are shown in Table 33. Table 33: Registers for

Seite 99 - Table 44: I²C Write Access

Distributed Clocks Slave Controller – Technology I-63 9.2.3.5 SYNC1 Generation The second SyncSignal (SYNC1) depends on SYNC0, it can be generat

Seite 100 - EEPROM_DATA

Distributed Clocks I-64 Slave Controller – Technology 9.2.3.6 SyncSignal Initialization Example The SyncSignal generation is initialized with th

Seite 101

Distributed Clocks Slave Controller – Technology I-65 The registers used for LatchSignal event time stamping are shown in Table 34: Table 34: Reg

Seite 102 - 12 Interrupts

Distributed Clocks I-66 Slave Controller – Technology 9.3 System Time PDI Controlled Sometimes Distributed Clocks of different EtherCAT networks

Seite 103 - (0x0200:0x0201)

Distributed Clocks Slave Controller – Technology I-67 The second option uses a SyncSignal output of ESC 1 to trigger Latch0 at ESC 2 and an inter

Seite 104 - 13 Watchdogs

Distributed Clocks I-68 Slave Controller – Technology 9.4 Communication Timing Three communication modes are possible: 1. Free Run EtherCAT Com

Seite 105 - 14 Error Counters

Distributed Clocks Slave Controller – Technology I-69 Cycle Time Jitter Cycle Time Jitter is application-specific and depends on the jitter of th

Seite 106

CONTENTS Slave Controller – Technology I-IX 15.2 ERR LED 88 15.2.1 ERR LED override 88 15.3 STATE LED and STATE_RUN LED Signal 89 15.4 LIN

Seite 107 - 15 LED Signals (Indicators)

EtherCAT State Machine I-70 Slave Controller – Technology 10 EtherCAT State Machine The EtherCAT State machine (ESM) is responsible for the coor

Seite 108

EtherCAT State Machine Slave Controller – Technology I-71 10.1 EtherCAT State Machine Registers The state machine is controlled and monitored vi

Seite 109 - Table 56: LINKACT LED States

SII EEPROM I-72 Slave Controller – Technology 11 SII EEPROM EtherCAT slave controllers use a mandatory NVRAM (typically a serial EEPROM with I²C

Seite 110

SII EEPROM Slave Controller – Technology I-73 11.1 SII EEPROM Content The ESC Configuration Area (EEPROM word addresses 0 to 7) is automatically

Seite 111

SII EEPROM I-74 Slave Controller – Technology An excerpt of the SII EEPROM content following the ESC Configuration area is shown in Table 38. For

Seite 112

SII EEPROM Slave Controller – Technology I-75 11.2.1 SII EEPROM Errors The ESC retries reading the EEPROM after power-on or reset once if an err

Seite 113

SII EEPROM I-76 Slave Controller – Technology 11.2.1.1 Missing Acknowledge Missing acknowledges from the EEPROM chip are a common issue, especia

Seite 114 - 17 Additional Information

SII EEPROM Slave Controller – Technology I-77 11.2.3 Read/Write/Reload Example The following steps have to be performed for an SII EEPROM read o

Seite 115

SII EEPROM I-78 Slave Controller – Technology 11.3 SII EEPROM Electrical Interface (I2C) The SII EEPROM Interface is intended to be a point-to-p

Seite 116 - 18 Appendix

SII EEPROM Slave Controller – Technology I-79 11.3.3 I²C Access Protocol Each EEPROM access begins with a Start condition and ends with a Stop c

Kommentare zu diesen Handbüchern

Keine Kommentare