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

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

Advertisement

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.
Program code
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 CTABENDmust be specified for precisely the axis
names that have been programmed in CTABDEF as the leading axis name and following axis
name. In the case of programming errors, alarms or incorrect contours may be generated.
8.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 part 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.
Reading segment positions
Segment positions of a curve table for the value for the following axis can be read using the
CTABSSV and CTABSEV calls.
The language commands CTABSSV and CTABSEV generally provide the start and end values
of the internal segments of the curve tables for the following axis. These values only agree
with the programmed values of the curve tables if the programmed segments can be converted
Special functions
Function Manual, 01/2015, 6FC5397-2BP40-5BA2
8.2 Curve tables - 840D sl only
Comment
; Start of the definition for the non-
; periodic curve table no. 1
; WZR compensation on
; WZR compensation off
M3: Coupled axes
317

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents