Arc Tangent - Delta DVP-PLC Applications Manual

Table of Contents

Advertisement

API
Mnemonic
135
D
ATAN
P
Type
Bit Devices
X
Y
OP
S
D
Operands:
S: Source value (binary floating point)
Explanations:
1.
See the specifications of each model for their range of use.
2.
Flag: M1020 (zero flag)
–1
3.
ATAN value=tan
. The figure below offers the relation between the entered tan value and the result.
R
2
0
-
2
4.
If the result =0, M1020 = On.
Program Example:
When X0 = On, obtain the ATAN value of binary floating point (D1, D0) and store the binary floating point result in
(D11, D10).
X0
DATAN
D1
D0
D11
D10
Remarks:
For floating point operations, see "5.3 Handling of Numeric Values".
DVP-PLC Application Manual
Operands

Arc Tangent

M
S
K
H KnX KnY KnM KnS T
*
*
ES EX SS SA SX SC EH SV ES EX SS SA SX SC EH SV ES EX SS SA SX SC EH SV
D: ATAN value
S: Entered data (tangent value)
R: ATAN value (radian)
S
D0
D10
binary floating point
ATAN value
binary floating point
8 Application Instructions API 100-149
Function
Word Devices
C
PULSE
Controllers
ES/EX/SS SA/SX/SC EH/SV
Program Steps
D
E
F
DATAN, DATANP: 9 steps
*
*
16-bit
32-bit
8-51

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DVP-PLC and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF