OpenEtherCATsociety / SOEM

Simple Open Source EtherCAT Master
Other
1.36k stars 688 forks source link

Question about "ecx_siifind" function #58

Closed starofsky closed 7 years ago

starofsky commented 8 years ago
mheden commented 8 years ago

Yes, It relates to table 21 in 1000/6. The reason that all offsets are +2 compared to the values in the table is that there is a uint16 value after the category header containing the size that we need to step over.

See Table 17 for more info on the structure.

mheden commented 8 years ago

The << 2 is to convert a word offset to a byte offset.

nakarlsson commented 7 years ago

No respone but thumbs up so we Close it