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