Arc cosine (acs) -32, 5 arc cosine (acs) ! ! ! ! outline, Detailed explanation – Yaskawa MotionSuite Series Machine Controller Programming Manual User Manual
Page 164: Program example

MotionSuite™ Series Machine Controller Motion Programming Manual
Chapter 4: Sequence Commands
4-32
4.6.5
Arc Cosine (ACS)
!
!
!
! Outline
The ACS command uses a designated variable and constant (unit: degree) as an input, and
leaves the arc cosine to the real number register.
!
!
!
! Detailed Explanation
Command Method
Data Type
$ = Yes
× = No
!
!
!
! Program Example
Example: Calculate the arc cosine of input value (0.5): 60
°=θ=ACS (0.5)
Supplement
The ACS command can only be used for real number data. When a bit, integer, and 32-bit
integer are designated, an error occurs during compilation.
Bit (B)
Integer (W)
32-bit Integer (L)
Real (F)
Constant
×
×
×
$
$
Type
Motion Program
Ladder Program
B
—
—
W
—
—
L
—
—
F
DF00202
=
ACS(DF00200);
MF00100=ACS(MF00102);
MF00200=ACS(60.0);
DF00200
ACOS
⇒DF00202
MF00100=ACS(MF00102);
(0.5)
(60.0)