OpenEtherCATsociety / SOES

Simple Open Source EtherCAT Slave
Other
566 stars 247 forks source link

Read out PDOs that are not directly adressed to the slave #118

Closed MarcelloDavis closed 1 year ago

MarcelloDavis commented 2 years ago

Hello,

I am asking myself if it is possible for the slave device to read out PDOs that are not directly adressed to it by the master device? Since the EtherCAT frame is transferred through all devices and sent back to the master, I thought that it may be possible to access the data on the fly? Or does one have to configure the slave device on the EtherCAT-master in order to be able to access any PDO?

Thanks in advance!

nakarlsson commented 2 years ago

The slave doesn't have access to the frame, it can only access the DPRAM. For logic LRW PDOs that access is programmed via the FMMU by the master and the FMMU is read-only from the PDI, so you can't set it up from the slave.

nakarlsson commented 2 years ago

@MarcelloDavis , can we close this issue?

MarcelloDavis commented 2 years ago

@MarcelloDavis , can we close this issue?

Yes, and thank you very much for your help!

nakarlsson commented 1 year ago

we'll close this, reopen or write a new if further questions