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>

Metadata

Release files for peakrdl-ethercat-xml 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for peakrdl-ethercat-xml 0.1.0
File Size Uploaded Provenance Actions
peakrdl_ethercat_xml-0.1.0.tar.gz 7.1 kB Without provenance Details for peakrdl_ethercat_xml-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for peakrdl-ethercat-xml 0.1.0
File Interpreter ABI Platform Actions
peakrdl_ethercat_xml-0.1.0-py3-none-any.whl Python 3 none any Details for peakrdl_ethercat_xml-0.1.0-py3-none-any.whl

Total release size: 15.2 kB

Release files / peakrdl_ethercat_xml-0.1.0.tar.gz

Download URL peakrdl_ethercat_xml-0.1.0.tar.gz
Size 7.1 kB
Tags Source
SHA-256 checksum
How to use checksums
5ea46b4b7f2bce25b5fd04be39659d91eb455b1ef1ec8c509263c210c28671de
BLAKE2b-256 checksum
How to use checksums
441c89bcd66173be47e1f2d54d23dc7d2149d9ed13d6bc8d1df20aeadf56b4e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release files / peakrdl_ethercat_xml-0.1.0-py3-none-any.whl

Download URL peakrdl_ethercat_xml-0.1.0-py3-none-any.whl
Size 8.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d8e00e7f5efb0407f75a618e016156512f607a1842fc1e5e85930d08b1811440
BLAKE2b-256 checksum
How to use checksums
678bab3466eb553aebdd4084cc8790ed5ee3068d787757af56a1157c37762f75
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Security for peakrdl-ethercat-xml 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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