CANopenEditor icon indicating copy to clipboard operation
CANopenEditor copied to clipboard

Support ESI for Ethercat

Open mgiaco opened this issue 1 year ago • 2 comments

Hi, I a wondering if there is any plan to support also ESI Format for Ethercat in the future?

mgiaco avatar Aug 13 '24 06:08 mgiaco

Hi @mgiaco, No official plan to support ESI format or anything related to Ethercat. This is the closest you get to a official plan: https://github.com/CANopenNode/CANopenEditor/issues/102

The internal/common format used in the project uses CanOpen EDS so AFIK it would be a big job to support Ethercat

nimrof avatar Aug 13 '24 09:08 nimrof

It depends, which information ESI file needs. According to wikipedia, Ethercat may use CANopen device profiles, so it may be possible to generate some sort of ESI file from existing data.

I don't have access to Ethercat specifications, but someone with access could:

  • verify if current information from CANopenEditor are enough for ESI file, see for example recent protobuffer definition.
  • Get xml schema for ESI file (seems, it is available). From xml schema cs file can be automatically generated, similar as https://github.com/CANopenNode/CANopenEditor/blob/main/libEDSsharp/CanOpenXSD_1_1.cs
  • Create importer and exporter, similar as (not the newest version) https://github.com/CANopenNode/CANopenEditor/blob/1d123ecf13ff69d4aae3e5ee22be745bcbad3599/libEDSsharp/CanOpenXDD_1_1.cs

CANopenNode avatar Aug 14 '24 09:08 CANopenNode

Sorry i forgot to write back. Many thanks for your help. I will check in the future.

mgiaco avatar Dec 02 '24 08:12 mgiaco