Skip to main content

This repository implements a PeakRDL module that generates an ESI description XML for EtherCAT (see ETG.2000 for details) from a SystemRDL file. The generated file only describes register mapping, therefore it should be copied into the main ESI file of the subdevice inside the device tag and after the definition of the sync managers (tag sm).


Structure of XML file

Since the address is only defined in the sync manager configuration, the registers do not carry address information. Instead, you should consider the memory to be a contiguous bit space and get the address of the fields by counting all fields before the one you are interested in. Therefore, if there is a gap between fields, this PeakRDL module fills it with a reserved bitfield space. These fields carry a unique name with schema Reserved_##.

The Index tag relates to the data type. The SubIndex tag is an entry identifier unique to this object (PDO or PDI). It increments on each entry.


Local Installation:

pip install .


Usage Example:

peakrdl ethercat-xml <path/to/system.rdl> -o <output/path>

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

peakrdl_ethercat_xml-0.1.0.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

peakrdl_ethercat_xml-0.1.0-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file peakrdl_ethercat_xml-0.1.0.tar.gz.

File metadata

  • Download URL: peakrdl_ethercat_xml-0.1.0.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for peakrdl_ethercat_xml-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5ea46b4b7f2bce25b5fd04be39659d91eb455b1ef1ec8c509263c210c28671de
MD5 636fb4951d7e43519b58f381c617b706
BLAKE2b-256 441c89bcd66173be47e1f2d54d23dc7d2149d9ed13d6bc8d1df20aeadf56b4e8

See more details on using hashes here.

File details

Details for the file peakrdl_ethercat_xml-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for peakrdl_ethercat_xml-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d8e00e7f5efb0407f75a618e016156512f607a1842fc1e5e85930d08b1811440
MD5 beba9b49f988f43932de9583459120fe
BLAKE2b-256 678bab3466eb553aebdd4084cc8790ed5ee3068d787757af56a1157c37762f75

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page