Input/Output mapping in XMC4800 EtherCAT APP SSC Slave Example

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

cross mob
User18865
Level 1
Level 1
First solution authored
Hello,

I'm trying to understand how to correctly assign input and output mapping as shown in the example code.
However, I don't quite understand why it subtracted 2 from SIZEOF(IN_GENERIC0x6000).

Any advice or help would be really appreciated.

5195.attach
0 Likes
1 Solution
User18865
Level 1
Level 1
First solution authored
Never mind. I just noticed that the memory address starts with the index of 1. It should ignore the first 2 bytes used for u16SubIndex0.

View solution in original post

0 Likes
1 Reply
User18865
Level 1
Level 1
First solution authored
Never mind. I just noticed that the memory address starts with the index of 1. It should ignore the first 2 bytes used for u16SubIndex0.
0 Likes