Closed jamescarter-le closed 6 years ago
Export the DAVE project and send it to support[at]rt-labs.com
No EtherCAT Explorer don’t work in parallel with TwinCAT
Hi @nakarlsson,
Thanks for your response, I've sent over the soes and my test project to your email.
It is understandable that TwinCAT and EtherCAT Explorer would conflict on the same network adapter, not a problem, I should try and find another network adapter for testing as the other network adapter is carrying these packets.
I would be interested in hearing what your findings are, perhaps XMCLib has changed since that PDF was written?
@jamescarter-le , OK to close this?
Yes thank you very much for your assistance.
On Wed, Oct 31, 2018 at 6:57 AM nakarlsson notifications@github.com wrote:
@jamescarter-le https://github.com/jamescarter-le , OK to close this?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/OpenEtherCATsociety/SOEM/issues/219#issuecomment-434581273, or mute the thread https://github.com/notifications/unsubscribe-auth/ABkUrHZt0UwEe9X8sgbHPY88PMKjSt61ks5uqUnigaJpZM4X7Ro- .
-- Kind Regards, James Carter
CTO Love Electronics Ltd email: james@loveelectronics.co.uk uk: +44 161 408 0406 mobile: 0771 215 5831
endian issue due to missing LITTLE_ENDIAN define
I am using the instructions in this PDF: https://rt-labs.se/content/uploads/EtherCAT_SDK_DAVE.pdf
To get up and running with a very simple Slave based on the XMC4300. I originally constructed this in Rowley Crossworks, however it did not work so I followed the instructions in the document using their DAVE IDE.
In both cases (My Crossworks application, and the copied to the letter DAVE application) the device does appear to start the ESC, and TwinCAT is reporting frames (The RT Lab EtherCat explorer didnt work, maybe it doesnt like sharing the network adapter with the Twincat driver attached? It just says Frame lost).
TwinCAT3 is reporting approx 500 frames/sec, with zero Lost Frames, it does recognise there is a Box, and has addressed it 1001, however it does not seem to read the EEPROM as it has no name, and no Object Dictionary returned.
I do get an error in TwinCat of Severity 'Box 1 ()' (1001): abnormal state change (from 'INIT' to 'Invalid (0)'). Go to 'INIT' and try to go back to 'PREOP'... But I think regardless I should have gotten details about the same of the Box and the dictionary?
Checking the XMC4300 emulated EEPROM, it does have the appropriate data set in the relevant memory sections.
I would appreciate a couple of pointers from someone who has used an XMC4300 Relax kit to get started with SOES.