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
174 downloads per month
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:
- notification
- notification_async
- read_state
- read_state_async
- read_symbol
- read_symbol_async
- read_symbol_async_inf
- write_symbol
- write_symbol_async
- write_control
- write_control_async
- read_device_info
- read_device_info_async
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