System variable Meaning Activity
$AC_ACT_PROG_NET_TIME Actual net runtime of the current NC program in sec‐
onds.
Is automatically reset to "0" when a new NC program
starts.
● Always active
● Only AUTOMATIC
mode
$AC_OLD_PROG_NET_TIME Net runtime in seconds of the program that has just be
correctly ended with M30
$AC_OLD_PROG_NET_TIME_COUNT Changes to $AC_OLD_PROG_NET_TIME
After POWER ON,
$AC_OLD_PROG_NET_TIME_COUNT is at "0".
$AC_OLD_PROG_NET_TIME_COUNT is always in‐
creased if the control has newly written to
$AC_OLD_PROG_NET_TIME.
$AC_PROG_NET_TIME_TRIGGER Trigger for the runtime measurement:
● Only AUTOMATIC
mode
0 Neutral state
The trigger is not active.
1 Exit
Ends the measurement and copies the value from
$AC_ACT_PROG_NET_TIME into
$AC_OLD_PROG_NET_TIME.$AC_ACT_PROG
_NET_TIME is set to "0" and then continues to run.
2 Start
Starts the measurement and in so doing sets
$AC_ACT_PROG_NET_TIME to "0".
$AC_OLD_PROG_NET_TIME is not changed.
3 Stop
Stops the measurement. Does not change
$AC_OLD_PROG_NET_TIME and keeps
$AC_ACT_PROG_NET_TIME constant until it re‐
sumes
4 Resume
The measurement is resumed, i.e. a measure‐
ment that was previously stopped is continued.
$AC_ACT_PROG_NET_TIME continues.
$AC_OLD_PROG_NET_TIME is not changed.
All system variables are reset to 0 as a result of POWER ON!
Note
Machine manufacturer
Machine data MD27860 $MC_PROCESSTIMER_MODE is used to switch-in the timer that can
be activated.
The behavior of active time measurements for certain functions (e.g. GOTOS, override = 0%,
active test run feed, program test, ASUB, PROG_EVENT, …) is configured using machine data
MD27850 $MC_PROG_NET_TIMER_MODE and MD27860 $MC_PROCESSTIMER_MODE.
Further information: Function Manual Basic Functions
Work preparation
3.22 Program runtime/part counter
NC programming
984 Programming Manual, 12/2019, 6FC5398-2EP40-0BA0