Arccosine : Acos - Mitsubishi Electric Q173CPU Programming Manual

Q series motion controller
Hide thumbs Also See for Q173CPU:
Table of Contents

Advertisement

7 OPERATION CONTROL PROGRAMS

7.6.5 Arccosine : ACOS

Format
[Usable data]
Setting
16-bit
data
Bit device
integer
type
(S)
[Setting data]
Setting data
[Functions]
[Errors]
[Program examples]
ACOS(S)
Word device
64-bit
32-bit
floating
integer
point
type (L)
type (F)
COS value data on which COS
(S)
-1
(1) COS
(arccosine) operation is performed on the COS value data specified with
(S) to find an angle.
(2) The COS value specified with (S) must be within the range -1.0 to 1.0.
(3) The operation result is in an angle (degree) unit.
(4) If (S) is an integer type, it is converted into a floating-point type before operation is
performed.
(1) An operation error will occur if:
• (S) is outside the range -1.0 to 1.0; or
• (S) is an indirectly specified device and its device No. is outside the range.
(1) Program which performs the COS
the result to #0F
#0F = ACOS(D0F)
#3
#2
60.0
Usable Data
Constant
16-bit
32-bit
Coasting
integer
integer type
timer
type (K/H)
(K/H, L)
Description
-1
operation will be performed
-1
(arccosine) operation of D0F and substitutes
#1
#0
7 - 29
F/FS
Number of basic steps
64-bit
Calculation
floating
expression
point
type (K)
Data type of result
(arccosine)
Floating-point type
D3
D2
D1
0.5
G
2
Bit
Comparison
conditional
conditional
expression
expression
: Usable
D0

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Q173cpunQ172cpuQ172cpun

Table of Contents