![background image](http://html1.mh-extra.com/html/ls-industrial-systems/xbc-dn10e/xbc-dn10e_user-manual_1943831380.webp)
Chapter 6 Instruction Details
XBC E-Type Main Unit
6-263
Ver. 1
6.35.6 ATAN, ATANP
Instruction
Area Available
Step
Flag
P M K
F
L
T
C
S
Z D.x R.x
Con
st
U
N
D
R
Error
(F110)
Zero
(F111)
Carry
(F112)
ATAN(P)
S
O O O
-
O O O
-
-
-
-
O O O O O
2~4
-
-
-
D
O O O
-
O
-
-
-
-
-
-
-
O O O O
Operand
Description
Data Size
S
Device number where SIN value for Arc Sine operation is saved
LREAL
D
Device number to save operation result in
LREAL
1) ATAN (Arc Tangent)
(1) Performs Arc Tangent operation of data value in specified area S to save in D. Data type of S and D is of
double real.
(2) Output value is of radian. Refer to DEG, for the conversion from radian to degree.
(3) If S’s value is
1.0
, operation result is
0.7853... (
π
/4 rad = 45°)
2) Program Example
P00001
P00000
DEG M0000 M0004
ATAN M0008 M0000
Performs ATAN operation of value in M0008, M0009 and saves them in M0000, M0001.
Then it converts the Radian value in the M0000, M0001 into the Degree value and saves them in M0004,
M0005.
ATAN
ATANP
S
D
ATANP
ATAN
S
D
Summary of Contents for XBC-DN10E
Page 1: ......
Page 10: ...Table of Contents Table of Contents 6 10 10 CLEAR ALL PLC 29...