Mitsubishi Electric M800VW Series Programming Manual page 393

Plc programming
Hide thumbs Also See for M800VW Series:
Table of Contents

Advertisement

M800V/M80V Series PLC Programming Manual (1/2)
8 Function Instructions
8.11 Special Function Instructions
ACOSD, ACOSDP: COS
Setting
Bit devices
data
X
Y
M
L
F
S
D
[Instruction symbol] [Execution condition]
ACOSD
ACOSDP
 Setting data
Setting data
COS value for which the COS
S
the device where COS value is stored.
D
The first number of the device to store the operation result.
 Functions
ACOSD
 Returns the arccosine angle of the COS value designated by (S) and stores the operation result in the device number des-
ignated by (D).
S+3
S+2
S+1 S
(
-1
COS
64-bit floating-point real
number
 COS values between -1.0 to 1.0 can be designated by (S).
 The angle (operation result) stored at (D) is stored in radian units. For conversion between degrees and radian values, refer
to the RADD and DEGD instructions.
 When the operation results in "-0" or an underflow occurs, the operation result is processed as "0".
 When setting input values from programming tools, rounding errors may occur.
For precautions when setting input values from programming tools, refer to "6.3.4 Single/Double-Precision Real Number
Data".
IB-1501667-B
-1
operation on floating-point data (double precision)
Usable devices
B SB
T SM V
T
C
Command
Command
Meaning
-1
(arccosine) value is obtained or the first number of
D+3
D+2
D+1
)
64-bit floating-point real
number
Word devices
D
R/ZR W SW SD
Z
D
372
Digit
Con-
Pointer
designa-
Index
stant
tion
E
P
indicates the sign "ACOSD".
S
D
P
S
D
Data type
Real number

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents