OpenEtherCATsociety / SOEM

Simple Open Source EtherCAT Master
Other
1.23k stars 653 forks source link

SOEM master slave communication #788

Open nehapagare17 opened 4 months ago

nehapagare17 commented 4 months ago

I have configured one linux based computer as master and other linux based computer as slave ,now i want to establish connection between both of them but i tried executing slaveinfo.c file build it in code block .but i am not getting executable file .what should be the next step and procedure to execute these file

ArthurKetels commented 4 months ago

You forget to tell exactly what steps you have taken. SOEM is only an EtherCAT master library. It can not be configured as a slave. The standard way for a slave is to have a piece of dedicated hardware called the ESC (EtherCAT slave controller). It is possible to emulate the ESC in software, but I do not know of any open-source projects that implement that.

My suggestion is to read more about what EtherCAT is and how it works.

nehapagare17 commented 4 months ago

I have configured one PC as master using SOEM and other PC as slave using SOES. Now I have tried various steps to establish communication between them I have connected cables .but not getting where I am going wrong can you explain in brief how to make them communicating

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: ArthurKetels @.> Sent: Friday, February 9, 2024 10:21:00 PM To: OpenEtherCATsociety/SOEM @.> Cc: Pagare Neha Vasantrao @.>; Author @.> Subject: Re: [OpenEtherCATsociety/SOEM] SOEM master slave communication (Issue #788)

External Email

You forget to tell exactly what steps you have taken. SOEM is only an EtherCAT master library. It can not be configured as a slave. The standard way for a slave is to have a piece of dedicated hardware called the ESC (EtherCAT slave controller). It is possible to emulate the ESC in software, but I do not know of any open-source projects that implement that.

My suggestion is to read more about what EtherCAT is and how it works.

— Reply to this email directly, view it on GitHubhttps://github.com/OpenEtherCATsociety/SOEM/issues/788#issuecomment-1936260761, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BF62LQ2ATB77NTVBAU72ZCLYSZHXJAVCNFSM6AAAAABDBUTLPOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZWGI3DANZWGE. You are receiving this because you authored the thread.Message ID: @.***>

ArthurKetels commented 4 months ago

SOES will not implement a full EtherCAT slave. SOES is used to communicate with the ESC (see post above) for the higher level protocols. Without the proper hardware (or emulator) you can not have a working EtherCAT system. If you want to use a PC as slave you can use a device like this : https://www.beckhoff.com/en-en/products/ipc/pcs/accessories/fc1121.html As a side note, there is currently no driver in SOES for the fc1121.

nehapagare17 commented 4 months ago

Yes I have already implemented network adaptor card.my point is I have followed step to configure slave and master but I am not getting how to make them communicating.can u explain in brief steps and procedures.

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: ArthurKetels @.> Sent: Sunday, February 11, 2024 12:19:59 AM To: OpenEtherCATsociety/SOEM @.> Cc: Pagare Neha Vasantrao @.>; Author @.> Subject: Re: [OpenEtherCATsociety/SOEM] SOEM master slave communication (Issue #788)

External Email

SOES will not implement a full EtherCAT slave. SOES is used to communicate with the ESC (see post above) for the higher level protocols. Without the proper hardware (or emulator) you can not have a working EtherCAT system. If you want to use a PC as slave you can use a device like this : https://www.beckhoff.com/en-en/products/ipc/pcs/accessories/fc1121.html As a side note, there is currently no driver in SOES for the fc1121.

— Reply to this email directly, view it on GitHubhttps://github.com/OpenEtherCATsociety/SOEM/issues/788#issuecomment-1937094234, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BF62LQZWDZRC4FIMI25HGUDYS66NPAVCNFSM6AAAAABDBUTLPOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZXGA4TIMRTGQ. You are receiving this because you authored the thread.Message ID: @.***>