Upload
others
View
7
Download
0
Embed Size (px)
Citation preview
V2.8 1
EC-Master EtherCAT Master
Quick Start Guide
V2.8 2
Content
• EtherCAT System Architecture
• EtherCAT Master Architecture
• EtherCAT Master Building Blocks
• Generate bus configuration with EC-Engineer
• Operate slaves with EC-STA EtherCAT Slave Test Application
• Connect EC-Engineer with EC-STA Application
• Next steps
V2.8 3
EtherCAT System Architecture
.xml
EtherCAT Network Information (ENI) File
EtherCAT Slave
Information (ESI) Files.xml.xml.xml
Real-Time Kernel/OS
EtherCAT Application
RAS Server (TCP)
RAS Client (TCP)
TCP/IP
Online Functions
V2.8 4
EtherCAT Master Core
EC-Master Architecture
EtherCAT Application
Operating SystemAdaptation
“ No full-blown OS required”
Optimized Real-Time Ethernet Driver with direct
HW access
EC Link Layer
Standard Ethernet MAC
Process Data Image
cycliccommands
XML Parser.XML
Process Data (PD) Image description
EtherCAT Network Information (ENI) File
Mailbox Services
req. resp.
acycliccommands
OS Layer
V2.8 5
EC-Master according to ETG.1500 Master Classes Directive
EC-Master: Building Blocks
Class A Core• Compare network configuration• Cyclic process data exchange• All mailbox protocols: CoE, SoE, EoE,
FoE, AoE, VoE• Slave to slave communication• Distributed Clocks with master
synchronization
Feature PackCable Redundancy
Feature PackHot Connect
Feature PackRemote Access
Feature PackSuperset ENI
Feature PackMaster Obj. Dict.
Class B Core• Compare network configuration• Cyclic process data exchange• Mailbox protocol CoE• Mailbox protocol SoE• Mailbox protocol EoE• Slave to slave communication
Feature PackEoE Endpoint
V2.8 6
EC-Engineer: Overview
• One single tool for EtherCAT configuration and diagnosis
• Perfect supplement to EC-Master
• Import of EtherCAT Slave Information (ESI) files
• Export of EtherCAT Network Information (ENI) file
• Register here to get a free evaluation version:http://www.acontis.com/eng/products/downloads/index.php
V2.8 7
EC-Engineer Operating Modes
Offline Configuration:(In the Office)
Online Configuration:Slaves connected toEngineering System
Remote Configuration:Slaves connected toTarget System
Remote Diagnosis:Slaves connected toTarget System
V2.8 8
Generate bus configuration with EC-EngineerStep 1: Connect EtherCAT Slaves
• EC-Engineer comes with an integrated EtherCAT master for scanning the connected EtherCAT slaves
• Every Ethernet Network Interface with an valid Windows driver can be used
• A second, dedicated Network Interface for EtherCAT is recommend
• Warning: Do not connect any EtherCAT slaves to your Office LAN
Office LAN
V2.8 9
Generate bus configuration with EC-EngineerStep 2: Install and start EC-Engineer
V2.8 10
Generate bus configuration with EC-EngineerStep 3: Select “Online Configuration” and “EtherCAT Master Unit (Class A)”
V2.8 11
Generate bus configuration with EC-EngineerStep 4: Choose network adapter from list and press “Select”
V2.8 12
Generate bus configuration with EC-EngineerStep 5: The found slave devices are listed in the tree
V2.8 13
Generate bus configuration with EC-EngineerStep 6: Export ENI file
V2.8 14
Generate bus configuration with EC-EngineerStep 7: Switch to “Diagnosis Mode” and set state to OPERATIONAL
V2.8 15
Generate bus configuration with EC-EngineerStep 8: Bus is OPERATIONAL
V2.8 16
Generate bus configuration with EC-EngineerStep 9: Switch back to “Configuration Mode” and Exit
V2.8 17
Operate slaves with EC-STA Slave Test ApplicationStep 1: Start EC-STA and setup configuration
1
3
2
V2.8 18
Operate slaves with EC-STA Slave Test ApplicationStep 2: Initialize and set master state to operational
2
1
V2.8 19
Operate slaves with EC-STA Slave Test ApplicationStep 3: Do further tests, e. g., flashing outputs
1
2
V2.8 20
Connect EC-Engineer with EC-STA ApplicationStep 1: Start EC-Engineer and select “Remote Diagnosis”
1
V2.8 21
Connect EC-Engineer with EC-STA ApplicationStep 2: Choose “Slaves connected to remote system”
V2.8 22
Connect EC-Engineer with EC-STA ApplicationStep 3: Check input or output variables
V2.8 23
Next Steps
• Run EcMasterDemo on your target system EC-Master User Manual Chapter 3 “Software Integration”
• Learn more about EcMasterDemo and the application framework EC-Master User Manual Chapter 3.3 “Application Framework”