Fundamentals Of Programming - Siemens SINUMERIK 808D User Manual

Programming and operating manual (milling)
Hide thumbs Also See for SINUMERIK 808D:
Table of Contents

Advertisement

C h aracters that may be entered
+, -, *, /
Basic arithmetic operations
S
Sine function
The X value (in degrees) in front of the input cursor is replaced by the sin(X) value.
O
Cosine function
The X value (in degrees) in front of the input cursor is replaced by the cos(X) value.
Q
Square function
The X value in front of the input cursor is replaced by the X
R
Square root function
The X value in front of the input cursor is replaced by the √X value.
( )
Bracket function (X+Y)*Z
C a lculation examples
Ta sk
100 + (67*3)
sin(45_)
cos(45_)
4
2
√4
(34+3*2)*10
To calculate auxiliary points on a contour, the pocket calculator offers the following functions:
● Calculating the tangential transition between a circle sector and a straight line
● Moving a point in the plane
● Converting polar coordinates to Cartesian coordinates
● Adding the second end point of a straight line/straight line contour section given from an angular relation
11
Programming principles
11.1

Fundamentals of programming

11.1.1
Program names
Each program must have a program name. The program name must follow the conventions below:
● Use a maximum of 24 letters or 12 Chinese characters for a program name (the character length of the file extension
excluded)
● Separate the file extension only with a decimal point
● Enter the file extension ".SPF" if the current default program type is MPF (main program) and you desire to create a
subprogram
● Enter the file extension ".MPF" if the current default program type is SPF (subprogram) and you desire to create a main
program
● Do not enter the file extension if you desire to take the current default program type
● Avoid using special characters for program names.
78
value.
2
In put -> Result
100+67*3 -> 301
45 S -> 0.707107
45 O -> 0.707107
4 Q -> 16
4 R -> 2
(34+3*2)*10 -> 400
Programming and Operating Manual (Milling)
6FC5398-4DP10-0BA6, 09/2017

Advertisement

Table of Contents
loading

Table of Contents