Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 814

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Processing details
• These instructions convert the unit of the measure of angle from the degree specified by (s) to the radian, and store the
angle in radians in the device number specified by (d).
(s)+3
(s)+2
(s)+1
(
Double-precision real number
• Unit conversion from the degree to the radian is performed as follows.
π
Radian = Degree ×
180
• 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
Error code
Description
(SD0)
The value input to (s) is -0, a subnormal number, NaN (not a number), or .
3402H
3403H
The data output from (d) exceeds the following range. (An overflow has occurred.)
|(d)|<2
7 APPLICATION INSTRUCTIONS
812
7.9 Real Number Instructions
(s)
(d)+3
(
Double-precision real number
1024
(d)+2
(d)+1
(d)
) rad

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents