Siemens SINUMERIK 840D Function Manual page 443

Mc axes and spindles
Hide thumbs Also See for SINUMERIK 840D:
Table of Contents

Advertisement

Identifying the segment associated with master value X
Example of reading the segment starting and end values for determining the curve segment
associated with master value X = 30 using CTABSSV and CTABSEV:
Program code
N10 DEF REAL STARTPOS
N20 DEF REAL ENDPOS
N30 DEF REAL GRADIENT
N100 CTABDEF(Y,X,1,0)
N110 X0 Y0
N120 X20 Y10
N130 X40 Y40
N140 X60 Y10
N150 X80 Y0
N160 CTABEND
N200 STARTPOS=CTABSSV(30.0,1,GRADIENT)
N210 ENDPOS=
CTABSEV(30.0,1,GRADIENT)
Figure 14-2
Reading values at start and end
The values of the following axes and of the master axis at the start and end of a curve table can
be read with the following calls:
R10 =CTABTSV(n, degrees, F axis), following value at the beginning of the curve table
R10 =CTABTEV(n, degrees, F axis), following value at the beginning of the curve table
R10 =CTABTSP(n, degrees, F axis), following value at the beginning of the curve table
Axes and spindles
Function Manual, 06/2019, A5E47437747B AA
Determining the curve segment associated with master value X = 30
Comment
; Beginning of the definition for the
start position of the curve table
; Start of table definition
; Start position, 1st table segment
; End position, 1st table segment =
; Start position 2nd table segment
; 3. Curve segment
; 4. Curve segment
; End of table definition
; Start position Y in segment 2 = 10.
; End position Y in segment 2 = 40
; Segment 2 belongs to LW X = 30.0
M3: Coupled axes
14.2 Curve tables
443

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents