# Production time calculation

When planning production processes, it is important to know what production times are required for the various jobs. This also applies to the time that a machine needs to produce a part.

To simulate production time, the run times in µs that the user determined empirically must be specified in the table P-CHAN-00040 or P-CHAN-00026 (*_prozess_zeit[i]) in the channel parameter list.

The field index "i" specifies the number of the M/H function [CHAN].

## Parameter

P-CHAN-00040 | Execution time for the M function with the number i
P-CHAN-00026 | Execution time for the H function with the number i

## Example

Production time calculation 1

A time of 0 or 1.3 s are required to execute the M07 and M08 functions:

m_prozess_zeit[7] 500000

m_prozess_zeit[8] 1300000

With pre-assigned spindle M functions (and also for the S function), the execution time is specified in the spindle parameters [CHAN].

## Parameter

P-CHAN-00042 | Execution time for the spindle M function M19
P-CHAN-00044 | Execution time for the spindle M function M3
P-CHAN-00046 | Execution time for the spindle M function M4
P-CHAN-00048 | Execution time for the spindle M function M5
P-CHAN-00080 | Execution time for the spindle S function

## Example

Production time calculation 2

A time of 0.5 or 1.5 s is required to execute the M03 and M19 functions:

spindel[0].m3_prozess_zeit 500000

spindel[0].m19_prozess_zeit 1500000