Programming Principles; Fundamentals Of Programming; Program Names - Siemens SINUMERIK User Manual

Hide thumbs Also See for SINUMERIK:
Table of Contents

Advertisement

Calculation examples
Task
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.
Example
76
Input -> 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 (Turning)
01/2017

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 808dSinumerik 808d advanced

Table of Contents