EasyManuals Logo

Siemens SINUMERIK 840D Programming Manual

Siemens SINUMERIK 840D
687 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #444 background imageLoading...
Page #444 background image
Motion synchronous actions
10.3 Main run variables for synchronized actions
Job planning
10-18 Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
10.3.9 Timer-Variable $AC_Timer[n]
Function
System variable $AC_TIMER[n] permits actions to be started after defined periods of delay.
Timer variable: Data type:REAL
$AC_TIMER[n] Channel-specific timer of data type REAL
s Unit in seconds
n Index of timer variable
Setting timers
A timer variable is incremented via value assignment
$AC_TIMER[n]=value
n: Number of timer variable
Value: Start value (normally 0)
Stopping timers
Incrementation of a timer variable can be stopped by assigning a negative value
$AC_TIMER[n]= -1
Reading timers
The current timer value can be read whether the timer variable is running or has been
stopped. After a timer variable has been stopped through the assignment of -1, the current
time value remains stored and can be read.
Example
Output of an actual value via analog output
500 ms after detection of a digital input
WHEN $A_IN[1] == 1 DO $AC_TIMER[1]=0 ; Reset and start timer
WHEN $AC_TIMER[1]>=0.5 DO $A_OUTA[3]=$AA_IM[X] $AC_TIMER[1]=-1

Table of Contents

Other manuals for Siemens SINUMERIK 840D

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK 840D and is the answer not in the manual?

Siemens SINUMERIK 840D Specifications

General IconGeneral
SeriesSINUMERIK 840D
AxesUp to 31
ChannelsUp to 10
Operating SystemWindows-based
Power Supply24 V DC
Control Unit TypeCNC
InterfaceEthernet, PROFIBUS
DisplayTFT color display
InterpolationSpline
PLCIntegrated PLC
Data StorageCompactFlash, USB

Related product manuals