Delta Electronics VFD037CH23A-21 [541/638] Bit command 5 steps

Превью страниц Страница 541 / 638
Delta Electronics VFD015CH23A-21 [541/638] Bit command
Chapter 16 PLC Function CH2000 Series
16-88
API
135
D
ATAN
P
Art Tangent
Bit Devices Word Devices
X
Y
M
K H KnX KnY KnM T C D
S
D
Operands:
Please refer to the specifications of each model for the
range of operands.
16-bit command (5 STEPS)
32-bit command
DATAN
DATANP
Flag signal: none
Explanation
S: Source device (binary floating value) D: Operation result
ATAN value = tan
-1
See the figure below for the relation between the input and the result:
R
S
2
2
-
0
S: Input (TAN value)
R: Result (ATAN value)
Example
When X0 = ON, DATAN instruction performs arc tangent operation on the binary
floating value in(D1, D0) and stores the ATAN value in (D11, D10) in binary floating
format.
X0
DATAN
D0 D10
D 1 D 0
D 10
D 11
Binary floating point
ATAN value
binary floating point

Содержание

1610