Axis couplings
9.2 Curve tables (CTAB)
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)
Further information
Use in synchronized actions
All commands for reading curve table values can also be used in synchronized actions (see
also the chapter titled "Motion-synchronous actions").
When using the
● Sufficient NC power is available at the time of execution
● The number of segments in the curve table is queried prior to the call, so that the table
516
,
CTABINV
CTABTMIN
or
concerned can be subdivided if necessary
Comment
; Beginning of table definition
; Start position 1st table segment
; End position 1st table segment = start position 2nd
table segment
End position 2nd table segment = etc.
; End of table definition.
; Start position Y in 2nd segment = 10
; End position Y in 2nd segment = 40
, and
commands, make sure that:
CTABTMAX
Programming Manual, 07/2010, 6FC5398-2BP40-0BA0
Job planning