Fnc136 - Rad / Floating Point Degrees To Radians Conversion - Mitsubishi Electric MELSEC FX3U Programming Manual

Melsec fx series programmable logic controllers
Table of Contents

Advertisement

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
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 degrees into radians is executed as follows:
Radians = Degrees ×
550
Mnemonic
16-bit Instruction
P
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,
] is converted from degrees into radians, and the operation result is stored to
S
S
].
S
D
S
D
°
Binary floating point
π
180
18.24 FNC136 – RAD / Floating Point Degrees to Radians Conversion
→ For handling of floating point, refer to Subsection 5.1.3.
Operation Condition
Description
Word Devices
Special
System User
Unit
.
S
+1
D
rad
(real number)
18 Floating Point – FNC110 to FNC139
Mnemonic
32-bit Instruction
DRAD
9 steps
DRADP
Real number (binary)
Con-
Real
Index
stant
Number
V Z Modify K H
E
Operation Condition
Continuous
Operation
Pulse (Single)
Operation
Data Type
Others
Charac-
Pointer
ter String
" "
P

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec fx3ucMelsec fx3g

Table of Contents