This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SDK Digital Input confusing OR command

Other Parts Discussed in Thread: AM3359

Hello!

I've just connected a digital input to my AM3359 ICE board and sent this to TwinCAT. And I wondered why i get such a strange input value while the input is 0 (value of 2864434176).

I found the solution. It's caused by an OR command in the SIMPLE ETHERCAT EXAMPLE of SDK:

INPUT |=   0xaabbcc00;

What was the original intention of this command? Or is it a fault?

Regards