//M(TimerSample/"My timer")
PRESS(VS1)
;Calls SUB "MyTimerSub" every 1000 milliseconds
START_TIMER("MyTimerSub", 1000)
END_PRESS
PRESS(VS2)
STOP_TIMER("MyTimerSub")
END_PRESS
If START_TIMER is called again for a timer already assigned to a SUB method, then the new
interval is taken over if it is different. Otherwise, the second call is ignored.
The smallest interval for the system is100 milliseconds.
If
STOP_TIMER is called for a SUB method for which no timer is currently running, the call is
ignored.
Programming commands
6.3 Functions
SINUMERIK Integrate Run MyScreens
Programming Manual, 10/2015, 6FC5397-3DP40-5BA3 161