EasyManuals Logo
Home>Mitsubishi>Controller>MELSEC Q Series

Mitsubishi MELSEC Q Series Programming Manual

Mitsubishi MELSEC Q Series
1296 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #655 background imageLoading...
Page #655 background image
7-281
DEGD(P)
1
2
3
4
6
6
7
8
7.12 Special function instructions
7.12.16 Conversion from floating-point radian to angle (Double precision) (DEGD(P))
Program Example
(1) The following program converts the radian value set with 64-bit floating decimal point type
real number at D20 to D23 to angles, and stores the result as a BCD value at Y40 to Y4F.
[Ladder Mode]
[List Mode]
[Operations involved when the values at D20 to D23 are 1.435792]
Converts the angle in 64-bit floating-point
real number into an integer ( ).
Outputs the converted integer to a display
device ( ).
Converts a radian value into an angle ( ).
1
2
3
Step Instruction Device
Conversion
to angle
DEGD
BCD operation
BCD
Conversion
to BIN
INTD
D0
b15 b0
BIN value
82
Y4F
BCD value
0
082
Y4
0
64-bit floating-point
real number
64-bit floating-point
real number
D21
1.435792
D20D23 D22
D11
82.26482
D10D13 D12
1
2
3

Table of Contents

Other manuals for Mitsubishi MELSEC Q Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC Q Series and is the answer not in the manual?

Mitsubishi MELSEC Q Series Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC Q Series
CategoryController
LanguageEnglish

Related product manuals