OpenEtherCATsociety / SOEM

Simple Open Source EtherCAT Master
Other
1.35k stars 685 forks source link

Can't receive slaves' input data #728

Open PerriAlessandro opened 1 year ago

PerriAlessandro commented 1 year ago

Hello, I have some Beckhoff slaves that have been configured using SSC tool. Each slave has a very big payload to be sent. Hence, I created a PDO with 13 arrays of 255 bytes each (0x6000). However, even if I'm able to program the slaves without any error, it seems that the slave doesn't send its data (I can't see any ethercat telegram with the correct size using Wireshark). Therefore, I also tried to split the payload into more PDOs (see Excel screenshot), to make so that a single PDO (5x255 bytes=1280 bytes) can eventually fit in a single ethercat telegram. However, I still keep receiving 0's as response and I don't know where to put my hands unfortunately. In SOEM I am of course expecting the values using ec_slave[].inputs pointer. Here are some useful screenshot and files: Excel configuration: image Slave Input Mapping implementation: image Printout of slaveinfo -sdo : slaveinfo_ecat_v2.txt

Thank you very much in advance!