Slave EtherCat

Moderator: Benj

Post Reply
TaliG
Posts: 52
Joined: Fri Apr 07, 2017 1:55 am
Location: Greece
Has thanked: 16 times
Been thanked: 14 times
Contact:

Slave EtherCat

Post by TaliG »

Slave EtherCat component with microchip LAN9252 or other.
easyCAT module from AB&T has code examples for most if not all platforms.
maybe create a new "industrial comms module" that includes industrial comms?

George

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Slave EtherCat

Post by Benj »

Hi George,

Good suggestion thanks. I'll investigate for you, could be a nice one to add.

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Slave EtherCat

Post by Benj »

Hello,

I'm thinking of supporting this Arduino shield, would that work for you.
https://www.bausano.net/shop/en/home/1- ... ercat.html

I would also support the Easy Configurator software by allowing Flowcode to include the generated .bin and .h files.
https://www.bausano.net/en/hardware/eth ... sycat.html

You could then use an Arduino/Flowcode compatible board or you could use an Arduino Uno connected to Flowcode SCADA via the SCADA Slave component.

What do you think to this as a solution?

TaliG
Posts: 52
Joined: Fri Apr 07, 2017 1:55 am
Location: Greece
Has thanked: 16 times
Been thanked: 14 times
Contact:

Re: Slave EtherCat

Post by TaliG »

Hi Benj!

Thank you for investigating this.
I know this is kind of a big project..

Unfortunately I have never used an arduino before. I do not think I am going to use one in the near future either.
I am very comfortable with 8-16bit pics and currently study the STM32 platform.

This arduino shield in your post is also pin compatible with stm nucleo 64 boards, like stm32f401 nucleo 64 and others.

It would be awesome if your component could be used on all platforms, not only atmel-arduino.

George

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Slave EtherCat

Post by Benj »

Hi George,

I have made a component I'm now fairly happy with, it works with the Easy CAT shield but will work on any target microcontroller.

I've also been looking at open source master libraries that will run on a PC. Do you have a particular master controller in mind or is it speculation at the moment?

TaliG
Posts: 52
Joined: Fri Apr 07, 2017 1:55 am
Location: Greece
Has thanked: 16 times
Been thanked: 14 times
Contact:

Re: Slave EtherCat

Post by TaliG »

Hi Benj!

As a master I am using a raspberry pi running codesys.
This way I can be sure my project will be able to run on any commercial PLC that supports codesys.
I can build and debug my project without having to buy the target PLC and work on it.
Then when the automation hardware is in place it is a matter of a day or two to configure and transfer the code to the target PLC.

No need for a master component yet, since the above setup is a cheap and a universal solution readily available.

George

Post Reply