Store Execution Times In R Parameters - Siemens SINUMERIK 828D Function Manual

Synchronized actions
Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

Examples

3.5 Store execution times in R parameters

3.5
Store execution times in R parameters
Task
Store the execution time for part program blocks starting at R parameter 10.
Program
IDS=1 EVERY $AC_TIMEC==0 DO
$AC_MARKER[0] = $AC_MARKER[0] + 1
IDS=2 DO $R[10+$AC_MARKER[0]] =
$AC_TIME
DEFINE INDEX AS $AC_MARKER[0]
IDS=1 EVERY $AC_TIMEC==0 DO INDEX =
INDEX + 1
IDS=2 DO $R[10+INDEX] = $AC_TIME
150
Comment
;
The example is
;
as follows without symbolic programming:
;
Advance R parameter
;
pointer on block change
;
Write current time
;
of block start in each case to R parameter
;
The example is
;
as follows with symbolic programming:
;
Agreements for symbolic
;
programming
;
Advance R parameter
;
pointer on block change
;
Write current time
;
of block start in each case to R parameter
Function Manual, 07/2012, 6FC5397-5BP40-3BA0
Synchronized actions

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d slSinumerik 840de sl

Table of Contents