EasyManua.ls Logo

Panasonic FP7 Series - ATAN2 (Conversion: Coordinate Data Angle Radian)

Panasonic FP7 Series
1222 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
11.7 ATAN2 (Conversion: Coordinate Data → Angle Radian)
Ladder diagram
Available operation units (●: Available)
Operatio
n unit
bit US SS UL SL SF DF
i
List of operands
Operand Description
S1 Dividend of angle data (device address or constant) (Y coordinate)
S2 Angle data divisor (device address or constant) (X coordinate)
D Calculation result (device address) (units: radian)
Available devices (●: Available)
Operan
d
16-Bit device:
32-Bit
device:
Integer
Real
numbe
r
St
rin
g
Index
modifie
r
(Note 1)
W
X
W
Y
W
R
W
L
W
S
S
D
D
T
L
D
U
M
WI
W
O
TS
C
S
TE
C
E
IX
(N
ote
2)
K H
SF
(N
ote
3)
D
F
(N
ote
4)
" "
S1
S2
D
(Note 1) Only 16-bit devices, and 32-bit devices can be modified (real number constants cannot be specified).
(Note 2) Index register (I0 to IE)
(Note 3) Can be specified only when the operation unit is a single-precision floating point real number (SF).
(Note 4) Can be specified only when the operation unit is a double-precision floating point real number (DF).
Outline of operation
According to the operation unit [i], ATAN (units: radian) is calculated from the Y coordinate
specified by [S1] and the X coordinate specified by [S2].
The calculation result is stored in the area starting with [D].
ATAN2([S1], [S2]) → [D]
11.7 ATAN2 (Conversion: Coordinate Data → Angle Radian)
WUME-FP7CPUPGR-12 11-15

Table of Contents

Other manuals for Panasonic FP7 Series

Related product manuals