# Code for error text on FP

**URL:** <https://tech-community.robotics.abb.com/t/code-for-error-text-on-fp/7364>\
**Category:** Robot Controller\
**Created:** [September 21, 2016, 2:01pm UTC](https://tech-community.robotics.abb.com/t/code-for-error-text-on-fp/7364 "2016-09-21T14:01:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pacijent](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/pacijent/32/512_2.png) [@pacijent](https://tech-community.robotics.abb.com/u/pacijent)\
**Post date:** [September 21, 2016, 2:01pm UTC](https://tech-community.robotics.abb.com/t/code-for-error-text-on-fp/7364/1 "2016-09-21T14:01:47Z")

</div>

Hello, I’m trying to use TPWrite instruction in order to display message on FlexPendant in the case of specific error, but IRC5 internal error message is the only thing I can see on the screen. Is there a way that we can write custom message on FP in the case of specific error. Thanks.

---

<div class="post-metadata">

**Author:** ![soup](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/soup/32/1592_2.png) [@soup](https://tech-community.robotics.abb.com/u/soup)\
**Post date:** [September 27, 2016, 2:05pm UTC](https://tech-community.robotics.abb.com/t/code-for-error-text-on-fp/7364/2 "2016-09-27T14:05:09Z")

</div>

ErrLog 4800, “THIS IS AN ERROR POP-UP”, “This error message pops-up on”, “the screen and is also written”, “to the error log. Custom numbers or”, “4800 can be used for all errors.”;

ErrLog 4800 \W, “THIS IS JUST A WARNING”, “This does not pop-up on”, “the screen and but is written”, “to the error log. Stored as”, “a warning in the log.”;

ErrLog 4800 \I, “THIS IS JUST INFORMATION”, “This does not pop-up on”, “the screen and but is written”, “to the error log. Stored as”, “information in the log.”;
