FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
18.20 FNC132 – TAN / Floating Point Tangent
Outline
This instruction obtains the tangent value of an angle (in radians).
1. Instruction format
FNC 132
D
TAN
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 (DTAN and DTANP)
A value of angle (binary floating point) specified in [
transferred to [
Command
input
FNC132
DTAN
S
S
D
D
522
Mnemonic
16-bit Instruction
P
−
Device number storing an angle (in radians) in binary floating point
Device number storing the tangent value in binary floating point
Digit Specification
+1,
].
D
D
S
D
+1
S
+1
D
→ For handling of floating point, refer to Subsection 5.1.3.
Operation Condition
32-bit Instruction
Description
Word Devices
Special
System User
Unit
S
+1,
S
] RAD → [
[
+1,
S
S
Binary floating point
Value in radians (Value in degrees × π /180)
Binary floating point
Tangent value
Binary floating point
18 Floating Point – FNC110 to FNC139
18.20 FNC132 – TAN / Floating Point Tangent
Mnemonic
Operation Condition
DTAN
9 steps
DTANP
Real number (binary)
Con-
Real
Index
stant
Number
V
Z Modify K H
E
] is converted into the tangent value, and
+1,
] TAN
D
D
Binary floating point
Continuous
Operation
Pulse (Single)
Operation
Data Type
Others
Charac-
Pointer
ter String
" "
P