Page 1 of 1

RevPi + Codesys + EtherCAT

Posted: 14 May 2021, 11:58
by mirko.comparetti
Hello,
We are doing some tests in the following condition:
  1. RevPi Connect + RevPi Gate EtherCAT Slave
  2. RevPi Connect
Both RevPis are running CoDeSys runtime with RevolutionPiBridgeV1.1.0.0 and CODESYS Control for Raspberry Pi 4.0.1.0.

RevPi 1 has the RevPi Gate EtherCAT Slave on the left hand side and codesys has been configured as such.
RevPi 2 acts as an EtherCAT Master on eth1 and we imported the ESI file of the RevPi Gate EtherCAT Slave; the master port eth1 si connected to the RevPi Gate EtherCAT Slave upper port.

Code has been deployed on both devices and both of them are running fine with "all green".
What we noticed is the following situation
  1. RevPi 1 sets its output bits, those are NOT retrieved by RevPi 2
  2. RevPi 2 sets its output bits, those are retrieved by RevPi 2 in random positions (i.e. setting the very first bit, sets to true ALL the first bit of each of the 512 bytes)
Does anyone have any experience with that?

Re: RevPi + Codesys + EtherCAT

Posted: 20 May 2021, 14:28
by ->Johannes<-
Hi Mirko,

In order for us to make a statement, we need to create a test setup.
Therefore, I ask you for a little patience.

Best regards
Johannes

Re: RevPi + Codesys + EtherCAT

Posted: 31 May 2021, 13:32
by dirk
Dear mirko.comparetti, have a look at this article from our knowledge base:
EtherCAT Master with RevPi Codesys and Slave RevPi EtherCAT Gateway
You just have to register with your E-Mail address to access it.
The registration page is currently in German language only so here is a short animation how it works:

Re: RevPi + Codesys + EtherCAT

Posted: 03 Jun 2021, 12:13
by mirko.comparetti
Thank you all!
We will try it out and we will let you know our findings!