-
Notifications
You must be signed in to change notification settings - Fork 7
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
More than SM2/3 #28
Comments
Line 1243 in 0b01248
I think this is the problematic line. Commenting out the line solves the problem. I don't understand what this line is supposed to do. |
The intention to this was, that with CoE usually 0x1C12 maps outputs via SM2 and 0x1C13 maps inputs via SM3. You're right, the 32-bit value represents control, status, enable and type. Maybe we should split this for better readability. 0x10064 means: 0x10020 means: I don't have a EL2912 (maybe i should order one). According to the ESI-XML it uses the following config:
So additionally there are also more FMMUs used. Can you tell me how the mapping should be generated here? |
in addition to the usual Rx/Tx PDO mapping assignment indices (0x1C12,0x1C13) they use further mapping assignments:
So there's more work to do to generate mapping over these indices, programm additional FMMUs and SMs. |
Also we need to evaluate 0x1C00 to determine the type (mailbox, read, write) of every sync manager. Then we could also replace the hardcoded settings values from above (0x10064...) |
Ah, I see. I was confused about the byte order of the u32. So yes, splitting it up would make it easier to read. |
Hi Robert,
I play with a EL2912 which has more than multiple SyncManagers for Inputs and Outpus.
I adapted this to check all SMs
libethercat/src/coe.c
Line 1132 in 0b01248
But I get an error. Any ideas?
The text was updated successfully, but these errors were encountered: