Help! 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.

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

Time to create page: 0.061 seconds
Powered by Kunena Forum