# Mapp Services 6 - What is the new parameter 'cyclic task class' about?

**URL:** <https://community.br-automation.com/t/mapp-services-6-what-is-the-new-parameter-cyclic-task-class-about/5014>\
**Category:** How-To & Wikis\
**Tags:** mapp-services, gap\
**Created:** [November 25, 2024, 2:00pm UTC](https://community.br-automation.com/t/mapp-services-6-what-is-the-new-parameter-cyclic-task-class-about/5014 "2024-11-25T14:00:47Z")\
**Posts on this page:** 1\
**Page:** 1

<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:** [November 25, 2024, 2:00pm UTC](https://community.br-automation.com/t/mapp-services-6-what-is-the-new-parameter-cyclic-task-class-about/5014/1 "2024-11-25T14:00:47Z")

</div>

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

**Introduction**

- with mapp Services 6, new parameter **Cyclic task class** was introduced
- it a part of general configuration of mapp AlarmX, mapp Database, mapp Recipe, mapp Audit,..etc.
- The aim of this topic is to describe the functionality of this property in more detail.ls

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

**Source of information:**

- AS6 Help [E.g. mapp AlarmX](https://help.br-automation.com/#/en/6/services%2Fmapp_services%2Fmpalarmx%2Fconfig%2Fmpalarmxcore_konfiguration.html)
- Discussion with development team

**Description:**

- We have to differentiate between “component” and “FUB”

- Timing Diagram (Component vs FUB) example, it may clear up some things

- The **“Cyclic task class”** in the configuration just defines how fast the component itself is operating its internal cyclic task (monitoring alarms, PackML states, …)

- The FUBs can run in any task class, as they are **now independent of the component**

**Q&A:**

_Q1: How is configuration in general of a mapp Services component (task calls) behaving and how is it influence by according FUBs and the task classes which are used for the according programs?_

- The component (and FUBs) are completely separate systems now and the timing of FUB calls does not influence the component (if at all the FUB tells the component that it has to perform some work)
- Components which have this configuration option were commonly performing cyclic tasks before (requiring the FUB to be called)
  - Now the only purpose of the FUB is to provide In-/Outputs for specific (usually non-cyclic) work (like exporting to a file)

_Q2: What happens when I select task class cyclic #1 (10ms) in the configuration of e.g. MpAlarmX, but then I am using the FUB MpAlarmXCore in the task class cyclic #2 (20ms)?_

- Nothing… The component will just update its internal information faster than the FUB will display it (so some state changes may be missed/hidden from the FUB)
  - Note: UI-FBs (or other mechanisms showing “lists” or “retainable” information) will never “miss” information. They would just be delayed…

_Q3: Are there any recommendations from our side from our side regarding that?_

- No, as the FUB and component are separate things (which are just communicating with each other), any combination should work.
  - The only suggestion I (personally) would give is to run the FB either in the same TC or slower (running it faster does not really bring any benefits, but will also not cause harm)

_Q4: Is there anything we need to take care about regarding configuration of task classes in the mapp Configuration?_

- Not more than with mappServices V5 and the FUBs. The only thing you need to take care about is to not overload the system…
  - Running everything in TC1 will quite likely still result in cycle time violations…

Hope this topic helps! Feel free to explore more of what’s new in the AS6 ecosystem. I’d be happy if you shared your new findings with us here. Community for community! 🙂

Jaroslav
