AoE — ADS communication
AoE (ADS over EtherCAT) communicates with devices that support the Beckhoff ADS protocol.
Feature overview
| Capability | Description |
|---|---|
| AmsNetId entry | 6-byte address input; accepts the standard a.b.c.d.e.f form and validates the range automatically |
| IndexGroup / IndexOffset | Decimal or hexadecimal (0x...) input |
| Read / Write / ReadWrite | One-way buttons, so you do not always have to go through the generic ReadWrite call |
| Async / blocking toggle | Switch the call mode from the toolbar |
| AoEResultCode explanation | Built-in drop-down of all 62 ETG.1020 error codes (the 0x0000 ~ 0x0750 main block plus 1 outlier code); selecting a code expands its explanation in Chinese |
| Device info / state control | Read the device name and version number; switch the ADS state (Idle / Run / Stop / Config) |
| Event subscription | Subscribe to notification events on a cycle or on data change; the result area lists them in reverse time order |
| Network configuration | Configure the source / target NetID and port number |
Generated code: tick AoE communication in the export window to generate ADS read/write configuration in the code.
Quick start
- Open the AoE tab in the configuration tool
- Enter the target device address in the AmsNetId field (for example 192.168.1.10.1.1)
- Enter the object address to access in IndexGroup and IndexOffset (hexadecimal 0x... is supported)
- Choose the data type conversion (U8 / U16 / U32 / I16 / I32 / Float / String)
- Click Read / Write / ReadWrite to run the operation
- If an error code other than 0 comes back, find the corresponding AoEResultCode in the error code drop-down on the right to read its Chinese explanation
- Subscribe to notification events on a cycle or on data change in the Event subscription panel
Device info and state control
The Device info button on the toolbar reads:
- Device name
- Major version / minor version / build number
The State control button on the toolbar switches the ADS state: Idle / Run / Stop / Config.
Error code explanation
The tool includes the ETG.1020 standard AoEResultCode table (it covers the 0x0000 ~ 0x0750 main block plus 1 outlier code, 62 entries in total), grouped into:
- Success
- Internal error
- Routing error
- Device error
- Client error
Look up a code by its number in the error code drop-down to get the Chinese explanation, so you do not have to search the table by hand.