EasyManuals Logo

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 #626 background imageLoading...
Page #626 background image
7-252
SIND(P)
Program Example
(1) The following program conducts a SIN operation on the angles stored in the four BCD digits
from X20 to X2F and stores the results at D0 to D3 as 64-bit floating decimal point type real
numbers.
[Ladder Mode]
[List Mode]
[Operations involved when X20 to X2F designate a value of 150]
Inputs an angle used for
SIN operation ( ).
Converts the input angle into a
64-bit floating-point real number ( ).
Converts the converted angle
into a radian value ( ).
Executes SIN operati
on using the
converted radian value ( )
1
2
3
4
.
Step Instruction Device
64-bit floating-point
real number
X2F
BCD value
0
D30
150
X20
BIN
b15 b0
BIN value
RADD
SIND
150
FLTD
D21
150
D20D23 D22
64-bit floating-point
real number
D11
2.617994
D10D13 D12
64-bit floating-point
real number
D1
0.500000
D0D3 D2
1 Conversion
to BIN
2 Conversion to
floating-point
3 Conversion to radian
4 SIN operation

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