Examples
4.2 Examples 3-6: SETTCOR function for tool environments
Basic logic functions: Tool Offset (W1)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
197
The geometry component of the tool remains unchanged due to _CORMODE = 1. The
compensation vector defined in the WCS (rotation about y axis) must be included in the wear
component such that the total tool length in the figure refers to point P
2
. Therefore, the
resulting wear component of the tool is given in relation to the distance between points P
1
and P
2
.
However, since the wear is evaluated negatively, due to setting data SD42930, the
compensation determined in this way has to be entered in the compensation memory with a
negative sign. The contents of the relevant tool parameters at the end of the program are
thus:
$TC_DP3[1,1]
: 10.000
; Geometry L1 (unchanged)
$TC_DP4[1,1]
: 15.000
; Geometry L2 (unchanged)
$TC_DP5[1,1]
: 10.000
; Geometry L3 (unchanged)
$TC_DP12[1,1]
: 2.010
; Wear L1
;(= 10 -15*cos(30) + 10*sin(30))
$TC_DP13[1,1]
: -16.160
; Wear L2
;(= -15*sin(30) - 10*cos(30))
$TC_DP14[1,1]
: -5.000
; Wear L3
The effect of setting data SD42930 on the
L3
component in the Y direction can be
recognized without the additional complication caused by the frame rotation.
Example 9:
2 (tool length must be valued in the diameter axis with the factor 0.5) is the value of machine
data:
MD20360 $MC_TOOL_PARAMETER_DEF_MASK (definition of tool parameters).
X is diameter axis:
N10
def real _LEN[11]
N20
def real _CORVAL[3]
N30
$TC_DP1[1,1]= 500
N40
$TC_DP2[1,1]= 2
N50
$TC_DP3[1,1]= 3.
N60
$TC_DP4[1,1]= 4.
N70
$TC_DP5[1,1]= 5.
N80
_CORVAL[0] = 1.
N90
_CORVAL[1] = 1.
N100
_CORVAL[2] = 1.
N110
t1 d1 g18 g0 x0 y0 z0
; ==> MCS position X1.5 Y5 Z4
N120
r1 = settcor(_CORVAL, "g", 1, 1)
N130
t1 d1 x0 y0 z0
; ==> MCS position X2.5 Y6 Z5
N140
r3 = $TC_DP3[1,1]
; = 5. = (3.000 + 2. * 1.000)
N150
r4 = $TC_DP4[1,1]
; = 5. = (4.000 + 1.000)
N160
r5 = $TC_DP5[1.1]
; = 6. = (5.000 + 1.000)
N170
m30
Содержание SINUMERIK 840D sl
Страница 282: ...Index Basic logic functions Acceleration B2 64 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 286: ...Table of contents Basic logic functions Diagnostic tools D1 4 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 328: ...Constraints Basic logic functions Diagnostic tools D1 46 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 330: ...Examples Basic logic functions Diagnostic tools D1 48 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 340: ...Table of contents Basic logic functions Travel to fixed stop F1 4 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 342: ...Brief Description Basic logic functions Travel to fixed stop F1 6 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 382: ...Supplementary conditions Basic logic functions Travel to fixed stop F1 46 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 388: ...Basic logic functions Travel to fixed stop F1 Function Manual 11 2006 6FC5397 0BP10 2BA0 52 ...
Страница 790: ...Table of contents Basic logic functions Axes coordinate systems frames K2 6 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 946: ...Table of contents Basic logic functions Emergency Stop N2 4 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 948: ...Brief Description Basic logic functions Emergency Stop N2 6 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 956: ...Restrictions Basic logic functions Emergency Stop N2 14 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 958: ...Examples Basic logic functions Emergency Stop N2 16 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 962: ...Index Basic logic functions Emergency Stop N2 20 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 966: ...Table of contents Basic logic functions Transverse axes P1 4 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 978: ...Supplementary conditions Basic logic functions Transverse axes P1 16 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 980: ...Examples Basic logic functions Transverse axes P1 18 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 982: ...Data lists 5 1 Machine data Basic logic functions Transverse axes P1 20 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 984: ...Index Basic logic functions Transverse axes P1 22 Function Manual 11 2006 6FC5397 0BP10 2BA0 Work offset external 13 ...
Страница 990: ...Table of contents Basic logic functions PLC Basic program powerline P3 pl 6 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 1268: ...Supplementary conditions Basic logic functions PLC Basic program powerline P3 pl 284 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 1270: ...Examples Basic logic functions PLC Basic program powerline P3 pl 286 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 1280: ...Table of contents Basic logic functions PLC basic program solution line P3 sl 6 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 1542: ...Examples Basic logic functions PLC basic program solution line P3 sl 268 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 1604: ...Examples Basic logic functions Reference Point Approach R1 58 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 1616: ...Brief Description Basic logic functions Spindles S1 6 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 1703: ...Basic logic functions Spindles S1 Function Manual 11 2006 6FC5397 0BP10 2BA0 93 Constraints 3 No supplementary conditions apply ...
Страница 1704: ...Constraints Basic logic functions Spindles S1 94 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 1716: ...Index Basic logic functions Spindles S1 106 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 1776: ...Detailed description 2 3 Feedrate control Basic logic functions Feeds V1 60 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 1786: ...Data lists 5 3 Signals Basic logic functions Feeds V1 70 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 1794: ...Table of contents Basic logic functions Tool Offset W1 6 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 1798: ...Short description Basic logic functions Tool Offset W1 10 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 1992: ...Data lists 5 3 Signals Basic logic functions Tool Offset W1 204 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 1996: ...Index Basic logic functions Tool Offset W1 208 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 2002: ...Brief description Basic logic functions NC PLC interface signals Z1 6 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 2150: ...Table of contents Basic logic functions Appendix 4 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 2184: ...Glossary Basic logic functions Appendix 38 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...