Detailed description
3.3 System variables for synchronized actions
References
● Parameter Manual: Lists (Book 1)
● Parameter Manual: Detailed Machine Data Description
3.3.8
Timer ($AC_TIMER)
The $AC_TIMER[<index>] variables are channel-specific arrays of system variables.
Data type:
<Index>:
Unit:
Number per channel
The maximum number of $AC_TIMER variables per channel can be set via the machine data:
MD28258 $MC_MM_NUM_AC_TIMER = <maximum number>
Function
Starting
A timer is started by assigning a value ≥ 0:
$AC_TIMER[<index>] = <starting value>; with starting value ≥ 0
Incrementing
The value of the timer is incremented by the duration of the set interpolator clock cycle
(MD10071 IPO_CYCLE_TIME) for each interpolator clock cycle.
$AC_TIMER[<index>] += <interpolator clock cycle>
Stopping
A timer is stopped by assigning a value < 0:
$AC_TIMER[<index>] = <stopping value>; with stopping value < 0
When a stopping value is assigned, only the further incrementing of the timer is stopped. The
stopping value is not assigned. After the timer is stopped, the last valid value is retained and
can still be read.
Note
The current value of a timer can be be read when the timer is running or stopped.
30
REAL
Array index: 0, 1, 2, ... (max. number - 1)
Seconds
Function Manual, 08/2018, 6FC5397-5BP40-6BA2
Synchronized actions
Need help?
Do you have a question about the SINUMERIK 840D sl and is the answer not in the manual?
Questions and answers