Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 1.26 KB

README.md

File metadata and controls

32 lines (21 loc) · 1.26 KB

The ethercat-plc crate

Apache 2.0 licensed MIT licensed crates.io docs

About

Note: the crates in this repository are experimental.

The ethercat-plc crate builds on the ethercat crate and tries to provide building blocks for writing PLC like applications in Rust, talking to EtherCAT slaves.

Building

The main EtherCAT functionality builds on the IgH/Etherlab EtherCAT Master for Linux.

The IgH repository is located at https://gitlab.com/etherlab.org/ethercat. Please switch to the stable-1.5 branch in the checkout.

In order to build the raw wrapper crate ethercat-sys, you need to set the environment variable ETHERCAT_PATH to the location of a checkout of the IgH Etherlab repository, after running configure there.

The minimum tested Rust version is 1.63.0.

Licensing

This crate uses the dual MIT/Apache-2 license commonly used for Rust crates.