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

#267 in Asynchronous

Download history 39/week @ 2024-07-29 17/week @ 2024-09-23 146/week @ 2024-10-07 26/week @ 2024-10-14 15/week @ 2024-11-04

53 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
~111K SLoC