resolved-- Regarding the data reading offset issue of the ether cat IO module

More
1 year 5 months ago #329304 by endian

When I was testing this signal input, I found that when I turned on LED0, the corresponding IO PIN was lit up at pin number 16. Similarly, the output position was also the same. In summary, the data I currently receive has been shifted by 16 bits. Additionally, I have attached my XML and the test results from Beckhoff (they are all OK). Could someone kind-hearted please tell me why?
 
Can you share whole config to better understanding please? I am interested in the two masters from your configuration ... how and if it is working? thank you

but defenetely you can not let 32bit lenght for halType="bit" I think ... 

<pdoEntry idx="6000" subIdx="01" bitLen="32" halPin="bit-in" halType="bit"/>

Check actual config over, then you will can read active configuration from online slaves... then just copy paste
Code:
ethercat pdos -v

Please Log in to join the conversation.

More
1 year 5 months ago #329357 by Soccer Kid
Currently, my configuration is rather messy. I will choose to upload it after I have some time to tidy it up later. The current problem has been largely identified. By analyzing the PDO data from different platforms, I identified some subtle differences. I then reported the bugs to the manufacturer and waited for them to provide a new firmware. Once the new firmware is ready, I will post the detailed differences here.

Please Log in to join the conversation.

More
1 year 4 months ago #329587 by Soccer Kid
Dear friends, hello everyone. Regarding this issue, due to the busy work, it has been a week since then. Currently, we have basically understood the problem. I extracted two different Ethercat master station data from Wireshark and conducted a comparative analysis. From it, we can see that the entries of the PDO have a slight difference in the arrangement order. The main difference is reflected in the two special status words, namely " {0xf200, 0x01, 16}," and  {0xf100, 0x01, 16}. We are currently in contact with the manufacturer to confirm these two PDO entries. These two entries are used for a special design. Additionally, there is a problem with the parsing data of the data sent from IGH to PDO by the IO module!

Please Log in to join the conversation.

Time to create page: 0.031 seconds
Powered by Kunena Forum