# 0x709 ADSERR_DEVICE_INVALIDCONTEXT Invalid Operating Context

Alarm codes · `0x709` · verification: source checked

The ADS call was made from an invalid operating-system context.

## Specification

| Property | Value |
|---|---|
| Code | 0x709 |
| Meaning | The operating-system context is invalid, often when ADS blocks are used in different tasks. |
| Remedy | Synchronize multitasking in the PLC. |

## Connected

- Controllers: [Beckhoff TwinCAT 3 Runtime (XAR)](https://machineschema.com/controller/beckhoff-twincat-3.md)

## Sources

1. [ADS Return Codes](https://infosys.beckhoff.com/content/1033/tcadscommon/374277003.html) (accessed 2026-10-26)

---

Source page: https://machineschema.com/alarm/ads-0x709  
JSON: https://machineschema.com/alarm/ads-0x709.json  
License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Cite Machine Schema and the original sources.
