Hi, I was following this tutorial and when I click the "Run" button, an error appers. It says: Expected working order= 3, actual working order =2. How do I fix this? The Arduino board is powered and the shield is blinking. Could the reason be that I am using external RJ-45 to USB-C adapter on my laptop?
If the Ethernet Shield is based on the Wiznet W5500 or the Wiznet W5100 should be possible. We never tested it with the Wiznet W5100, but it should work because it is the predecessor of the Wiznet W5500.
@@Time4yes No, You must connect them directly port to port, as indicated in the EtherCAT rules, the Master could have only one port, but the slave must have two ports (IN and OUT).
The Easy Master is an Arduino library that implements a very basic EtherCAT master. You can use it for simple I/O, it does not implement CoE, so I think it is not suitable for use with Servo Drives and motors.
hi,I am using EasyCAT Shield and STM32G474RE for some test. I have some problem. 1.What ESI did you use for this video? 2.I use EasyCAT lib on mbed os 6.16 but it's not working,and I directly import your sample code it's working. Do you know what's the problem? Thanks!
Hello, regarding the point 1 is the standard ESI file that You can find in the EasyCAT Shield web page, regarding the point 2 I don't know, may be an incompatibility between the two versions of Mbed or may be a different management of the SPI of Your Nucleo board.
>To meet the request of many Customers who ask for a simple software tool to test the applications made with our EasyCAT boards, we have developed the Easy Navigator. I was always running twincat (which is really heavy) to do that, nice to see a portable, simple and light solution !
Nice to see that you are still improving EasyCat and the configurator. We are building a few projects with your arduino/raspberry hats with students, i will have them take a look at it ;)
Can't wait to recieve the ethercat hat (for arduino and raspberry) and try them with our students, we even have a few braccio and beckhoff motors to teach them.
@UC8XS_ywvHG8eUIFX-RPNMmQ Yes, Your assumption is correct, the Microchip LAN9252 is a "commercial closed chip" that make the EtherCAT protocol and through the SPI Your Microcontroller simply reads and writes the data. In our boards there isn't a firmware. I can give You the schematics if You want and, for more detailed documentations, download the Microchip LAN9252 datasheet from the Microchip website.
Hello, How is it possible to have an Arduino Ethercat Master with only one cable? To my knowledge every slave/master should have two Ethernet wires, so how is it possible to work with only one cable?
Hello Ilias, are only the slaves that need two ports, for the Master is not necessary because is always the first in the chain. There are rarely case where You need a "closed loop chain" to have a double connection to manage the possible breakage of one of the cables or the switch off of one of the slaves, but are very rarely cases, normally there is only one port in the Master.
@@bausanonet Oh yes I made a mistake thanks for pointing that out! I also have a question, I can see that EasyCat boards do not have a signal Transformer for Isolation in the RJ45 ports (although I think that the IC that you use withstands ESD). Can it be used in industrial applications, even without the isolation?
Question... why if i upload sketch from example folder's in EasyMaster Library always error...please help me .... Arduino: 1.8.4 Hourly Build 2017/08/01 12:33 (Windows 7), Board: "Arduino Due (Programming Port)" In file included from C:\Users\toshiba\Documents\Arduino\libraries\EasyMASTER\Strutture.h:5:0, from C:\Users\toshiba\Documents\Arduino\libraries\EasyMASTER\AxesBrainEcDevice.cpp:6: C:\Users\toshiba\Documents\Arduino\libraries\EasyMASTER\fifo.h: In member function 'int CFiFoListDyn<VALUE>::GetNextEntry(VALUE&, void*&)': C:\Users\toshiba\Documents\Arduino\libraries\EasyMASTER\fifo.h:293:17: error: lvalue required as decrement operand ((long)pVoid)--; ^ In file included from C:\Users\toshiba\Documents\Arduino\libraries\EasyMASTER\AxesBrainEcDevice.cpp:8:0: C:\Users\toshiba\Documents\Arduino\libraries\EasyMASTER\AxesBrainEcDevice.h: At global scope: C:\Users\toshiba\Documents\Arduino\libraries\EasyMASTER\AxesBrainEcDevice.h:97:9: warning: converting to non-pointer type 'unsigned int' from NULL [-Wconversion-null] ); ^ In file included from C:\Users\toshiba\Documents\Arduino\libraries\EasyMASTER\AxesBrainEcDevice.cpp:8:0: C:\Users\toshiba\Documents\Arduino\libraries\EasyMASTER\AxesBrainEcDevice.h:173:7: warning: converting to non-pointer type 'unsigned int' from NULL [-Wconversion-null] ); ^ exit status 1 Error compiling for board Arduino Due (Programming Port). This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.
If you have worked with Hischer let me know as well. I had a talk with them and I have noted that their price is too high for evaluation. They are asking a time support cost for custom development and that too it will work for 2 hours in the Evaluation board. I am talking about the netX 90. So I have chosen EasyCAT as my best choice and ordered the the EasyCAT boards along with the test kit.
Great tool! Unfortunately when launching EtherCAT Configurator "Evaluate" button is grayed out and I couldn't find any licence key in the Readme. I downloaded all necessary sofware here: www.bausano.net/it/hardware/arduino-ethercat/arduino-easycat.html Any advice? Thanks!
Hello Marek, we don’t have an already done example, but You can try to start from this example github.com/smarmengol/Modbus-Master-Slave-for-Arduino and with the examples of the library of the EasyCAT that You can download from our website, You can try to merge them and create Your application.
Hello, yes You can buy the EasyCAT shield directly from our online shop: www.bausano.net/shop/en/ and yes is compatible with Codesys like you can see from others videos on our RU-vid channel.
please can you send me the codesys projekt i want to test all the devices to understand hiw it work . principely i have Program in c language the temperature sensor ds18b20 under nucleo stm32 and i will to build a ethercat communication to read the Temperatur with codesys and to display the temperatur on the plc i use easycat shield from you company and the communication will be with raspberry as ethercat master and the nucleo stm32 as ethercat slave . can you please help me and send me the tota projekt from builded from you in this Video . thank you very much . i have other question the c programm that i written for the ds18b20 under stm32 must integrat it under codesys or schould i only make a variable on codesys who's read only the specified data pin from nucleo where is the sensor are attached. thanks walid.gaaloul76@gmail.com
Hello Walid, You can use EtherCAT Explorer as simply free Master for Windows, just to read and write data from the EasyCAT, or other slaves. You can find an example for a STM32 Nucleo and EasyCAT here: os.mbed.com/search/repository?q=easycat
if you can send me easycat driver that i have to download to codesys and the step i have to do to wotk easycat with ek1100 beckhoff in ethercat configuration is working very good the easy32 and ek1100 i think i miss something in codesys becuse that wtire the bus not run in ethercat
if you can send me easycat driver that i have to download to codesys and the step i have to do to wotk easycat with ek1100 beckhoff in ethercat configuration is working very good the easy32 and ek1100 i think i miss something in codesys becuse that wtire the bus not run in ethercat
Nice video and nice product. In this video who is the ethercat master? It's possible to make codesys on the pc as master (of some type of protocol EtherNet based or not) or you need always a plc master? Thank you
bausanonet other question with the easycat shield must i other ethercat driver from beckhoff or other software or hardware from beckhoff must be coupled?
Hi, Can I connect multiple spi device on easycat ? I want to communicate with 3 spi device throught easycat. Master is raspberrypi with codesys. İt is possible?
Good morning Yusuf, probably you made a little confusion, the EasyCAT is not a standalone board, you need a microcontroller like Arduino or Raspberry or others. The SPI channel is used to communicate to the microcontroller not with other device. In few words the EasyCAT is at the same level of your sensors. Thus, you need a microcontroller (Arduino for example) to connect all the devices together via SPI, the EasyCAT Shield and HAT have the possibility to change the Chip Select. The EasyCAT manages only the EtherCAT communication, not the application, is a slave in the SPI communication, is not the Master.
Hello, I'm following your tutorial but I'm having a problem when I scan boxes, the following message appears: "New device type found (EasyCat++ - 'EasyCat++') VendorId 0xcea ProductCode 0x1 RevisionNo 0x10000. Use available online description instead YES/NO" If I click yes a box is created but not with the same structure as in the video, I have two Input mappings, each one with four Digital Inputs, and an output mapping with 8 SubIndex and four Analog outputs. When I see the state of the variables, all stay at 0, even if I apply 5V in any input port. I was wondering if it is the xml file that I put in the EtherCAT folder, do I need to do something else? If I try to import a box, I can not use a xml file, I have to use a TwinCAT System Manager Export File type. Have you ever had this issue? Do you have a solution? Thank you
I am using only the EasyCAT on the bus. I used the xml that I found in your website, I already tried to remove it and use the online description but I have the same problem. I wonder if there is a problem in my shield and I need to reconfigure the EEPROM memory. I downloaded the tool to program the EEPROM from your website. I used the binary file EasyCAT_V_1_0.bin. Now the message is: "New device type found (EasyCat 32+32 - 'Generic 32 + 32 bytes ') VendorId 0x79a ProductCode 0xdefede RevisionNo 0x5a00. Use available online description instead. Using the online description works, now I have the box with outputs and inputs with bytes from 0 to 31. The issue now, is with Arduino, in the Serial Terminal, I can see that Arduino cannot initialize the shield (before reprogramming the EEPROM it worked well). What could be the reason?
Try to download from our website the new library (and example) and reprogram the Arduino board, check also that the jumper of the CS selection is on 9, that is the default for all the examples in the library.
do you need ethercat slave to operate stuff? can you do it through pc that is directly connected ethercat components? I assume ethercat master operates everything and ethercat slave just sends data to master which processes digital inputs from arduino - actually in this case master sends data to arduino?
EtherCAT is always bidirectional. In this video we read and write datas from one slave to another, the Master in this case simply exchange datas between the various slaves, but all the slaves send and receive datas.
The EpoCAT FR1000 is not controlled by Arduino, but is a standalone slave on the EtherCAT bus. Send us an email to info@bausano.net and I send You the XML EtherCAT Description File for Codesys. In this video Codesys (on Raspberry) is the EtherCAT Master and send "a frequency value" to the EpoCAT FR1000 that generates it and move the stepper motors. You can see the EpoCAT FR1000 like a train pulse generator, the frequency value is calculated by the Master.
how about connect in linuxcnc/machinekit? monitor - rasp pi3 - arduino+ether shield - servo/stepper,,then how to connect home,limit,stop etc thank for answer
Question. Are you able to say have a laptop server as a Master, with a single NIC interface with both etherCAT and Modbus/TCP devices using a switch? Are you able to debug etherCAT w/ wireshark using a managed switch with port sniffing features?
About the first question: I never tried a similar configuration, so I can't give you a secure answer. I think should be possible.About the second question: we have used Wireshark with a standard switch to debug the EtherCAT protocol, sure it's possible, it's not easy analyze the trace...