EasyManua.ls Logo

Siemens SINUMERIK 828D

Siemens SINUMERIK 828D
1167 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...
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")
VS2=("Stop%ntimer")
SUB(MyTimerSub)
MyVariable = MyVariable + 1
END_SUB
Programming commands
6.3 Functions
SINUMERIK Integrate Run MyScreens
160 Programming Manual, 10/2015, 6FC5397-3DP40-5BA3

Table of Contents

Other manuals for Siemens SINUMERIK 828D

Related product manuals