Questions tagged [ethercat]

EtherCAT - Ethernet for Control Automation Technology - is an open high performance Ethernet-based fieldbus system.

EtherCAT - Ethernet for Control Automation Technology - is an open high performance Ethernet-based fieldbus system. The development goal of EtherCAT was to apply Ethernet to automation applications which require short data update times (also called cycle times) with low communication jitter (for synchronization purposes) and low hardware costs.

From http://en.wikipedia.org/wiki/EtherCAT

59 questions
1
vote
1 answer

How do I know if the SPI is correctly working, if I can only check on the master's board?

I have an STM32F429ZI Nucleo board (for SPI master and UART to check everything's working alright) and an EVB-LAN9252-SPI board(for SPI slave). I have to check if the SPI is correctly working, but it seems that I can't debug or check on the slave's…
Junseok Oh
  • 11
  • 3
1
vote
0 answers

Twincat, how to virtualise Ethercat between two hyper V pc

I have created 2 Hyper V machine running windows 11 and Twincat .29, i have then created a NIC on both the virtual PC´s. to run Ethercat, and installed beckohff RT driver on it. All that works. The NIC dont have any connection to the hardware NIC,…
1
vote
1 answer

ESI for an EtherCAT slave works in Config mode but not in Run mode

I am working on a chip which is supposed to be functional as a slave for a PLC (master) through an EtherCAT connection. The chip includes an Atmega2560 and a LAN9252, which is the EtherCAT slave controller. I have written the xml ESI file. By…
Komorebi
  • 21
  • 8
1
vote
0 answers

Why does the Ethercat device stays in PREOP and does not go to OP mode, when CoE (CAN over Ethernet) is implemented on it?

I am working on a chip which is supposed to be functional as a slave for a PLC (master) through an EtherCAT connection. The chip includes an Atmega2560 and a LAN9252, which ist he EtherCAT slave. On first step in my project, I wrote the ESI file for…
Komorebi
  • 21
  • 8
1
vote
0 answers

Ethercat lan9255 hanging after flashing hex with ethercat slave stack

I have a custom hardware using LAN9255. I used to website to perform all installations and configurations https://github.com/Microchip-MPLAB-Harmony/ethercat/wiki/create-your-first-ethercat-application Since i am not able to browse it on twincat so…
1
vote
0 answers

Controlling the servo motor on SOEM(ethercat stack)

I am learning to control things now. :) I am using SOEM, ethercat stack for the same. PC is my master and servo motor would be my slave. I have learnt couple of things there but stuck at moving the servo motor. I made sure that the data is sent from…
Hemant Bhargava
  • 3,251
  • 4
  • 24
  • 45
1
vote
2 answers

TwinCAT CoE: Write to SDO

I'm pretty new to the EtherCAT/CANopen universe and trying to implement a custom slave. The slave is passing conformance test so far and want to write to one of my Slave Data Objects, the slave is attached to a CX5120, which is found by the XAE and…
DK999
  • 33
  • 1
  • 7
1
vote
2 answers

TwinCAT 3 or IntervalZero

I intend to test EtherCAT communication for a new board (assume the name is XYZ). So I plan to make XYZ as the Slave and connect to a master. To make life easier for me, I decided to go with TwinCAT 3 or RTX64 as the Master on my own PC (with…
raghu rajappa
  • 81
  • 1
  • 11
1
vote
0 answers

Using ethtool from a linux user application to change network settings

I'm developing an EtherCAT Master application on Xubuntu with the RT_PREEMPT patch so I can have real-time performance with EtherCAT communications. I've found that some NIC's have the rx-usecs 'Coalesce parameter' set to a non-0 value by default.…
Jeff
  • 11
  • 2
1
vote
2 answers

Controlling servo drive/motor with iPad

I am new to the field of automation, hence the 'beginner' question: The goal is to control two servo motors via an iPad app. I thought of using either a Panasonic or Beckhoff driver, the Panasonic being a bit cheaper but the Beckhoff probably has…
user3603948
  • 153
  • 3
  • 12
1
vote
4 answers

How does EtherCAT support different network topologies?

How does EtherCAT support different network topologies? Assume a pure EtherCAT network without any standard ethernet switches, hubs, etc... to complicate things, and with one master and multiple slaves. Some sources describe it as only supporting…
Andrew Wagner
  • 22,677
  • 21
  • 86
  • 100
0
votes
0 answers

Access Linux ethercat CoE interface as a normal (not sudo) user

I need to read/write the ethercat CoE interface as a normal (not sudo) user. Is there a command to do this at Linux? Or perhaps a systemd configuration that would work just like how udev rules work for making USB devices accessible for read/write…
Maj
  • 41
  • 2
0
votes
1 answer

How to communicate with qt c++ and Plc programming twincat beckhoff

I'm running beckhoff Ep 2809-0022 I/O in plc .how I will communicate with plc an qt c++ in UDP socket communication particular I want to show in UI in qt environment I'm running beckhoff Ep 2809-0022 I/O in c++
0
votes
0 answers

EtherCAT IgH driver installation failed, Raspberry Pi 3

I'm trying to compile and install the EtherCAT driver on linux. The realtime kernel is 4.14.91-rt49-v7+ this realtime kernel is on RPi 3 (processor 2837)locally compiled and successfully replaced. Then I used the IgH EtherCAT version stable-1.5 to…
0
votes
0 answers

EtherCAT CoE acyclic data transmission triggered by internal event implementation

I am totally new to EtherCAT. I have Microchip LAN9255 based EtherCAT slave device and TwinCAT3 software tool as EtherCAT master. Some configuration data are required to send from EtherCAT master (TwinCAT3 master) to LAN9255 EtherCAT slave. This…
Ravi
  • 1
  • 1