# Incorrect use of function blocks

**URL:** <https://community.br-automation.com/t/incorrect-use-of-function-blocks/9070>\
**Category:** Programming\
**Tags:** automation-studio\
**Created:** [November 19, 2025, 8:33am UTC](https://community.br-automation.com/t/incorrect-use-of-function-blocks/9070 "2025-11-19T08:33:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![xiaobingTOM](https://avatars.discourse-cdn.com/v4/letter/x/FF8800/32.png) [@xiaobingTOM](https://community.br-automation.com/u/xiaobingTOM)\
**Post date:** [November 19, 2025, 8:33am UTC](https://community.br-automation.com/t/incorrect-use-of-function-blocks/9070/1 "2025-11-19T08:33:42Z")

</div>

![Screenshot 2025-11-19 162734](https://europe1.discourse-cdn.com/brcommunity/original/2X/2/2ccc0108bdacb00603da1b06293940ab6ac79e0f.png)Just as shown in the picture, does anyone know how to declare these two functional blocks?

---

<div class="post-metadata">

**Author:** ![christoph.hilchenbac](https://dub1.discourse-cdn.com/brcommunity/user_avatar/community.br-automation.com/christoph.hilchenbac/32/423_2.png) [@christoph.hilchenbac](https://community.br-automation.com/u/christoph.hilchenbac)\
**Post date:** [November 19, 2025, 10:04am UTC](https://community.br-automation.com/t/incorrect-use-of-function-blocks/9070/2 "2025-11-19T10:04:37Z")

</div>

Hello,

You have to distinguish between ‘functions’ and ‘function blocks’.

[Functions and function blocks](https://help.br-automation.com/#/en/4/programming%2Ffunctionblock%2Fprogrammingmodel_functionblock_general.html)

You mentionend both were ‘function blocks’ (which we can not see from your screenshot)

but you call them as they were ‘functions’.

If they are real ‘function blocks’ you have to define an ‘instance name/ instance variable’ and use that for calling.
