Crate ads_client

Source
Expand description

Welcome to the ADS client library.

This create enables communication over the Beckhoff ADS protocoll.

The ADS client is used to work beside a TC1000 ADS router which is part of every TwinCAT installation. The client requires at least TwinCAT Version 3.1.4024.x.

This crate grants access to the following ADS commands:

The methods are implemented asynchronous and non-blocking based on the tokio runtime.

§Usage

Checkout the example section in the repsoitory.

Macros§

u16_high_byte
u16_low_byte
u32_hw_hb
u32_hw_lb
u32_lw_hb
u32_lw_lb

Structs§

AdsError
Error type of returned Result
AdsNotificationAttrib
Defines the notification attributes
Client
An ADS client to use in combination with the TC1000 ADS router.
DeviceStateInfo
Device information
StateInfo
ADS State and device state of a target system.

Enums§

AdsErrorCode
AdsState
ADS State of target system.
AdsTimeout
Specifies the maximum waiting time for an ADS response.
AdsTransMode
Determines the notification mechanism.

Type Aliases§

Notification
Type definition for notification callback.
Result