EasyManua.ls Logo

Mitsubishi Electric MELSEC FX Series - Page 502

Mitsubishi Electric MELSEC FX Series
838 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
Loading...
7 Applied Instructions
7.12 Floating Point
500
FXCPU Structured Programming Manual
(Basic & Applied Instruction)
Function and operation explanation
1. 32-bit operation (DASIN/DASINP)
The angle is determined from the SIN value specified by , and the operation result is stored in the device
specified by . In the device specified by , real number can be directly specified.
The SIN value specified by can be set in a range of -1.0 to 1.0.
The angle (operation result) to be stored in the device specified by stores the value of radian (-π/2 to
π/2). As for conversion from radian to angle or vice versa, refer to DRAD instruction or DDEG instruction.
As for DRAD instruction, refer to section 7.12.24.
As for DDEG instruction, refer to section 7.12.25.
Caution
When handling 32-bit data in structured program, you cannot specify 16-bit device directly unlike the simple
project. When handling 32-bit data, please use the label.
However, the 32-bit counter is a 32-bit long device, and can be specified directly.
When specifying the device, use the global label.
Error
In the following cases, it is an operation error, error flag (M8067) is turned ON, and error code is stored in
D8067.
When the value specified by is out of the range of -1.0 to 1.0. (Error code: K6706)
Command
input
DASIN
EN ENO
d
s
+1
Binary floating decimal
point (real number)
+1
Binary floating decimal
point (real number)
SIN
-1
ds s d
Label 1
*1
Label 2
*2
*1. To define the head device for storing
the SIN value for SIN
-1
operation.
*2. To define the device for storing the operation result.

Table of Contents

Other manuals for Mitsubishi Electric MELSEC FX Series

Related product manuals