Top Banner
EtherCAT SOES slave demo K60 Tower with IXXAT EtherCAT board Sođware example
8

EtherCAT SOES slave demo - K60 Tower with IXXAT EtherCAT boarddownload.rt-labs.com/slavedemo/soes_howto.pdf · File Edit Source Refactor Navigate Search Project Explorer SlaveDemo

Mar 21, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: EtherCAT SOES slave demo - K60 Tower with IXXAT EtherCAT boarddownload.rt-labs.com/slavedemo/soes_howto.pdf · File Edit Source Refactor Navigate Search Project Explorer SlaveDemo

EtherCAT SOES slave demoK60 Tower with IXXAT EtherCAT board

So ware example

Page 2: EtherCAT SOES slave demo - K60 Tower with IXXAT EtherCAT boarddownload.rt-labs.com/slavedemo/soes_howto.pdf · File Edit Source Refactor Navigate Search Project Explorer SlaveDemo

Download the so ware project

I Goto http://ethercat.rt-labs.com/downloadI Choose a project suitable to your hardwareI For example SlaveDemo_TWRK60F512.zipI For this example project we are using Kine s Design Studio which

can be downloaded from http://www.freescale.com

Page 3: EtherCAT SOES slave demo - K60 Tower with IXXAT EtherCAT boarddownload.rt-labs.com/slavedemo/soes_howto.pdf · File Edit Source Refactor Navigate Search Project Explorer SlaveDemo

Start KDS and import the project

Page 4: EtherCAT SOES slave demo - K60 Tower with IXXAT EtherCAT boarddownload.rt-labs.com/slavedemo/soes_howto.pdf · File Edit Source Refactor Navigate Search Project Explorer SlaveDemo

Project files

The project structure contains boththe slave source code, hardwarefunc ons as well as the EEPROMand ESI file belonging to the slave.

Page 5: EtherCAT SOES slave demo - K60 Tower with IXXAT EtherCAT boarddownload.rt-labs.com/slavedemo/soes_howto.pdf · File Edit Source Refactor Navigate Search Project Explorer SlaveDemo

Build the so ware

The project does already contain aprebuild ELF file, but it can berebuilt the following way.

Page 6: EtherCAT SOES slave demo - K60 Tower with IXXAT EtherCAT boarddownload.rt-labs.com/slavedemo/soes_howto.pdf · File Edit Source Refactor Navigate Search Project Explorer SlaveDemo

Download the so ware to the target (1/2)

In this example we are using a J-linkdebugger but any suitabledebugger will do.

Page 7: EtherCAT SOES slave demo - K60 Tower with IXXAT EtherCAT boarddownload.rt-labs.com/slavedemo/soes_howto.pdf · File Edit Source Refactor Navigate Search Project Explorer SlaveDemo

Download the so ware to the target (2/2)

Page 8: EtherCAT SOES slave demo - K60 Tower with IXXAT EtherCAT boarddownload.rt-labs.com/slavedemo/soes_howto.pdf · File Edit Source Refactor Navigate Search Project Explorer SlaveDemo

Write the EEPROM to the slave and you're up andrunning!

I Use for example TwinCAT 2I https://www.beckhoff.com/tcatweb/