Siemens sinumerik 840D sl Function Manual page 261

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

Advertisement

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
R10 =CTABTEP(n, degrees, F axis), following value at the beginning of the curve table
Value range of following value
The following example illustrates how the minimum and maximum values of the table are
determined using CTABTMIN and CTABTMAX:
N10 DEF REAL STARTVAL
N20 DEF REAL ENDVAL
N30 DEF REAL STARTPARA
N40 DEF REAL ENDPARA
N50 DEF REAL MINVAL
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)
Special functions: Axis Couplings and ESR (M3)
Function Manual, 11/2006, 6FC5397-2BP10-2BA0
Detailed description
; Beginning of definition of start and
; Initial values of curve table
; Begin of table definition
; Start value of the 1st table segment
; End position 1st table segment =
; start position 2nd table segment
; End position of the 2nd table segment ...
; End position of the 3rd table segment ...
; End position of the 4th table segment ...
; End of table definition
; STARTPOS = 10
; Start position of table as well as
; ENDPOS = 20
; End position of table
; STARTPARA = 0,
; Master value at beginning of curve table
; ENDPARA = 80
; Master value at end of curve table
; read from value range of following axis
; Minimum value when Y = 5 and
; Maximum value when Y = 40
2.2 Curve tables
41

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents