7 stable releases

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

#244 in Asynchronous

Download history 9/week @ 2024-01-15 12/week @ 2024-02-19 5/week @ 2024-02-26 4/week @ 2024-03-11 134/week @ 2024-04-01

138 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–13MB
~128K SLoC