Fnc136 - Rad / Floating Point Degree To Radian Conversion - 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.24 FNC136 – RAD / Floating Point Degree to Radian Conversion
Outline
This instruction converts a value in degree into a value in radian.
1. Instruction format
FNC 136
D
RAD
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 [
[
+1,
D
D
A real number can be directly specified as
Command
input
FNC136
DRAD
+1
S
Binary floating point
(real number)
• The conversion from degree into radian is executed as follows:
Radian = Degree ×
504
Mnemonic
16-bit Instruction
P
Head device number storing a value in degree to be converted into a value in
radian
Head device number storing a value in radian acquired by conversion
Digit Specification
+1,
] is converted from degree into radian, and the operation result is stored to
S
S
].
S
D
S
D
°
Binary floating point
(real number)
π
180
18.24 FNC136 – RAD / Floating Point Degree to Radian Conversion
→ 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
D
rad
18 Floating Point – FNC110 to FNC139
Mnemonic
Operation Condition
DRAD
9 steps
DRADP
Real number (binary)
Others
Con-
Real
Index
stant
Number
V Z Modify K H
E
Continuous
Operation
Pulse (Single)
Operation
Data Type
Charac-
Pointer
ter String
" "
P

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3uc seriesMelsec-f

Table of Contents