Asin (arc sine), Function, Arguments: @asin [n] where – Yaskawa LEGEND-MC User Manual
Page 77: N is an unsigned integer
Advertising

67
LEGEND-MC User’s Manual
@ASIN (Arc Sine)
[Function]
DESCRIPTION:
@ASIN returns the arc sine, in degrees, of a number or variable which is inserted in square brackets.
Note that the @ASIN command is a function, which means that it does not follow the convention of
other commands, and does not require the underscore when used as an operand.
ARGUMENTS: @ASIN [n]
where
n is an unsigned integer
USAGE:
EXAMPLES:
While Moving
Yes
Minimum n value
-1
In a Program
Yes
Maximum n value
1
Not in a program
Yes
Default Value
---
Can be Interrogated
No
Default Format
---
Used as an Operand
Yes
Distributed Control
No, Local
#TEST
Program TEST
MG @ASIN[VAR1]
Set variable
VAR1=.707
Display the arc sine of .707
VAR2=@ASIN[VAR1]+5
Perform calculation
EN
End of program
Advertising