OpenEtherCATsociety / SOES

Simple Open Source EtherCAT Slave
Other
588 stars 251 forks source link

How to send PDO from SOES to SOSM? #132

Closed tuhai711 closed 1 year ago

tuhai711 commented 2 years ago

Hello, I have a bropblem, about PDO, SOSM only send (ec_send_processdata) then received (ec_receive_processdata) message from slave. How to slave auto send PDO (input/oputput) to master?

nakarlsson commented 2 years ago

That is how EtherCAT works, all traffic is driven by the master.

tuhai711 commented 2 years ago

Yes. Thank you very much,

tuhai711 commented 2 years ago

That mean, Slave can not notify PDO to Master, that is right?

nakarlsson commented 2 years ago

Not without the Master sending a frame.

tuhai711 commented 2 years ago

Yes, I see. If Master not sending a frame, Slave can not notify PDO to Master. Thank you.

nakarlsson commented 2 years ago

Please close "Issues" when no more questions

tuhai711 commented 2 years ago

Hello Again, Can Slave use SDO notify to master?

nakarlsson commented 2 years ago

No, the same goes for SDO. The master initiate read/write of the SDO.

tuhai711 commented 2 years ago

Do you have method for salve notify to master?

tuhai711 commented 2 years ago

Hello again, Do you know any method for salve notify to master without a master's request?

nakarlsson commented 2 years ago

No, the slaves never send frames

nakarlsson commented 2 years ago

@tuhai711 , can we close this issue?

nakarlsson commented 1 year ago

Closed due to inactivity