506
FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
18 Floating Point – FNC110 to FNC139
18.25 FNC137 – DEG / Floating Point Radian to Degree Conversion
18.25 FNC137 – DEG / Floating Point Radian to Degree Conversion
Outline
This instruction converts a value in radians into a value in degree.
→
For handling of floating point, refer to Subsection 5.1.3.
1. Instruction format
2. Set data
3. Applicable devices
Explanation of function and operation
1. 32-bit operation (DDEG and DDEGP)
The unit of [
+1,
] is converted from radian into degree, and the operation result is stored to
[
+1,
].
• The conversion from radian into degree is executed as follows:
Operand Type
Description
Data Type
Head device number storing a value in radian to be converted into a value in
degree
Real number (binary)
Head device number storing a value in degree acquired by conversion
Oper-
and
Type
Bit Devices
Word Devices
Others
System User
Digit Specification
System User
Special
Unit
Index
Con-
stant
Real
Number
Charac-
ter String
Pointer
X Y M T C S D
.b KnX KnY KnM KnS
T
C
D
R U
\G
V
Z Modify K
H
E
"
"
P
3 3
3
3
3
3 3
3
3
−
−
Mnemonic
Operation Condition
16-bit Instruction
DDEG
DDEGP
Mnemonic
Operation Condition
32-bit Instruction
9 steps
Continuous
Operation
Pulse (Single)
Operation
P
FNC 137
DEG
D
S
D
S
D
S
S
D
D
Command
input
FNC137
DDEG
S
D
+1
Binary floating point
(real number)
+1
Binary floating point
(real number)
°
rad
S
S
D
D
Degree = Radian
×
π
180
Содержание FX3U Series
Страница 1: ...PROGRAMMING MANUAL Basic Applied Instructions Edition FX3U FX3UC SERIES PROGRAMMABLE CONTROLLERS ...
Страница 2: ......
Страница 889: ......