Monitoring A Safety Clearance Between Two Axes; Store Execution Times In R Parameters - Siemens SINUMERIK 840D sl Function Manual

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

Advertisement

a
: -100
1
a
: -100
2
a
: not used
3
With these values, the polynomial definition is as follows:
FCTDEF(2, 1, 100, 100, -100, -100)
; Activation of the variable override as a function of the path:
ID= 1 DO SYNFCT (2, $AC_OVR, $AC_PATHN)
G01 X100 Y100 F1000
4.4

Monitoring a safety clearance between two axes

Task
The axes X1 and X2 operate two independently controlled transport devices used to load and
unload workpieces.
To prevent the axes from colliding, a safety clearance must be maintained between them.
If the safety clearance is violated, then axis X2 is decelerated. This interlock is applied until
axis X1 leaves the safety clearance area again.
If axis X1 continues to move towards axis X2, thereby crossing a closer safety barrier, then it
is traversed into a safe position.
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
4.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
Synchronized actions
Function Manual, 08/2018, 6FC5397-5BP40-6BA2
4.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
Examples
143

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents