Download Print this page

Calculating The Arc Cosine Of Single-Precision Real Number - Mitsubishi Electric MELSEC iQ-F FX5 Programming Manual

Instructions, standard functions/function blocks
Hide thumbs Also See for MELSEC iQ-F FX5:

Advertisement

Calculating the arc cosine of single-precision real number

ACOS(P)/DACOS(P)
These instructions calculate the angle from the cosine of the angle specified by (s), and store the operation result in the word
device specified by (d).
The ACOS(P) instructions can also be used as DACOS(P).
Ladder diagram
(s)
(d)
*1
FBD/LD
EN
ENO
s
d
*1 The ACOS instruction is not supported by the ST language and the FBD/LD language. Use ACOS of the standard function.
Page 985 ACOS(_E)
Setting data
■Descriptions, ranges, and data types
Operand
Description
(s)
A cosine value used in COS
head device number storing the cosine value
(d)
Head device number for storing the operation result
EN
Execution condition
ENO
Execution result
■Applicable devices
Operand
Bit
X, Y, M, L, SM,
F, B, SB, S
(s)
(d)
-1
(arc cosine) operation or
Word
T, ST, C, D, W,
U\G
SD, SW, R
*1
Structured text
ENO:=ACOSP(EN,s,d)
Range
Data type
-1.0 to +1.0
Single-precision real number
0 to 
Single-precision real number
Bit
Bit
Double word Indirect
specification
Z
LC
LZ
Data type (label)
ANYREAL_32
ANYREAL_32
BOOL
BOOL
Constant
Others
K, H
E
$
8 APPLICATION INSTRUCTION
8.9 Real Number Instruction
8
523

Hide quick links:

Advertisement

loading