- Configuring LinuxCNC
- Advanced Configuration
- EtherCAT
- resolved-- Regarding the data reading offset issue of the ether cat IO module
resolved-- Regarding the data reading offset issue of the ether cat IO module
- endian
-
- Offline
- Elite Member
-
Less
More
- Posts: 217
- Thank you received: 63
28 May 2025 09:30 #329304
by endian
but defenetely you can not let 32bit lenght for halType="bit" I think ...
Replied by endian on topic Help! Regarding the data reading offset issue of the ether cat IO module
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 youWhen 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?
but defenetely you can not let 32bit lenght for halType="bit" I think ...
Check actual config over, then you will can read active configuration from online slaves... then just copy paste<pdoEntry idx="6000" subIdx="01" bitLen="32" halPin="bit-in" halType="bit"/>
ethercat pdos -v
Please Log in or Create an account to join the conversation.
- Soccer Kid
-
Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 34
- Thank you received: 5
29 May 2025 09:27 #329357
by Soccer Kid
Replied by Soccer Kid on topic Help! Regarding the data reading offset issue of the ether cat IO module
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
-
Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 34
- Thank you received: 5
03 Jun 2025 07:06 - 03 Jun 2025 07:07 #329587
by Soccer Kid
Replied by Soccer Kid on topic Help! Regarding the data reading offset issue of the ether cat IO module
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!
Last edit: 03 Jun 2025 07:07 by Soccer Kid.
Please Log in or Create an account to join the conversation.
- Configuring LinuxCNC
- Advanced Configuration
- EtherCAT
- resolved-- Regarding the data reading offset issue of the ether cat IO module
Time to create page: 0.087 seconds