Converting Single-Precision Real Number Radian To Angle - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

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

Advertisement

Converting single-precision real number radian to angle

DEG(P)
RnPCPU
RnPCPU
RnCPU RnENCPU
(Process)
(Redundant)
These instructions convert the unit of the measure of angle from the radian specified by a single-precision real number to the
degree.
Ladder
(s)
(d)
FBD/LD
EN
ENO
s
d
■Execution condition
Instruction
DEG
DEGP
Setting data
■Description, range, data type
Operand
Description
(s)
Angle in radians for which the unit is to be changed to the
degree, or the start device containing the angle in radians
(d)
Start device for storing the value converted in degrees
EN
Execution condition
ENO
Execution result
■Applicable devices
Operand
Bit
X, Y, M, L,
J\
SM, F, B, SB,
FX, FY
(s)
(d)
RnSFCPU RnSFCPU
(Standard)
(Safety)
Execution condition
Word
T, ST, C, D, W,
U\G, J\,
SD, SW, FD, R,
U3E\(H)G
ZR, RD
ST
ENO:=DEG(EN,s,d);
ENO:=DEGP(EN,s,d);
Range
Data type
-126
128
|(s)|<2
0, 2
Single-precision real
number
Single-precision real
number
Bit
Bit
Double word Indirect
Z
LT, LST,
LZ
LC
7 APPLICATION INSTRUCTIONS
Data type (label)
ANYREAL_32
ANYREAL_32
BOOL
BOOL
Constant
Others
specification
K, H E
$
7.9 Real Number Instructions
7
809

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents