Download Print this page

Mitsubishi Electric MELSEC iQ-F FX5 Programming Manual page 530

Instructions, standard functions/function blocks
Hide thumbs Also See for MELSEC iQ-F FX5:

Advertisement

Processing details
• These instructions convert a unit of angle from degrees (DEG.) specified by (s) into radians, and store the converted angle
in the device specified by (d).
(s)+1
(s)
(
Single-precision real number
• The conversion from degrees into radians is executed as follows:
Radians = Degrees 
180
• The table below shows the related devices.
Device
Name
SM700
Carry
SM8020
Zero
SM8021
Borrow
SM8022
Carry
Operation error
Error code
Description
(SD0/SD8067)
The specified device value is -0, denormalized number, NaN (not a number), or .
3402H
8 APPLICATION INSTRUCTION
528
8.9 Real Number Instruction
(d)+1
)
(
Single-precision real number
Description
Condition
The absolute value of the operation result  2
The operation result is true "0".
(The mantissa part is "0").
The absolute value of the operation result < 2
The absolute value of the operation result  2
(d)
) rad
Operation
128
The value of (d) is the maximum value (2
numbers and the carry flag SM700 turns on.
The zero flag SM8020 turns on.
-126
The value of (d) is the minimum value (2
numbers and the borrow flag SM8021 turns on.
128
The value of (d) is the maximum value (2
numbers and the carry flag SM8022 turns on.
128
) of 32-bit real
-126
) of 32-bit real
128
) of 32-bit real

Hide quick links:

Advertisement

loading