# \#defaultvalue

**URL:** https://tech-community.robotics.abb.com/tag/defaultvalue/1298.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)

---

## [Set DO default value based on variable value](https://tech-community.robotics.abb.com/t/set-do-default-value-based-on-variable-value/11507)

<div class="topic-metadata">

**Author:** [@Daper](https://tech-community.robotics.abb.com/u/Daper)\
**Replies:** 2\
**Last updated:** [July 9, 2024, 2:37pm UTC](https://tech-community.robotics.abb.com/t/set-do-default-value-based-on-variable-value/11507 "2024-07-09T14:37:01Z")

</div>

Hi everyone, I have a DO that is sometimes switched during the program execution. It is used for communication with an external PLC. At controller restart, the value of the DO is reset to its default value, specified I…
