EasyManua.ls Logo

Siemens SINUMERIK 840DE SL

Siemens SINUMERIK 840DE SL
1734 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
Loading...
DEBUG("OUTER: " << REG[0])
REG[0] = REG[0] + 1
REG[1] = -5
DO
DEBUG("INNER: " << REG[1])
REG[1] = REG[1] + 1
LOOP_UNTIL 0 <= REG[1]
LOOP
6.3.38 Cyclic execution of scripts: START_TIMER, STOP_TIMER
Description
SUB methods can be called cyclically with the aid of timers. The START_TIMER() and
STOP_TIMER() functions are available for this purpose.
Note
Only one timer can be configured for each SUB method.
Programming
Syntax: START_TIMER
("SUB name", Interval)
Description: Starts cyclic processing of a SUB method
Parameters: SUB name: Name of the SUB method to be called cyclically
Interval: Interval in milliseconds
Syntax: STOP_TIMER
("SUB name", Interval)
Description: Stops cyclic processing of a SUB method
Parameters: SUB name: Name of the SUB method whose timer is to be stop‐
ped.
Example
//M(TimerSample/"My timer")
DEF MyVariable=(I//0/,"Number of cyclic calls:"/WR1)
VS1=("Start%ntimer")
Programming commands
6.3 Functions
SINUMERIK Integrate Run MyScreens (BE2)
190 Programming Manual, 12/2017, 6FC5397-1DP40-6BA1

Table of Contents

Other manuals for Siemens SINUMERIK 840DE SL

Related product manuals