Arithmetic & Functions

Do trigonometry on a SINUMERIK and know that it works in degrees.

SINUMERIK maths uses ordinary round brackets for function arguments, and trig is in degrees — not radians. COS(30) is 0.866, not what a calculator in radian mode would tell you.

Read firstSinumerik Programming Basics (828D)Fanuc-to-Siemens translation guide for the Sinumerik 828D: program structure, tool calls, work offsets, frames (TRANS/ROT), cycles, and ShopMill vs G-code programs.

Your turn

The machine hands you a radius in R1 and an angle in degrees in R2. Compute the point on the circle at that angle: R10 = the X distance, R11 = the Y distance.

The machine gives you

40 mm radius at 30°:R1 = 40R2 = 30
25 mm radius at 60°:R1 = 25R2 = 60

Your program is run once for each set of conditions. It has to work for all of them.

Loading...

This is a learning simulation — always prove out a program on the actual control before you cut metal.