# SPT Fubs check if in this particular configuration a SPT Fub is used

**URL:** <https://community.br-automation.com/t/spt-fubs-check-if-in-this-particular-configuration-a-spt-fub-is-used/10759>\
**Category:** Mechatronics & Motion\
**Tags:** mapp-motion\
**Created:** [April 2, 2026, 3:42pm UTC](https://community.br-automation.com/t/spt-fubs-check-if-in-this-particular-configuration-a-spt-fub-is-used/10759 "2026-04-02T15:42:15Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Patrick\_Schmitter](https://dub1.discourse-cdn.com/brcommunity/user_avatar/community.br-automation.com/patrick_schmitter/32/489_2.png) [@Patrick\_Schmitter](https://community.br-automation.com/u/Patrick_Schmitter)\
**Post date:** [April 2, 2026, 3:42pm UTC](https://community.br-automation.com/t/spt-fubs-check-if-in-this-particular-configuration-a-spt-fub-is-used/10759/1 "2026-04-02T15:42:15Z")

</div>

Hi guys

I use multiple configurations. Some of the axes have deployed a parameter file containing SPT function blocks and some don’t.  
When using MC\_BR\_ReadParId i always get errors back from the function and also get an axis error that can be read via MC\_BR\_ReadAxisError.  
Is there a possibility to check if a specific parID is existent without having errors?

Lets assume i need to read the CMP\_MODE - with the parID 6688 without error when it is not there.

![image](https://europe1.discourse-cdn.com/brcommunity/original/2X/f/f6c9a0d18f8caa70d49006fdef4d53be8dc84e00.png)

Thanks for any thought on that matter  
Cheers

---

<div class="post-metadata">

**Author:** ![connor.nagela](https://avatars.discourse-cdn.com/v4/letter/c/FF8800/32.png) [@connor.nagela](https://community.br-automation.com/u/connor.nagela)\
**Post date:** [April 2, 2026, 3:55pm UTC](https://community.br-automation.com/t/spt-fubs-check-if-in-this-particular-configuration-a-spt-fub-is-used/10759/2 "2026-04-02T15:55:42Z")

</div>

Hi Patrick,

I’d imagine that `MC_BR_GetParIDInfo` is the function block you are looking for. You should be able to call it to determine if a ParID exists in a given configuration, and if it does then call `MC_BR_ReadParId`.

Hope this helps,  
Connor

---

<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:** [April 2, 2026, 3:58pm UTC](https://community.br-automation.com/t/spt-fubs-check-if-in-this-particular-configuration-a-spt-fub-is-used/10759/3 "2026-04-02T15:58:30Z")

</div>

Unfortunately MC\_BR\_GetParIDInfo is not available on mapp Motion yet

 ![image](https://europe1.discourse-cdn.com/brcommunity/original/2X/2/265e0ca4c49dd445d40aef3231fd87e8a06eb862.png)

but it was cool idea!

---

<div class="post-metadata">

**Author:** ![Patrick\_Schmitter](https://dub1.discourse-cdn.com/brcommunity/user_avatar/community.br-automation.com/patrick_schmitter/32/489_2.png) [@Patrick\_Schmitter](https://community.br-automation.com/u/Patrick_Schmitter)\
**Post date:** [April 2, 2026, 4:36pm UTC](https://community.br-automation.com/t/spt-fubs-check-if-in-this-particular-configuration-a-spt-fub-is-used/10759/4 "2026-04-02T16:36:22Z")

</div>

Hi Connor

Using MC\_BR\_GetParIDInfo worked even though i did not deploy any parameter file creating a CMP SPT function block.  
The Fub returned the correct type and the correct length of a possible CMD\_MODE+0 variable without it existing.  
So this was a nice try but did not help detecting if there is a SPT function block used in a parameter file.

Any other thoughts on the matter?  
Cheers  
Patrick

---

<div class="post-metadata">

**Author:** ![corne.geerts](https://avatars.discourse-cdn.com/v4/letter/c/FF8800/32.png) [@corne.geerts](https://community.br-automation.com/u/corne.geerts)\
**Post date:** [April 3, 2026, 7:17am UTC](https://community.br-automation.com/t/spt-fubs-check-if-in-this-particular-configuration-a-spt-fub-is-used/10759/5 "2026-04-03T07:17:41Z")

</div>

I don’t think there is an easy solution with Acp10.  
The statement _SPT function block used in a parameter file_, translates that this parameter file is downloaded to the drive. This could be traced by a network command trace for instance with function block MC\_BR\_NetTrace, but this then also depends on the number of parid’s downloaded to the drive and the size of this network command trace.

Probably that’s the reason that Acopos SptChart feature from mappMotion, could contain all spt networks in one SptChart.

---

<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:** [April 7, 2026, 11:10am UTC](https://community.br-automation.com/t/spt-fubs-check-if-in-this-particular-configuration-a-spt-fub-is-used/10759/6 "2026-04-07T11:10:33Z")

</div>

Hello,  
I don’t think there is a possibility out of the System to get this information.  
Each Instance has to be created with ParID 777 FUNCTION\_BLOCK\_CREATE.  
This functionality does have not any diagnostic data, as far as i know.  
Typicaly you use the Mode ParID of the Fub, but i think the Mode ParID is also only generated after the 777 call.

I would recommend to use a SPT in all Configurations just to have a VAR\_I4\_0 or similar, were you can save 0 = no SPT , 1 = SPT.  
So you have one ParID which is user Defined, allways accessible, and you have a information if you can expect more or not.

Greetings  
Michael

---

<div class="post-metadata">

**Author:** ![Patrick\_Schmitter](https://dub1.discourse-cdn.com/brcommunity/user_avatar/community.br-automation.com/patrick_schmitter/32/489_2.png) [@Patrick\_Schmitter](https://community.br-automation.com/u/Patrick_Schmitter)\
**Post date:** [April 7, 2026, 11:15am UTC](https://community.br-automation.com/t/spt-fubs-check-if-in-this-particular-configuration-a-spt-fub-is-used/10759/7 "2026-04-07T11:15:48Z")

</div>

Hi Michael

Thanks for your reply. After thorough testing, I couldn’t find any possibility to solve this issue. The solution you suggested, was one that I also had on my list. Alternatively i can solve this also in my application, but with more effort. Thanks for the discussion on this topic.

Have a great week  
Patrick
