Program Structure; Programming Instructions; Programming Dimensions - Siemens SINUMERIK User Manual

Hide thumbs Also See for SINUMERIK:
Table of Contents

Advertisement

11.1.2

Program structure

Structure and content
The NC program consists of a sequence of blocks (see the table below). Each block represents a machining step.
Instructions are written in the blocks in the form of words. The last block in the execution sequence contains a special word
for the end of the program, for example, M2.
The following table shows you an example of the NC program structure.
Block
Word
Block
N10
Block
N20
Block
N30
Block
N40
Block
N50
11.2

Programming instructions

11.2.1

Programming dimensions

In this section you will find descriptions of the commands, with which you can directly program dimensions taken from a
drawing. This has the advantage that no extensive calculations have to be made for NC programming.
Note
The commands described in this section stand in most cases at the start of an NC program. The way, in which these
functions are combined, is not intended to be a patent remedy. For example, the choice of working plane may be made at
another point in the NC program. The real purpose of this and the following sections is to illustrate the conventional structure
of an NC program.
Overview of typical dimensions
The basis of most NC programs is a drawing with concrete dimensions.
When implementing in a NC program, it is helpful to take over exactly the dimensions of a workpiece drawing into the
machining program. These can be:
● Absolute dimension, G90 modally effective applies for all axes in the block, up to revocation by G91 in a following block.
● Absolute dimension, X=AC(value) only this value applies only for the stated axis and is not influenced by G90/G91. This
is possible for all axes and also for SPOS, SPOSA spindle positionings, and interpolation parameters I, J, K.
● Absolute dimension, X=DC(value) directly approaching the position by the shortest route, only this value applies only for
the stated rotary axis and is not influenced by G90/G91. This is also possible for SPOS, SPOSA spindle positionings.
● Absolute dimension, X=ACP(value) approaching the position in positive direction, only this value is set only for the rotary
axis, the range of which is set to 0... < 360 degrees in the machine data.
● Absolute dimension, X=ACN(value) approaching the position in negative direction, only this value is set only for the
rotary axis, the range of which is set to 0... < 360 degrees in the machine data.
● Incremental dimension, G91 modally effective applies for all axes in the block, until it is revoked by G90 in a following
block.
● Incremental dimension, X=IC(value) only this value applies exclusively for the stated axis and is not influenced by
G90/G91. This is possible for all axes and also for SPOS, SPOSA spindle positionings, and interpolation parameters I, J,
K.
● Inch dimension, G70 applies for all linear axes in the block, until revoked by G71 in a following block.
● Metric dimension, G71 applies for all linear axes in the block, until revoked by G70 in a following block.
● Inch dimension as G70, however, G700 applies also for feedrate and length-related setting data.
● Metric dimension as G71, however, G710 applies also for feedrate and length-related setting data.
● Diameter programming, DIAMON on
● Diameter programming, DIAMOF off
Diameter programming, DIAM90 for traversing blocks with G90. Radius programming for traversing blocks with G91.
Programming and Operating Manual (Turning)
01/2017
Word
Word
G0
X20
G2
Z37
G91
...
...
...
M2
...
; Comment
...
; First block
...
; Second block
...
; ...
...
; End of program
77

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 808dSinumerik 808d advanced

Table of Contents