FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
18.24 FNC136 – RAD / Floating Point Degrees to Radians Conversion
Outline
This instruction converts a value in degrees into a value in radians.
1. Instruction format
FNC 136
D
RAD
P
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 (DRAD and DRADP)
The unit of [
S
D
].
A real number can be directly specified as
Command
input
FNC136
DRAD
+1
S
S
Binary floating point
(real number)
• The conversion from degrees into radians is executed as follows:
Radians = Degrees ×
Mnemonic
16-bit Instruction
−
−
Head device number storing a value in degrees to be converted into a value in radians
Head device number storing a value in radians acquired by conversion
Digit Specification
+1,
S
] is converted from degrees into radians, and the operation result is stored to [
S
S
D
+1
D
°
Binary floating point
(real number)
π
180
18.24 FNC136 – RAD / Floating Point Degrees to Radians Conversion
→ 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
.
D
rad
18 Floating Point – FNC110 to FNC139
Mnemonic
Operation Condition
Continuous
DRAD
Operation
Pulse (Single)
DRADP
Operation
Data Type
Real number (binary)
Others
Con-
Real
Charac-
Index
stant
Number
ter String
Z Modify K H
E
" "
11
12
13
14
Pointer
15
P
16
D
+1,
17
18
19
20
529