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.

Link between ESI file and code



Hello!

I'm trying to add an analog input to the simple ethercat example. So I just added the function to the "Demo_Application" which should read an analog input and which should be sent to the master.

My thoughts: For that I have to add a new TxPDO register to the ESI file.

My question is: Where is the link between the register defined in the ESI and the variable defined in the code? For example: TxPDO in ESI corresponds with the pInput pointer of the pSlaveInterface structure, but where is this defined?

I hope you understand my question.

Regards