8 stable releases

1.5.1 Oct 11, 2024
1.4.1 Apr 3, 2024
1.4.0 Jan 15, 2024
1.3.0 Nov 14, 2023
1.2.1 Sep 21, 2022

#230 in Asynchronous

Download history 1/week @ 2024-06-28 10/week @ 2024-07-05 34/week @ 2024-07-26 5/week @ 2024-08-02 10/week @ 2024-09-20 7/week @ 2024-09-27 157/week @ 2024-10-11

174 downloads per month

MIT license

88KB
1.5K SLoC

ADS Client

An asynchronous, non-blocking ADS client for communication with Beckhoff controller. This ADS client implementation requires the presence of a TC1000 ADS router on the system.

Examples

The ADS client requires the presence of the tokio runtime. The examples denoted with _async are called from a main function denoted with with tokios [#tokio::main](https://docs.rs/tokio/latest/tokio/attr.main.html ) macro which causes the provision of the runtime. The examples without _async provides the runtime manually.

The provided examples rely on the related TwinCAT 3 project in TC3_Sample_Project. The AmsNetId of the target system in the examples must be adapted accordingly.

Build and execute the examples with cargo run --example <example-name>.

Following examples are available:

Documentation

Build the documentation with:

cargo doc

Afterwards, the documentation can be found under /target/doc/ads_client/index.html.

Dependencies

~3–11MB
~113K SLoC