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.
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 = 3025 mm radius at 60°:
R1 = 25R2 = 60Your 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.