TwinCAT Run Configuration XMC4800

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Not applicable
Hi,

I followed the example of Infineon on how to setup the XMC4800 as a EtherCAT Slave.
In TwinCAT I configured one special CPU just for TwinCAT to make the application Realtime-capable.
In the Config Mode of TwinCAT everything is running nicely, but when I try to activate the Run Mode the Slave cannot be set to OP. Instead it is in PREOP.
How do I need to configure TwinCAT to make the simple example work in Run Mode?

Thanks in advance,
Lukas
0 Likes
1 Reply
MichaelIFX
Employee
Employee
50 replies posted 25 replies posted 10 replies posted
Hi Lukas,
can you be a little more specific what you mean by,
"In TwinCAT I configured one special CPU just for TwinCAT to make the application Realtime-capable"
What kind of modifications did you apply to the original example we provide?

With our original example there is no problem and if you follow the step by step description on setup and test, we canot see any reason why you should fail.
If this is not the case for you, please describe where you fail in detail.

One hint I have, is a typical pitfall: Please erase the complete flash before you download your new firmware to also erase the FLASH-area used for EEPROM.
Otherwise the EEPROM Content might by outdated/corrupted and your application fails.

Kind Regards

Michael
0 Likes