9 stable releases

1.6.0 Dec 30, 2024
1.5.1 Oct 11, 2024
1.4.1 Apr 3, 2024
1.4.0 Jan 15, 2024
1.2.1 Sep 21, 2022

#460 in Asynchronous

Download history 165/week @ 2024-10-11 7/week @ 2024-10-18 7/week @ 2024-11-01 2/week @ 2024-11-08 4/week @ 2024-11-15 4/week @ 2024-11-22 1/week @ 2024-12-06 107/week @ 2024-12-27 14/week @ 2025-01-03 1/week @ 2025-01-10

122 downloads per month

MIT license

89KB
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–12MB
~115K SLoC