-
Notifications
You must be signed in to change notification settings - Fork 687
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid Input Configuration #863
Comments
Can you show the output of slaveinfo -map? |
Yeash, thanks for that. But please add "-map" behind your slaveinfo.exe. Then it shows exactly where and how the mapping configuration was done. |
SOEM (Simple Open EtherCAT Master) Slave:1 |
Thanks again for the information. The issue is clear. In the XML file you supplied there are padding objects that will align byte and word size objects to a byte boundary. These objects are absent in the CoE mapping structure. An example from the above mapping list:
At byte 0x0036 there are two bit sized objects, that occupy bits 0 and 1. Then object 0x7016:00 follows with bit size 0x10 (2 bytes). This object is then located at 0x0036 bit 2 and further. This is obviously wrong, as that object should start at 0x0037.0 (at a byte boundary). In the XML file there is a padding object 0x0000:00 with size 6 bits between object 0x700A:03 and 0x7016:00. When we add all the padding the output and input size is the same as in the TwinCAT case. So this is a bug in the firmware of the slave. The CoE mapping objects should have padding objects inserted at the right places. You should ask for a bug fix and update the firmware of the slave in question. As an alternative stop-gap you can make a PO2SO hook function that overwrites the SM and FMMU sizes. SOEM will then do the correct thing, but for the wrong reasons. |
Ok thank you very much! |
want to a configure an Anedo S30e
always when I configure it, it says there is an input missmatch
In Twincat the slave has 85 outputs and 143 inputs.
SOEM says it has Ibytes: 123, Obytes: 83
I'm not sure how to configure my slave correct.
So I get a missmatch.
This is my code snippet:
open_io_S30e.txt
The text was updated successfully, but these errors were encountered: