Siemens SINUMERIK 840D sl Function Manual page 226

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

Advertisement

M3: Coupled axes
5.2 Curve tables
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:
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 5-2
226
Determining the curve segment associated with master value X = 30
;Beginning of the definition for the
start position of the curve table
;Begin 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 is associated with LW X =
30.0
Function Manual, 09/2011, 6FC5397-2BP40-2BA0
Special Functions

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents