Store Execution Times In R Parameters; Centering" With Continuous Measurement - Siemens SINUMERIK 840Di sl Function Manual

Synchronized actions, ncu system software
Hide thumbs Also See for SINUMERIK 840Di sl:
Table of Contents

Advertisement

NC language
ID=1 WHENEVER $AA_IM[X2] -
$AA_IM[X1] < 30 DO $AA_OVR[X2]=0
ID=2 EVERY $AA_IM[X2] - $AA_IM[X1]
< 15 DO POS[X1]=0
5.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
5.6

"Centering" with continuous measurement

Introduction
The gaps between gear teeth are measured sequentially. The gap dimension is calculated
from the sum of all gaps and the number of teeth. The center position sought for continuation
of machining is the position of the first measuring point plus 1/2 the average gap size. The
speed for measurement is selected in order to enable one measured value to be reliably
acquired in each interpolation cycle.
Synchronized actions
Function Manual, 11/2006, 6FC5397-5BP10-2BA0
5.5 Store execution times in R parameters
Comment
;
Safety barrier
;
Safe position
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
Examples
139

Advertisement

Table of Contents
loading

Table of Contents