EasyManuals Logo

Siemens SINUMERIK 810D Programming Guide

Siemens SINUMERIK 810D
598 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #40 background imageLoading...
Page #40 background image
1
Flexible NC Programming 04.00
1.6 Arithmetic o
p
erations/functions
1
840D
NCU 571
840D
NCU 572
NCU 573
FM-NC 810D 840Di
ï›™
Siemens AG 2000. All rights reserved
1-40
SINUMERIK 840D/840Di/810D/FM-NC Programming Guide Advanced (PGA)
−
04.00 Edition
Programming examples
R1=R1+1
New R1 = old R1 +1
R1=R2+R3 R4=R5-R6 R7=R8*R9
R10=R11/R12 R13=SIN(25.3)
R14=R1*R2+R3
Multiplication and division have priority over
addition and subtraction
R14=(R1+R2)*R3
Parentheses are calculated first
R15=SQRT(POT(R1)+POT(R2))
Inner parentheses are solved first
R15 = square root of (R1
2
+R2
2
)
RESFRAME= FRAME1:FRAME2
FRAME3=CTRANS(…):CROT(…)
The chain operator combines frames in a
resulting frame or assigns values to the
frame components
Arithmetic function ATAN2( , )
The function calculates the angle of the resulting
vector from two vectors at right angles to each other.
The result is in one of four quadrants (–180 < 0 <
+180°). The angular reference is always based on
the 2nd value in the positive direction.
80.1
30.5
-80
30
R3=ATAN2(30.5,80.1)
R3=ATAN2(30,-80)
1st vector
2nd vector
2nd vector
1st vector
Angle=20.8455°
Angle=159.444°

Table of Contents

Other manuals for Siemens SINUMERIK 810D

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK 810D and is the answer not in the manual?

Siemens SINUMERIK 810D Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK 810D
CategoryControl Unit
LanguageEnglish

Related product manuals