Fnc135 - Atan / Floating Point Arc Tangent - Mitsubishi FX3U Series Programming Manual

Hide thumbs Also See for FX3U Series:
Table of Contents

Advertisement

FX
/FX
Series Programmable Controllers
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
18.23 FNC135 – ATAN / Floating Point Arc Tangent
Outline
This instruction executes the TAN
1. Instruction format
FNC 135
D
ATAN
2. Set data
Operand Type
S
D
3. Applicable devices
Bit Devices
Oper-
and
System User
Type
X Y M T C S D .b KnX KnY KnM KnS T C D R U \G
S
D
Explanation of function and operation
1. 32-bit operation (DATAN and DATANP)
An angle is obtained from the tangent value stored in [
A real number can be directly specified as
Command
input
FNC135
DATAN
S
−1
TAN
Binary floating point
(real number)
• The angle (operation result) stored in [
For conversion between radian and degree, refer to RAD (FNC136) and DEG (FNC137) instructions.
502
−1
(arc tangent) operation.
Mnemonic
16-bit Instruction
P
Head device number storing a tangent value used in the TAN
operation
Head device number storing the operation result
Digit Specification
S
D
+1
S
18.23 FNC135 – ATAN / Floating Point Arc Tangent
→ For handling of floating point, refer to Subsection 5.1.3.
Operation Condition
32-bit Instruction
Description
Word Devices
Special
System User
Unit
+1,
S
S
.
S
+1
D
D
Binary floating point
(real number)
] is expressed in radian (from −π/2 to +π/2).
+1,
D
D
→ For RAD (FNC136) instruction, refer to Section 18.24.
→ For DEG (FNC137) instruction, refer to Section 18.25.
18 Floating Point – FNC110 to FNC139
Mnemonic
Operation Condition
DATAN
9 steps
DATANP
−1
(arc tangent)
Real number (binary)
Others
Con-
Real
Index
stant
Number
V Z Modify K H
E
], and stored to [
+1,
D
Continuous
Operation
Pulse (Single)
Operation
Data Type
Charac-
Pointer
ter String
" "
P
].
D

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3uc seriesMelsec-f

Table of Contents