# \#alarm

**URL:** https://tech-community.robotics.abb.com/tag/alarm/1267.md

[Latest](https://tech-community.robotics.abb.com/latest.md) · [Categories](https://tech-community.robotics.abb.com/categories.md) · [Tags](https://tech-community.robotics.abb.com/tags.md)

---

## [Generate a program error with a custom program error number](https://tech-community.robotics.abb.com/t/generate-a-program-error-with-a-custom-program-error-number/11321)

<div class="topic-metadata">

**Author:** [@dragolollo](https://tech-community.robotics.abb.com/u/dragolollo)\
**Replies:** 2\
**Last updated:** [January 10, 2024, 9:13am UTC](https://tech-community.robotics.abb.com/t/generate-a-program-error-with-a-custom-program-error-number/11321 "2024-01-10T09:13:17Z")

</div>

Hello, The instruction “ErrWrite” is used to generate and display an error message on the teach pendant and, in case of a program error, the error number is 80001. Is it possible to define a custom error number? Thank…
