I am using the RevPi Core 3 together with an EtherCAT Gateway and first of all, great product! but I have two questions:
1) My setup configuration is the following:
* I have an EtherCAT master (PLC) working with a cycle of 1ms;
* The KUNBUS EtherCAT gateway (it reports V0.0) is connected as a slave to the master;
* I have a counter in the main program (PLC-Program) and its value is updated every 1ms;
* I mapped this variable to the KUNBUS Gateway;
I read and also checked in the
Code: Select all
piControl/project.h
Is the EtherCAT Gateway the problem? Is there any possibility to modify this? I really need the 1ms. Using another EtherCAT hardware based also on the RPi works. But I really want to use your hardware!
2) The EtherCAT gateway allows 512 bytes. I need DINT (4 bytes) variables. I usually modify the XML config file to concatenate 4 bytes together in the PDO description (Rx / Tx), e.g. the file that I downloaded from your site has a PDO configuration of 32 bytes, I modified it and reduced it to 8 DINTs (I changed the BitLen and the DataType parameters and reduced the number of variables). I use EtherCAT configurator to check that it is correct. It usually works fine, I tested the same procedure with more than one slave. But in this case, I was not able to get the KUNBUS ECS in OP. I got the usually SAFE-OP or BUS-Error states. I read here viewtopic.php?f=3&t=613 that it should be possible. Do you have an XML file with dwords variables? It is almost possible that I am making some mistakes here. Thanks in advance!
Best regards!