Programming principles
1.1 Fundamentals of programming
Turning Part 2: Programming (Siemens instructions)
24 Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0
Address Significance Value assignments Information Programming
OFFN Dimension
specification
- Only effective with the tool
radius compensation G41, G42
active
N10 OFFN=12.4
RND Rounding 0.010 ... 99 999.999 Inserts a rounding with the
specified radius value
tangentially between two
contour blocks
N10 X... Z.... RND=...
N11 X... Z...
RNDM Modal rounding 0.010 ... 99 999.999
0
- Inserts roundings with the
specified radius value
tangentially
at the following contour corners;
special feedrate possible:
FRCM= ... - Modal rounding
OFF
N10 X... Y.... RNDM=.7.3
;modal rounding ON
N11 X... Y...
....
N100 RNDM=.0 ;modal
rounding OFF
RPL Angle of rotation
with ROT, AROT
±0.00001 ... 359.9999 Specification in degrees; angle
for a programmable rotation in
the current plane G17 to G19
see ROT, AROT
SET( , , , )
REP()
Set values for the
variable fields
SET: Various values, from the
specified element
up to: according to the number
of values
REP: the same value, from the
specified element up to the
end of the field
DEF REAL
VAR2[12]=REP(4.5) ; all
elements value 4.5
N10
R10=SET(1.1,2.3,4.4) ;
R10=1.1, R11=2.3,
R4=4.4
SF Thread starting
point when using
G33
0.001 ... 359.999 Specified in degrees; the thread
starting point with G33 will be
offset by the specified value
See G33
SPI(n) converts the
spindle number n
into the axis
identifier
n =1,
axis identifier: e.g. "SP1" or "C"
SPOS
SPOS(n)
spindle position 0.0000 ... 359.9999 specified in degrees; the spindle
stops at the specified position
(to achieve this, the spindle
must provide the appropriate
technical prerequisites: position
control)
Spindle number n: 1
N10 SPOS=....
N10 SPOS=ACP(...)
N10 SPOS=ACN(...)
N10 SPOS=IC(...)
N10 SPOS=DC(...)
SPOSA Spindle position 0.0000 ... 359.9999 SPOS and SPOSA have the
same functionality but differ in
their block change behavior:
With SPOS, the NC block is only
enabled once the position has
been reached.
With SPOSA, the block is
enabled even if the position has
not been reached.
SPOSA=<value> /
SPOSA [<n>] = <value>/