Hello everyone

I have the following task: to detect the running time of the machine in automatic mode.
The machine is a Chiron FZ15 with a Siemens 840D controller.
It has 2 tool spaces. Table 1 and Table 2
I want to count the running time in the automatic mode (processing of the program) not the stand still time.
Can anybody help me out??? I tried it with the cycle as explained in the manual but without success.

Kind regards