Siemens SINUMERIK 840D sl Function Manual page 156

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

Advertisement

A3: Axis Monitoring, Protection Zones
3.3 Protection zones
Program code
N580 _MOVDIST[0] =-27.
N590 _MOVDIST[1] = 0.
N600 _MOVDIST[2] = 0.
N610 _DLIMIT[3] = 2.
N620 _STATUS = CALCPOSI(_STARTPOS, _MOVDIST, _DLIMIT, _MAXDIST,,12)
N630 _STARTPOS[0] = 0.
N640 _STARTPOS[1] = 0.
N650 _STARTPOS[2] = 0.
N660 _MOVDIST[0] = 0.
N670 _MOVDIST[1] = 30.
N680 _MOVDIST[2] = 0.
N690 TRANS X10
N700 AROT Z45
N710 _STATUS = CALCPOSI(_STARTPOS,_MOVDIST, _DLIMIT, _MAXDIST)
; Delete frames from N690 and N700 again
N720 TRANS
N730 _STARTPOS[0] =
N740 _STARTPOS[1] = 10.
N750 _STARTPOS[2] =
; Vectors _MOVDIST and _MAXDIST define the motion plane
N760 _MOVDIST[0] = 30.
N770 _MOVDIST[1] = 30.
N780 _MOVDIST[2] =
N790 _MAXDIST[0] = 1.
N800 _MAXDIST[1] = 0.
N810 _MAXDIST[2] = 1.
N820 _STATUS = CALCPOSI(_STARTPOS, _MOVDIST, _DLIMIT, _MAXDIST,,17)
N830 M30
Results of CALCPOSI():
N...
<status>
<MaxDist>[0] ≙ X
420
3123
430
1122
440
1121
510
4213
520
0000
540
2222
620
4223
156
0.
0.
0.
<MaxDist>[1] ≙ Y
8.040
4.594
20.000
11.429
30.000
17.143
0.000
0.000
0.000
-27.000
0.000
-25.000
-13.000
0.000
Remarks
N3 is violated.
No limit is violated.
Only monitoring of the software limit switches still active.
Starting point violates C4
Preactivated C4 is not monitored. The specified distance can
be traversed completely.
Because _DLIMIT[1] = 2, the traversing distance is restricted
by the working area limitation.
Clearance to C4 is a total of 4 mm due to C2 and _DLIMIT[3].
Clearance C2 – N3 of 0.1 mm does not result in limitation of
the traversing distance.
Function Manual, 01/2015, 6FC5397-0BP40-5BA2
Basic Functions

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents