Timers - Siemens sinumerik 840d Programming Manual

Hide thumbs Also See for sinumerik 840d:
Table of Contents

Advertisement

Tables
15
15.2 List of system variables
15.2.31

Timers

Identifier
Type
$A_YEAR
INT
$A_MONTH
INT
$A_DAY
INT
INT
$A_HOUR
INT
$A_MINUTE
$A_SECOND
INT
$A_MSECOND
INT
REAL
$AC_TIME
REAL
$AC_TIMEC
$AC_TIMER
REAL
$AC_PRTIME_M
REAL
$AC_PRTIME_A
REAL
REAL
$AC_PRTIME_M_
INC
REAL
$AC_PRTIME_A_I
NC
15-552
Description: System variable/value range/index
$A_YEAR
System time, year
$A_MONTH
System time, month
$A_DAY
System time, day
$A_HOUR
System time, hour
$A_MINUTE
System time, minute
$A_SECOND
System time, second
$A_MSECOND
System time, millisecond
$AC_TIME
Time from the beginning of block in seconds
This variable can only be accessed from synchronized actions
$AC_TIMEC
Time from the beginning of block in IPO clock cycles
This variable can only be accessed from synchronized actions
$AC_TIMER[n]
Timer – unit in seconds
Time is counted internally in multiples of interpolation cycle
cycle;
To start the counter variable, assign the value
$AC_TIMER[n]=<starting value>
To stop the counter variable, assign a negative value:
$AC_TIMER[n]=–1
The current time value can be read when the timer is running or
when it has stopped. When the timer is stopped by assigning the
value –1, the most up-to-date timer value is retained and can be read.
The dimension is defined in MD $MC_MM_NUM_AC_TIMER.
$AC_PRTIME_M
"ProgramRunTIME-Main"
Set (initialize) the accumulated program runtime (main time)
$AC_PRTIME_A
"ProgramRunTIME-Auxiliary"
Set (initialize) the accumulated program runtime (auxiliary time)
$AC_PRTIME_M_INC "ProgramRunTIME-Main-INCrement"
Increment the accumulated program runtime (main time)
$AC_PRTIME_A_INC "ProgramRunTIME-Auxiliary-INCrement"
Increment the accumulated program runtime (auxiliary time)
SINUMERIK 840D/840Di/810D/FM-NC Programming Guide Advanced (PGA) – 04.00 Edition
04.00
15
Part pro
Sync O S
RS
R
3
RS
R
3
RS
R
3
RS
R
3
RS
R
3
RS
R
3
RS
R
3
RS
R
2
RS
R
3
RS
W
R W +
4
S
W
4
W
4
W
4
W
4
 Siemens AG 2000. All rights reserved

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik fm-ncSinumerik 840diSinumerik 810d

Table of Contents