# 0x1002 RTERR_INVALIDTASKPTR Invalid Task Pointer

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

The task pointer had the invalid value zero.

## Specification

| Property | Value |
|---|---|
| Code | 0x1002 |
| Meaning | The task pointer is null. |

## 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-0x1002  
JSON: https://machineschema.com/alarm/ads-0x1002.json  
License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Cite Machine Schema and the original sources.
