Siemens SINUMERIK 840D sl Programming Manual page 589

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

Advertisement

Program code
N540 _STATUS = CALCPOSI(_START, _DIST, _LIMIT, _MAXDIST,, 6)
N550 _START[0] = 27.
N560 _START[1] = 17.1
N570 _START[2] =
N580 _DIST[0] =-27.
N590 _DIST[1] =
N600 _DIST[2] =
N610 _LIMIT[3] = 2.
N620 _STATUS = CALCPOSI(_START, _DIST, _LIMIT, _MAXDIST,,12)
N630 _START[0] = 0.
N640 _START[1] = 0.
N650 _START[2] = 0.
N660 _DIST[0] =
N670 _DIST[1] = 30.
N680 _DIST[2] =
N690 TRANS X10
N700 AROT Z45
N710 _STATUS = CALCPOSI(_START,_DIST, _LIMIT, _MAXDIST)
; delete frames from N690 and N700 again
N720 TRANS
N730 _START[0] =
N740 _START[1] = 10.
N750 _START[2] =
; vectors_DIST and _MAXDIST define the motion plane
N760 _DIST[0] = 30.
N770 _DIST[1] = 30.
N780 _DIST[2] =
N790 _MAXDIST[0] = 1.
N800 _MAXDIST[1] = 0.
N810 _MAXDIST[2] = 1.
N820 _STATUS = CALCPOSI(_START, _DIST, _LIMIT, _MAXDIST,,17)
N830 M30
Results of CALCPOSI()
N...
420
430
440
510
520
540
NC programming
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0
0.
0.
0.
0.
0.
0.
0.
0.
<status>
<MaxDist>[0] ≙ X
3123
8.040
1122
20.000
1121
30.000
4213
0.000
0000
0.000
2222
0.000
<MaxDist>[1] ≙ Y
Remarks
4.594
N3 is violated.
11.429
No protection zone monitoring,
working area limitation is violated.
17.143
Only software limit monitoring is still active.
0.000
Starting point violates C4
-27.000
Preactivated C4 is not monitored. The
specified distance can be traversed com‐
pletely.
-25.000
Because _LIMIT[1] = 2, the traversing dis‐
tance is restricted by the working area limi‐
tation.
Work preparation
3.6 Protection zones
589

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents