Chapter 16 PLC Function ApplicationsMS300
API
ATAN
135
D
bit device
X
Y
M
S
D
Notes on operand usage:
Refer to the function specifications table for each device in series for
the scope of device usage.
P
Word device
K
H
KnX KnY KnM
*
*
S: the designated source (binary floating point number). D: the ATAN value result.
ATAN value = tan
-1
The figure below shows the relationship between input data and result:
2
0
2
When X0 = ON, finds the ATAN value of the designated binary floating point
number (D1, D0) and stores the result in (D11, D10), as a binary floating point
number.
Find the arctangent of a binary floating point number
16-bit command
T
C
D
-
*
32-bit command (9 STEP)
*
DATAN
Flag signal: none
740
-
-
Continuous
DATANP
execution type
execution type
-
Pulse