# Number of calls of a thread function (P-RTCF-00013)

P-RTCF-00013 | Number of calls for a specific function in a thread.
Description | The parameter defines the number of calls for a specific function in a thread.
Parameter | thread[i].function[j].calls_per_cycle
Data type | UNS32
Data range | 0 < P-RTFC-00013 < MAX(UNS32)
Dimension | ----
Default value | 1 *
Remarks | * In general calls_per_cycle = 1 is set. In specific applications (e.g. in the HSC area), it may be practical to call a rotating part multiple times (BACKGROUND). The parameter must then be adapted to the specific needs. Parameterisation example:

thread[0].name GEO1

thread[0].context_info 1

thread[0].cycle 2000

thread[0].priority 31 # HIGHEST

thread[0].error_on_overflow 1

thread[0].function[0].name task_int

thread[0].function[0].calls_per_cycle 1