Programming principles
1.12 Timers and workpiece counters
Turning Part 2: Programming (Siemens instructions)
100 Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0
● $AC_OPERATING_TIME
Total execution time in seconds of NC programs in the automatic mode
In the AUTOMATIC mode, the runtimes of all programs between NC START and end of
program / RESET are summed up. The timer is zeroed with each power-up of the control
system.
● $AC_CYCLE_TIME
Runtime of the selected NC program (in seconds)
The runtime between NC Start and End of program / Reset is measured in the selected
NC program. The timer is reset with the start of a new NC program.
● $AC_CUTTING_TIME
Tool action time (in seconds)
The runtime of the path axes is measured in all NC programs between NC START and
end of program / RESET without rapid traverse active and with the tool active (default
setting).
The measurement is interrupted when a dwell time is active.
The timer is automatically set to zero with each power-up of the control system.
Programming example
N10 IF $AC_CUTTING_TIME>=R10 GOTOF WZZEIT ; Tool operation time limit
value?
G0 X50 Z50
N80 WZZEIT:G0 X60 Z60
N90 MSG("Tool action time: Limit value reached")
N100 M0
M30
Display
The contents of the active system variables are visible on the screen under <OFFSET> ->
"Sett. data">"Time counter":
Total run time = $AC_OPERATING_TIME
Program run time = $AC_CYCLE_TIME
Feedrate run time = $AC_CUTTING_TIME
Time since cold restart = $AN_SETUP_TIME
Time since warm restart= $AN_POWERON_TIME
"Program run time" is also visible in the AUTOMATIC mode in the "Machine" operating area
in the information line.