Siemens SINUMERIK 840D sl Programming Manual page 514

Job planning
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Axis couplings
11.2 Curve tables (CTAB)
Program code
N60 DEF REAL MAXVAL
N70 DEF REAL GRADIENT
...
N100 CTABDEF(Y,X,1,0)
N110 X0 Y10
N120 X30 Y40
N130 X60 Y5
N140 X70 Y30
N150 X80 Y20
N160 CTABEND
...
N200 STARTPOS=CTABTSV(1,GRADIENT)
N210 ENDPOS=CTABTEV(1,GRADIENT)
N220 STARTPARA=CTABTSP(1,GRADIENT)
N230 ENDPARA=CTABTEP(1,GRADIENT)
N240 MINVAL=CTABTMIN(1)
N250 MAXVAL=CTABTMAX(1)
Example 2:
Determination of following axis values at the start and end of the curve segment associated
with leading axis value X=30.
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)
514
Comment
; Start of table definition
; Start position 1st table segment
; End position 1st table segment = start position 2nd
table segment
; End position 2nd table segment = ...
; End of table definition.
; Following axis value at start of curve table = 10
; Following axis value at end of curve table = 20
; Master axis value at start of curve table = 0
; Master axis value at end of curve table = 80
; Minimum value of following axis with Y=5
; Maximum value of following axis with Y=40
Comment
; Start of table definition.
; Start position 1st table segment
; End position 1st table segment = start position 2nd
table segment
; End position 2nd table segment = ...
; End of table definition.
; Start position Y in 2nd segment = 10
; End position Y in 2nd segment = 40
Programming Manual, 03/2013, 6FC5398-2BP40-3BA1
Job Planning

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents