EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Page 780

Mitsubishi Electric MELSEC iQ-R Series
2110 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...
778
7 APPLICATION INSTRUCTIONS
7.9 Real Number Instructions
Processing details
These instructions calculate the angle based on the sine data in the device specified by (s), and store the operation result
in the device number specified by (d).
The sine data in the device specified by (s) can be set in the range from -1.0 to 1.0.
The angle (operation result) is stored in radians in the device specified by (d).
If the operation result is -0 or an underflow occurs, the operation result turns out to 0.
When an input value is set using the engineering tool, a rounding error may occur. Refer to the following for the precautions
on setting input values using the engineering tool.
Page 49 Precautions
Operation error
For the angleradian conversion, refer to the RAD(P) and DEG(P) instructions.
Page 807 RAD(P)
Page 809 DEG(P)
Error code
(SD0)
Description
3402H The value input to (s) is -0, a subnormal number, NaN (not a number), or .
3405H The value in the device specified by (s) is out of the range, -1.0 to 1.0.
(s)+1 (s) (d)+1 (d)
SIN
-1
( )
Single-precision real number Single-precision real number

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals