Mitsubishi Electric M800VW Series Programming Manual page 403

Plc programming
Hide thumbs Also See for M800VW Series:
Table of Contents

Advertisement

M800V/M80V Series PLC Programming Manual (1/2)
8 Function Instructions
8.11 Special Function Instructions
DEG, DEGP: Conversion from floating-point radian to angle (single precision)
Setting
Bit devices
data
X
Y
M
L
F
S
D
△ : This is not available with ST.
[Instruction symbol] [Execution condition]
DEG
DEGP
 Setting data
Setting data
Radian angle to be converted to degree units or the first number of the device
S
where the radian angle is stored.
D
The first number of the device to store the value converted to degree units.
 Functions
DEG
 Converts units of angle size from radian units designated by (S) to degree units, and stores the operation result in the
device number designated by (D).
S
+
1
S
(
32-bit floating-point real
number
 Conversion from radian units to degree units is performed using the following equation:
Degree units = Radian units × 180 / π
 When setting input values from programming tools, rounding errors may occur.
For precautions when setting input values from programming tools, refer to "6.3.4 Single/Double-Precision Real Number
Data".
IB-1501667-B
Usable devices
B SB
T SM V
T
C
Command
Command
Meaning
D+1
)
rad
(
32-bit floating-point real
number
Con-
Word devices
stant
D
R/ZR W SW SD
Z
D
°
)
382
Digit
Pointer
designa-
Index
tion
E
P
indicates the sign "DEG".
S
D
P
S
D
Data type
Real number

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents