Access To Table Positions And Table Segments - Siemens SINUMERIK 840D sl Function Manual

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

Advertisement

M3: Coupled axes
5.2 Curve tables
N130 AX1=150 AX2=6
N130 AX1=180 AX2=0
N200 CTABEND
Example 2
Example of a curve table with active tool radius compensation:
Prior to definition of a curve table with CTABDEF(), tool radius compensation must not be
active; otherwise alarm 10942 is generated. This means that tool radius compensation must
be activated within the definition of the curve table. Similarly, it must be deactivated again
before the end of the curve table definition, using CTABEND.
N10 CTABDEF(Y, X, 1, 0)
N20 X0 Y0
N30 G41 X10 Y0
N40 X20 Y20
N50 X40 Y0
N60 X60 Y20
N70 X80 Y0
N80 G40 X90 Y0
N90 CTABEND
Tool radius compensation is activated in block N30; this causes the approach movement for
radius compensation to be made in this block. Similarly, the approach movement for
deactivation of the radius compensation is made in block N80.
Note
The value pairs between CTABDEF and CTABEND must be specified for precisely the axis
identifiers that have been programmed in CTABDEF as the leading axis and following axis
identifiers. In the case of programming errors, alarms or incorrect contours may be
generated.
5.2.6

Access to table positions and table segments

Reading table positions
With the program commands CTAB and CTABINV the following value for a master value
(CTAB) can be read from the parts program and from synchronous actions, or alternatively the
master value can be read off for a following value. The pitch value can be used to calculate
the speed of the following axis or leading axis at any position in the table.
224
; 3. Curve segment: Master value: 100...150,
following value 6
; 4. Curve segment: Master value: 150...180,
following value: 6...0
; End of definition, curve table
; is generated in internal representation.
Preprocessing reorganizes to state at
; the beginning of N100
; Beginning of the definition of non-
; periodic curve table No. 1
; WZR compensation on
; WZR compensation off
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