Pulser3 Programming Manual
Download PDF
Arctangent (a = atan[b / c])
It divides the value of b by the value of c, then takes the arctangent of the result and loads it into variable a.
Example:
(IT DIVIDES #1 BY #2, THEN CALCULATES THE ARCTANGENT)
(OF THE RESULT AND LOADS IT INTO VARIABLE #0)
G65 L34 P#0 Q#1 R#2
Example:
(IT DIVIDES #1 BY #2, THEN CALCULATES THE ARCTANGENT)
(OF THE RESULT AND LOADS IT INTO VARIABLE #0)
#0 = ATAN[#1, #2]
When the divisor value (c) is set to 0, <ALM79> a division by zero error occurs in Macro Commands.
