Skip to main content

AoE — ADS communication

AoE (ADS over EtherCAT) communicates with devices that support the Beckhoff ADS protocol.

Feature overview​

CapabilityDescription
AmsNetId entry6-byte address input; accepts the standard a.b.c.d.e.f form and validates the range automatically
IndexGroup / IndexOffsetDecimal or hexadecimal (0x...) input
Read / Write / ReadWriteOne-way buttons, so you do not always have to go through the generic ReadWrite call
Async / blocking toggleSwitch the call mode from the toolbar
AoEResultCode explanationBuilt-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 controlRead the device name and version number; switch the ADS state (Idle / Run / Stop / Config)
Event subscriptionSubscribe to notification events on a cycle or on data change; the result area lists them in reverse time order
Network configurationConfigure 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​

  1. Open the AoE tab in the configuration tool
  2. Enter the target device address in the AmsNetId field (for example 192.168.1.10.1.1)
  3. Enter the object address to access in IndexGroup and IndexOffset (hexadecimal 0x... is supported)
  4. Choose the data type conversion (U8 / U16 / U32 / I16 / I32 / Float / String)
  5. Click Read / Write / ReadWrite to run the operation
  6. 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
  7. 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.