Fnc132 - Tan / Floating Point 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.20 FNC132 – TAN / Floating Point Tangent
Outline
This instruction obtains the tangent value of an angle (in radian).
1. Instruction format
FNC 132
D
TAN
P
2. Set data
Operand Type
S
D
3. Applicable devices
Bit Devices
Oper-
System User
and
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 [
D
Command
input
FNC132
DTAN
S
S
D
D
Mnemonic
16-bit Instruction
Device number storing an angle (in radian) in binary floating point
Device number storing the tangent value in binary floating point
Digit Specification
+1,
].
D
[
S
D
Binary floating point
Value in radian (Value in degree × π / 180)
+1
S
Binary floating point
Tangent value
+1
D
Binary floating point
18.20 FNC132 – TAN / Floating Point Tangent
→ For handling of floating point, refer to Subsection 5.1.3.
Operation Condition
32-bit Instruction
9 steps
Description
Word Devices
Special
System User
Unit
V Z Modify K H
+1,
] is converted into the tangent value, and
S
S
] RAD → [
S
+1,
S
D
+1,
Binary floating point
18 Floating Point – FNC110 to FNC139
Mnemonic
Operation Condition
Continuous
DTAN
Operation
Pulse (Single)
DTANP
Operation
Data Type
Real number (binary)
Others
Con-
Real
Charac-
Index
stant
Number
ter String
E
" "
D
] TAN
11
12
13
14
Pointer
15
P
16
17
18
19
20
497

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3uc seriesMelsec-f

Table of Contents