Siemens sinumerik 840D sl Function Manual page 260

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

Advertisement

Detailed description
2.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 2-2
40
Determining the curve segment associated with master value X = 30
; Beginning of the definition of start and
; starting position of curve table
; Begin of table definition
; Starting 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
Special functions: Axis Couplings and ESR (M3)
Function Manual, 11/2006, 6FC5397-2BP10-2BA0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents