# Reference in FB is not possible

**URL:** <https://community.br-automation.com/t/reference-in-fb-is-not-possible/10316>\
**Category:** Programming\
**Tags:** plc\
**Created:** [February 27, 2026, 8:39am UTC](https://community.br-automation.com/t/reference-in-fb-is-not-possible/10316 "2026-02-27T08:39:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jesper\_Boje\_Jensen](https://avatars.discourse-cdn.com/v4/letter/j/FF8800/32.png) [@Jesper\_Boje\_Jensen](https://community.br-automation.com/u/Jesper_Boje_Jensen)\
**Post date:** [February 27, 2026, 8:39am UTC](https://community.br-automation.com/t/reference-in-fb-is-not-possible/10316/1 "2026-02-27T08:39:06Z")

</div>

Why is it not possible to see the value of a variable via a reference inside a FB?

A reference in a task will show the value of the variable it is pointed to.

A reference in a FB will show the address of the variable it is pointed to.

Any suggestions?

---

<div class="post-metadata">

**Author:** ![michael.bertsch](https://dub1.discourse-cdn.com/brcommunity/user_avatar/community.br-automation.com/michael.bertsch/32/239_2.png) [@michael.bertsch](https://community.br-automation.com/u/michael.bertsch)\
**Post date:** [February 27, 2026, 8:57am UTC](https://community.br-automation.com/t/reference-in-fb-is-not-possible/10316/2 "2026-02-27T08:57:44Z")

</div>

Hello,

In this case you have 2 options.

1. Use the Variable in the Watch, which is target of the pointer. If it is a call by Reference in a Functionblock, this is often a fix Variable and does not change.

2. Use a Debbuging helper Variable to dereference the Pointer in the Functionblock.

I am not aware of more options. But in many years i had not issue with this, but i know that this was asked before. Maybe other Community Members have more ideas.

Greetings  
Michael

---

<div class="post-metadata">

**Author:** ![Jesper\_Boje\_Jensen](https://avatars.discourse-cdn.com/v4/letter/j/FF8800/32.png) [@Jesper\_Boje\_Jensen](https://community.br-automation.com/u/Jesper_Boje_Jensen)\
**Post date:** [February 27, 2026, 9:13am UTC](https://community.br-automation.com/t/reference-in-fb-is-not-possible/10316/3 "2026-02-27T09:13:29Z")

</div>

Hi Michael,

Thanks for speedy reply.

Yes, watching the variable that is pointed to works obviously.

My issue with this, is that my program consists of an array of FB that each have about 10 inputs that points to an index of a data structure.

So for me to watch a certain FB I need to have all 10 data structures in the watch as well, to fully see the values inside the FB.

Basically I think I’m confused about why it is like that 😃

Thanks for your reply. Much appreciated.

---

<div class="post-metadata">

**Author:** ![valerio.manenti](https://dub1.discourse-cdn.com/brcommunity/user_avatar/community.br-automation.com/valerio.manenti/32/11712_2.png) [@valerio.manenti](https://community.br-automation.com/u/valerio.manenti)\
**Post date:** [February 27, 2026, 2:03pm UTC](https://community.br-automation.com/t/reference-in-fb-is-not-possible/10316/4 "2026-02-27T14:03:52Z")

</div>

Hi @Jesper_Boje_Jensen ,

> So for me to watch a certain FB I need to have all 10 data structures in the watch as well, to fully see the values inside the FB.

I totally understand your frustration; you can temporarily define your new debug structured variable with all items you need for troubleshooting, where you copy all variables you need.  
I like the pointers but sometimes the time we invest to find the issue with that approach is too much…hehe

Ciao  
Valerio

---

<div class="post-metadata">

**Author:** ![kovarj](https://dub1.discourse-cdn.com/brcommunity/user_avatar/community.br-automation.com/kovarj/32/537_2.png) [@kovarj](https://community.br-automation.com/u/kovarj)\
**Post date:** [March 9, 2026, 8:43am UTC](https://community.br-automation.com/t/reference-in-fb-is-not-possible/10316/5 "2026-03-09T08:43:13Z")

</div>

Hi @Jesper_Boje_Jensen , I marked your reply as a “solution“ = answer on your question.
