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

More
28 May 2025 09:30 #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
ethercat pdos -v

Please Log in or Create an account to join the conversation.

  • Soccer Kid
  • Soccer Kid's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
29 May 2025 09:27 #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.
The following user(s) said Thank You: endian

Please Log in or Create an account to join the conversation.

  • Soccer Kid
  • Soccer Kid's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
03 Jun 2025 07:06 - 03 Jun 2025 07:07 #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!
Attachments:
Last edit: 03 Jun 2025 07:07 by Soccer Kid.

Please Log in or Create an account to join the conversation.

Time to create page: 0.087 seconds
Powered by Kunena Forum