Programming trigonometric functions
Press the ANGLE FUNCTION soft key to call the trigonometric
functions. The TNC then displays the following soft keys:
Programming: Compare "Example: Programming fundamental
operations."
Function
D06: SINE
Example: D06 Q20 P01 -Q5 *
Calculates and assigns the sine of an angle in
degrees (°)
D07: COSINE
Example: D07 Q21 P01 -Q5 *
Calculates and assigns the cosine of an angle in
degrees (°)
D08: ROOT SUM OF SQUARES
Example: D08 Q10 P01 +5 P02 +4 *
Calculates and assigns length from two values
D13: ANGLE
Example: D13 Q20 P01 +10 P02 -Q1 *
Calculates the angle from the arc tangent of
two sides or from the sine and cosine of the
angle (0 < angle < 360°) and assigns it to a
parameter
262
Soft key
Programming: Q Parameters