EasyManuals Logo

Mitsubishi MELSEC-Q/L User Manual

Mitsubishi MELSEC-Q/L
850 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 #511 background imageLoading...
Page #511 background image
509
ASIN, ASINP
1
2
3
4
4
6
7
8
7.12 Special function instructions
7.12.7 ASIN, ASINP
Program Example
(1) The following program performs a TAN operation on the angle data set by the 4 BCD digits from X20 to X2F, and stores
the results as 64-bit floating decimal point type real numbers at D0 to D3.
[Ladder Mode]
[List Mode]
[Operations involved when X20 to X2F designate a value of 135]
: SIN value of which the SIN
-1
(inverse sine) value is obtained or head number of the devices where the SIN value is stored (real number)
: Head number of the devices where the operation result will be stored (real number)
*1: Applicable for the Universal model QCPU, LCPU.
7.12.7 ASIN, ASINP Arc sine o peration on floating-point d ata (Single
precision)
7.12.7
ASIN, ASINP
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn
Constants
E
Other
Bit Word Bit Word
–– ––
*1
––
–– ––
*1
–– ––
Inputs an angle used for TAN
operation ( ).
Converts the input angle into a
64-bit floating-point real number ( ).
Converts the converted angle into a
radian value ( ).
Executes TAN operation
using the
converted radian value ( ).
1
2
3
4
Step Instruction Device
64-bit floating-point
real number
X2F
BCD value
0
D30
135
X20
Conversion
to BIN
BIN
b15
b0
BIN value
Conversion to radian
RADD
TAN operation
TAND
135
Conversion to
floating-point
FLTD
D21
135
D20D23 D22
64-bit floating-point
real number
D21
2.356194
D20D23 D22
64-bit floating-point
real number
D21
-1.000000
D20D23 D22
1
2
3
4
Process
High
performance
Redundant
Universal
LCPU
Basic
Command
Command
ASINP
ASIN
ASINP
ASIN
S
D
S D
S
D
S
D

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

Mitsubishi MELSEC-Q/L Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC-Q/L
CategoryController
LanguageEnglish

Related product manuals