ads_client 1.0.0

An event driven, non-blocking ADS client
Documentation
# ADS Client


An event driven, non-blocking ADS client for communication with Beckhoff controller.
This ADS client implementation requires the presence of a [TC1000 ADS router](https://www.beckhoff.com/en-en/products/automation/twincat/tc1xxx-twincat-3-base/tc1000.html) on the system.

## Examples


The ADS client requires the presence of the [tokio](https://tokio.rs/) 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. Also the AmsNetId of the target system must be adapted accordingly.

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

Following examples are available:
- notification
- notification_async
- read_state
- read_state_async
- read_symbol
- read_symbol_async
- write_symbol
- write_symbol_async

## Documentation


Build the documentation with:

```bash
cargo doc
```
Afterwards, the documentation can be found under **/target/doc/ads_client/index.html**.